8 #include "McEnergyAverage.h" A System for use in a Markov chain Monte Carlo simulation.
std::ofstream outputFile_
Output file stream.
McSystem & system()
Return reference to parent system.
Utility classes for scientific computation.
Average accumulator_
Average object - statistical accumulator.
virtual void sample(long iStep)
Calculate, analyze and/or output a physical quantity.
McEnergyAverage(McSystem &system)
Constructor.
AverageAnalyzer averages of total potential energy.
void sample(double value)
Add a sampled value to the ensemble.
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
void setClassName(const char *className)
Set class name string.
bool isAtInterval(long counter) const
Return true iff counter is a multiple of the interval.