101 virtual bool setIndex(
const unsigned int);
129 return (std::string(className) == std::string(
"Cell"));
StructuralComponent * getTriangleFaces()
Return a new structural component directly representing the Cell as a list of quad faces (when possib...
A cell has an unique index in the physical model object, is composed by atoms, and different basic pr...
Definition: Cell.h:41
static unsigned int nextUniqueIndex
unique number (used to generate unique index for atoms if not given at the instanciation) ...
Definition: Cell.h:124
Pure virtual class that represent an element of the structure.
Definition: Structure.h:43
void xmlPrint(std::ostream &, const StructuralComponent *)
print to an output stream in "pseudo" XML format.
StructuralComponent::ComposedBy composedBy()
overloaded from Structural component, always return StructuralComponent::ATOMS
Definition: Cell.h:132
virtual bool isInstanceOf(const char *) const
return true only if the parameter is equal to "MultiComponent"
Definition: Cell.h:128
virtual void deleteAllStructures()
This method overload the one defined in StructuralComponent.
GeometricType
Geometric type gives information about which kind of geometric representation is the structure...
Definition: StructureProperties.h:107
virtual bool setIndex(const unsigned int)
set the index.
ComposedBy
What this structural component is made of.
Definition: StructuralComponent.h:169
double surface()
Compute the surface of the cell.
double volume()
Compute the volume of the cell.
StructuralComponent * getQuadFaces()
Return a new structural component directly representing the Cell as a list of quad faces (when possib...
double * normal()
compute the normal of the facet Warning : Only available for QUAD and TRIANGLE type cells ...
This is the main class of this project.
Definition: PhysicalModel.h:74
CellProperties * getProperties()
return the property
Cell(PhysicalModel *myPM, const StructureProperties::GeometricType t)
constructor that generates a unique index
A structural component is composed either by cell or by atoms.
Definition: StructuralComponent.h:48
This is an automatically generated class for custom Cell properties.
Definition: CellProperties.h:44
the structural component is made of atoms
Definition: StructuralComponent.h:172
virtual ~Cell()
the destructor, my tailor. BECAREFUL: the atoms should not not be deleted here... ...
bool makePrintData(const StructuralComponent *)
is this sc the one that will be the one that will make the cell to print out all its data or is this ...