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).
-
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)
-
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).
-
int num_body() const
Return the number of bodies in the model (e.g., two-body/pairwise = 2).
-
double compute(const ModelParams &model_params, const int group_index, Configuration *config, VisitModel *visitor)