ModelHardShape

class ModelHardShape : public feasst::ModelOneBody, public feasst::ShapedEntity

Create a cavity of a given shape, where the potential energy outside of the shape is infinite. Optionally set the cavity to false (default: true) to model a hard shape. Shapes are not subject to periodic boundaries, but interact with wrapped site positions.

Arguments

  • Same arguments as ShapeFile.

  • cavity: if true, the potential outside the shape is infinite. if false, the potential inside the shape is infinite (default: true).