ModelSquareWellShape

class ModelSquareWellShape : public feasst::ModelOneBody, public feasst::ShapedEntity

Note that the input shape of this model represents the shape of the cavity.

The sigma parameter is the hard sphere. The cutoff is the range of the attraction. The epsilon parameter is the well depth.

Public Functions

double energy(const Position &wrapped_site, const Site &site, const Configuration &config, const ModelParams &model_params)

Return the energy given the wrapped coordinates, site, config and params.

void serialize(std::ostream &ostr) const

Output a serialized version of the existing model.