20 #ifndef JDFTX_ELECTRONIC_IONDYNAMICS_H 21 #define JDFTX_ELECTRONIC_IONDYNAMICS_H 23 #include <electronic/common.h> 24 #include <electronic/Dump.h> 25 #include <electronic/IonicMinimizer.h> 27 #include <core/matrix3.h> 37 double initialPotentialEnergy;
38 double kineticEnergy, potentialEnergy;
39 double pressure, totalMomentumNorm;
40 double totalMass;
int numberOfAtoms;
48 bool report(
double t);
51 void velocitiesInit();
52 void computeMomentum();
53 void computePressure();
54 void computeKineticEnergy();
55 void removeNetDriftVelocity();
56 void removeNetAvgMomentum();
57 void centerOfMassToOrigin();
60 #endif //JDFTX_ELECTRONIC_IONDYNAMICS_H
Definition: IonDynamics.h:30
void run()
Run the simulation.
Definition: IonicMinimizer.h:52
Definition: Everything.h:41
Object to hold all the forces.
Definition: IonicMinimizer.h:31