92 void setPosition(
const double ,
const double ,
const double );
100 virtual bool setIndex(
const unsigned int);
virtual bool setIndex(const unsigned int)
set the index.
Pure virtual class that represent an element of the structure.
Definition: Structure.h:43
virtual bool isInstanceOf(const char *) const
return true only if the parameter is equal to "Atom"
Definition: Atom.h:127
void setPosition(const double[3])
set the position of the atom
Definition: BasicAtomProperties.h:132
unsigned int getIndexInAtoms() const
get the index of this atom in the global atom structural component, i.e. its order number in atoms ...
StructureProperties * properties
Property of the current structure.
Definition: Structure.h:99
void getPosition(double pos[3]) const
get the position of the atom (array of 3 doubles)
Definition: BasicAtomProperties.h:128
void xmlPrint(std::ostream &, const StructuralComponent *)
print to an output stream in "pseaudo" XML format.
This is an automatically generated class for custom Atom properties.
Definition: AtomProperties.h:45
An atom has an unique index in the physical model object, a 3D position, and different basic properti...
Definition: Atom.h:44
This is the main class of this project.
Definition: PhysicalModel.h:74
Atom(PhysicalModel *myPM)
Default constructor : set the position to the origin, generate a unique index.
string(REGEX REPLACE"^.*-(.*)-.*""\\1"ARCH"${CAMITK_CONTINUOUS_INTEGRATION}") string(REGEX REPLACE"^.*-.*-(.*)""\\1"BUILDTYPE"$
Definition: continuous.cmake:34
A structural component is composed either by cell or by atoms.
Definition: StructuralComponent.h:48
AtomProperties * getProperties() const
Get a ptr to the AtomProperties.
Definition: Atom.h:130
void getPosition(double pos[3]) const
get the position of the atom (array of 3 doubles)
Definition: Atom.h:116
void setPosition(const double[3])
set the position of the atom
Definition: Atom.h:120
unsigned int indexInAtoms
Definition: Atom.h:112