VisitModel

class VisitModel

See Model for a description of the compute methods. These are mirrored by simply switching the calling object and the first argument (.e.g, Model.compute(Visitor, …) vs Visitor.compute(Model, …)

Subclassed by feasst::DontVisitModel, feasst::Ewald, feasst::LongRangeCorrections, feasst::VisitModelBond, feasst::VisitModelCell, feasst::VisitModelIntra, feasst::VisitModelIntraMap, feasst::VisitModelOptLJ, feasst::VisitModelOptRPM

Public Functions

double energy() const

Return the energy.

void set_energy(const double energy)

Set the energy.

void increment_energy(const double energy)

Increment the energy.

void check_energy(Model *model, Configuration *config, const int group_index = 0)

Test if energy of whole system is consistent with sum of energy of selection by particles.

virtual void change_volume(const double delta_volume, const int dimension)

Change the volume.