HeatCapacity
-
class HeatCapacity : public feasst::Analyze
Accumulate average heat capacity, C, per Boltzmann constant ( \(k_B\)), as computed from the fluctuation in the energy, U,
\( C/k_B = \beta^2 (\langle U^2 \rangle - \langle U \rangle^2) \).
Note that the heat capacity can also be computed from the moments output by Energy.
Public Functions
-
std::string header(const MonteCarlo &mc) const
Return the header for writing.
-
void initialize(MonteCarlo *mc)
Initialize and precompute before trials.
-
void update(const MonteCarlo &mc)
Perform update action.
-
std::string write(const MonteCarlo &mc)
Perform write action.
Arguments
Stepper arguments.
-
std::string header(const MonteCarlo &mc) const