ModelThreeBody

class ModelThreeBody : public feasst::Model

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).

int num_body() const

Return the number of bodies in the model (e.g., two-body/pairwise = 2).