Gromacs
2024.4
|
#include <gromacs/energyanalysis/energyanalysisframe.h>
Class describing an energy frame, that is the all the data stored for one energy term at one time step in an energy file.
Public Member Functions | |
EnergyAnalysisFrame (double time, int64_t step, double energyAtTime, int numSteps, double energySumOverNumSteps, double energyVarianceOverNumSteps) | |
Constructor. More... | |
double | time () const |
Return the time. More... | |
int64_t | step () const |
Return the step. More... | |
double | energyAtTime () const |
Return the instantaneous energy. More... | |
int | numSteps () const |
Return the number of statistics points. More... | |
double | energySumOverNumSteps () const |
Return the sum of energies. More... | |
double | energyVarianceOverNumSteps () const |
Return the variance of energies. More... | |
|
inline |
Constructor.
[in] | time | The time |
[in] | step | The MD step |
[in] | energyAtTime | The instantaneous energy |
[in] | numSteps | The number of statistics points |
[in] | energySumOverNumSteps | The sum of energies over previous steps |
[in] | energyVarianceOverNumSteps | The variance over previous steps |
|
inline |
Return the instantaneous energy.
|
inline |
Return the sum of energies.
|
inline |
Return the variance of energies.
|
inline |
Return the number of statistics points.
|
inline |
Return the step.
|
inline |
Return the time.