Class facet to hold and compare facet This class is used for the extraction of external surface during importation of simulator specific files. More...
#include <Facet.h>
Public Member Functions | |
void | debug () |
print on stdout More... | |
void | debug () |
print on stdout More... | |
Facet (unsigned int size, unsigned int id[]) | |
create a facet using size nodes and their indexes More... | |
Facet (unsigned int size, unsigned int id[]) | |
create a facet using size nodes and their indexes More... | |
Cell * | getCell (PhysicalModel *) const |
return the corresponding PML cell More... | |
Cell * | getCell (PhysicalModel *) const |
return the corresponding PML cell More... | |
unsigned int | getUsed () const |
get the number of time it is being used More... | |
unsigned int | getUsed () const |
get the number of time it is being used More... | |
bool | testEquivalence (unsigned int size, unsigned int id[]) |
if it is the same (equivalent) facet, increment used (return true if equivalence) More... | |
bool | testEquivalence (unsigned int size, unsigned int id[]) |
if it is the same (equivalent) facet, increment used (return true if equivalence) More... | |
virtual | ~Facet () |
destructor More... | |
virtual | ~Facet () |
destructor More... | |
Class facet to hold and compare facet This class is used for the extraction of external surface during importation of simulator specific files.
Class facet to old and compare facet.
Facet::Facet | ( | unsigned int | size, |
unsigned int | id[] | ||
) |
create a facet using size nodes and their indexes
|
virtual |
destructor
Facet::Facet | ( | unsigned int | size, |
unsigned int | id[] | ||
) |
create a facet using size nodes and their indexes
|
virtual |
destructor
void Facet::debug | ( | ) |
print on stdout
void Facet::debug | ( | ) |
print on stdout
Cell * Facet::getCell | ( | PhysicalModel * | pm | ) | const |
return the corresponding PML cell
References a, StructuralComponent::addStructureIfNotIn(), PhysicalModel::getAtom(), StructureProperties::QUAD, and StructureProperties::TRIANGLE.
Cell* Facet::getCell | ( | PhysicalModel * | ) | const |
return the corresponding PML cell
unsigned int Facet::getUsed | ( | ) | const |
get the number of time it is being used
unsigned int Facet::getUsed | ( | ) | const |
get the number of time it is being used
bool Facet::testEquivalence | ( | unsigned int | size, |
unsigned int | id[] | ||
) |
if it is the same (equivalent) facet, increment used (return true if equivalence)
bool Facet::testEquivalence | ( | unsigned int | size, |
unsigned int | id[] | ||
) |
if it is the same (equivalent) facet, increment used (return true if equivalence)