MacrostatePosition

class MacrostatePosition : public feasst::Macrostate

Defines the macrostate to be the position of a site on a particule in a dimension.

Public Functions

MacrostatePosition(const Histogram &histogram, argtype args = argtype())

Arguments as described above, but with explicit histogram object.

double value(const System &system, const Criteria &criteria, const Acceptance &acceptance) const

Return the current value of the macrostate.

Arguments

  • particle_index: index of particle (default: 0).

  • site_index: index of site (default: 0).

  • dimension: dimension of position (default: 0).

  • Macrostate arguments.