41 Facet(
unsigned int size,
unsigned int id[]);
60 bool isIn(
unsigned int)
const;
72 #endif // TOOLS_FACET_H A cell has an unique index in the physical model object, is composed by atoms, and different basic pr...
Definition: Cell.h:46
Cell * getCell(PhysicalModel *) const
return the corresponding PML cell
Definition: Facet.cpp:93
virtual ~Facet()
destructor
Definition: Facet.cpp:43
unsigned int getUsed() const
get the number of time it is being used
Definition: Facet.cpp:120
bool testEquivalence(unsigned int size, unsigned int id[])
if it is the same (equivalent) facet, increment used (return true if equivalence) ...
Definition: Facet.cpp:68
unsigned int size
nr of atoms composing the facet (3 = triangle, 4 = quad)
Definition: Facet.h:66
bool isIn(unsigned int) const
is this atom index present in this facet (no check on the order)
Definition: Facet.cpp:85
Class facet to hold and compare facet This class is used for the extraction of external surface durin...
Definition: Facet.h:38
This is the main class of this project.
Definition: PhysicalModel.h:86
unsigned int used
nr of times the facet is used
Definition: Facet.h:69
void debug()
print on stdout
Definition: Facet.cpp:48
unsigned int * id
the facet atom indexes
Definition: Facet.h:63
Facet(unsigned int size, unsigned int id[])
create a facet using size nodes and their indexes
Definition: Facet.cpp:34