79 bool isInstanceOf(
const char*)
const override;
87 void deleteAllStructures()
override;
106 bool setIndex(
const unsigned int)
override;
136 double signedVolumeTriangle(
double p1[3],
double p2[3],
double p3[3]);
140 return this->parentSC;
154 return (std::string(className) == std::string(
"Cell"));
A cell has an unique index in the physical model object, is composed by atoms, and different basic pr...
Definition: Cell.h:46
const StructuralComponent * getParentSC()
Get the direct parent structural that own this cell.
Definition: Cell.h:139
bool isInstanceOf(const char *) const override
return true only if the parameter is equal to "MultiComponent"
Definition: Cell.h:153
Pure virtual class that represent an element of the structure.
Definition: Structure.h:43
ComposedBy
What this structural component is made of.
Definition: StructuralComponent.h:173
StructuralComponent * parentSC
Keep a reference to the direct parent structural component.
Definition: Cell.h:148
void addStructuralComponent(StructuralComponent *) override
add a particular StructuralComponent in the list (and set parentSC if null)
Definition: Cell.h:161
This is the main class of this project.
Definition: PhysicalModel.h:86
the structural component is made of atoms
Definition: StructuralComponent.h:176
GeometricType
Geometric type gives information about which kind of geometric representation is the structure...
Definition: StructureProperties.h:107
A structural component is composed either by cell or by atoms.
Definition: StructuralComponent.h:52
Describes and manages the properties attached to cells.
Definition: CellProperties.h:44
StructuralComponent::ComposedBy composedBy() override
overloaded from Structural component, always return StructuralComponent::ATOMS
Definition: Cell.h:157
virtual void addStructuralComponent(StructuralComponent *)
add a particular StructuralComponent in the list
Definition: Structure.h:128