class VisitModelIntraMap : public feasst::VisitModel

Intra-particle interactions are computed here. this does not include bonded interaction energies, but “inter”-like models such as lennard jones but between sites in the same particle (e.g., long chains).

In this implementation, a map for each particle type is precomputed. For a given pair of site indices, the map returns true if the intra interaction is included.


  • exclude_bonds: if true, exclude intra interactions between bonded sites (default: false).

  • exclude_angles: if true, exclude intra interactions between the two extremes of the angle sites (e.g, exclude AC of <ABC) (default: false).

By default, all interactions are included except with self.