24 #include "DegreeOfFreedom.h" 28 class AtomicStructure;
51 virtual void importValue(
const double*& src)
override;
57 virtual void reset()
override;
Base class for maintaining structures.
Definition: AtomicStructure.h:42
virtual void exportValue(double *&dst) override
Lets the DOF export its current value(s) into the given value array.
Definition: AtomCoordinatesDOF.cpp:58
virtual void importValue(const double *&src) override
Lets the DOF import its value(s) from the given value array.
Definition: AtomCoordinatesDOF.cpp:67
virtual void reset() override
Resets the value of the DOF to what was given in the job file.
Definition: AtomCoordinatesDOF.cpp:41
AtomicStructure * structure() const
Returns the structure to which this DOF belongs.
Definition: AtomCoordinatesDOF.cpp:33
This DOF manages the atomic positions in a structure.
Definition: AtomCoordinatesDOF.h:37
This file collects the definition of classes that define various simple crystal structures.
Definition: Atomicrex.h:67
AtomCoordinatesDOF()
Constructor.
Definition: AtomCoordinatesDOF.h:42
Base class for all degrees of freedom a potential or a structure may have.
Definition: DegreeOfFreedom.h:46
virtual int numScalars() override
Returns the number of scalar degrees of freedom this DOF is composed of.
Definition: AtomCoordinatesDOF.cpp:50