20 #ifndef JDFTX_ELECTRONIC_IONDYNAMICS_H 21 #define JDFTX_ELECTRONIC_IONDYNAMICS_H 23 #include <electronic/common.h> 24 #include <electronic/IonicMinimizer.h> 26 #include <core/matrix3.h> 31 double initialPotentialEnergy;
32 double kineticEnergy, potentialEnergy;
33 double pressure, totalMomentumNorm;
34 double totalMass;
int numberOfAtoms;
42 void velocitiesInit();
47 bool report(
double t);
53 #endif //JDFTX_ELECTRONIC_IONDYNAMICS_H void computePressure()
Updates pressure.
void computeMomentum()
Calculate totalMomentum and totalMomentumNorm.
void computeKineticEnergy()
Updates kineticEnergy
Definition: IonDynamics.h:29
Definition: IonicMinimizer.h:52
Definition: Everything.h:41
double computeAcceleration(IonicGradient &)
Write acceleration into accel in cartesian coordinates and return relevant energy.
void run()
Run the simulation.
Object to hold all the forces.
Definition: IonicMinimizer.h:31