MacrostateNumParticles

class MacrostateNumParticles : public feasst::Macrostate

Defines the macrostate to be the total number of particles in the system.

Public Functions

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

args:

  • particle_type: number of particles of type. If -1 (default), count all types.

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

Return the current value of the macrostate.