26#ifndef ATOMPROPERTIES_H
27#define ATOMPROPERTIES_H
81 virtual void xmlPrint(std::ostream&);
95 void setPosition(
const double,
const double,
const double);
109 static unsigned int maxUniqueIndex;
static void resetUniqueIndex()
Reinitialize the unique index to zero (usually that what you want to do when you start to load a new ...
Definition AtomProperties.cpp:36
AtomProperties(PhysicalModel *myPM)
Default constructor : set the position to the origin, and generate an unique index.
Definition AtomProperties.cpp:44
void setPositionPointer(double *ptr, bool update=true)
change the position pointer.
Definition AtomProperties.cpp:106
void getPosition(double pos[3]) const
get the position of the atom (array of 3 doubles)
Definition AtomProperties.h:125
~AtomProperties() override
the destructor...
Definition AtomProperties.cpp:93
void setPosition(const double[3])
set the position of the atom
Definition AtomProperties.h:131
virtual void xmlPrint(std::ostream &)
print to an output stream in "pseudo" XML format.
Definition AtomProperties.cpp:129
This is the main class of this project.
Definition PhysicalModel.h:86
StructureProperties(PhysicalModel *, const GeometricType)
the only default constructor : type must be set
Definition StructureProperties.cpp:29