Energy

class Energy : public feasst::Analyze

Accumulate average energy.

Arguments

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.

const Accumulator &energy() const

Return the energy.