ModelTwoBodyFactory

class ModelTwoBodyFactory : public feasst::ModelTwoBody

Contains a collection of two body models. This allows the visitor to consider multiple two body models for each pairwise interaction.

Subclassed by feasst::ModelExpanded

Arguments

  • model[i]: add the i-th model. The “[i]” is to be substituted for an integer 0, 1, 2, …

  • model_file: if not empty, file name that lists the ModelTwoBody (default: empty). The first line is simply ModelTwoBodyFactory. The second line is empty. The remaining lines are for creating each ModelTwoBody.