RadiusOfGyration

class RadiusOfGyration : public feasst::Analyze

Accumulate average radius of gyration assuming unit mass for all sites.

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 &radius_of_gyration() const

Return the radius of gyration.

const std::shared_ptr<Histogram> histogram() const

Return the histogram of the radius of gyration.

const Accumulator &rg_e() const

Return the accumulator for radius of gyration times the energy for extrapolation.

Arguments

  • group_index: index of the Configuration::group (default: 0).

  • print_histogram: if true, print histogram (default: false).

  • Histogram arguments.

  • Stepper arguments.