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 | |
void | debug () |
print on stdout | |
Facet (unsigned int size, unsigned int id[]) | |
create a facet using size nodes and their indexes | |
Facet (unsigned int size, unsigned int id[]) | |
create a facet using size nodes and their indexes | |
Cell * | getCell (PhysicalModel *) const |
return the corresponding PML cell | |
Cell * | getCell (PhysicalModel *) const |
return the corresponding PML cell | |
unsigned int | getUsed () const |
get the number of time it is being used | |
unsigned int | getUsed () const |
get the number of time it is being used | |
bool | testEquivalence (unsigned int size, unsigned int id[]) |
if it is the same (equivalent) facet, increment used (return true if equivalence) | |
bool | testEquivalence (unsigned int size, unsigned int id[]) |
if it is the same (equivalent) facet, increment used (return true if equivalence) | |
virtual | ~Facet () |
destructor | |
virtual | ~Facet () |
destructor | |
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)