ModelTwoBody

class ModelTwoBody : public feasst::Model

Subclassed by feasst::ChargeScreened, feasst::ChargeScreenedIntra, feasst::Coulomb, feasst::HardSphere, feasst::IdealGas, feasst::LennardJones, feasst::ModelExample, feasst::ModelTwoBodyFactory, feasst::PairDistributionInner, feasst::SquareWell, feasst::Yukawa

Public Functions

double compute(const ModelParams &model_params, const int group_index, Configuration *config, VisitModel *visitor)

Visit the model over the entire configuration.

double compute(const ModelParams &model_params, Configuration *config, VisitModel *visitor)

Same as above, except the group index is assumed to be zero (which is all particles and sites in the configuration).

double compute(const ModelParams &model_params, const Select &selection, const int group_index, Configuration *config, VisitModel *visitor)

Visit the model over a selection of the configuration. Optionally, restrict to groups of given index, which is only relevant for multibody models (e.g., two body and not one body).

double compute(const ModelParams &model_params, const Select &selection, Configuration *config, VisitModel *visitor)

Same as above, except the group index is assumed to be zero (which is all particles and sites in the configuration)