PotentialFactory

class PotentialFactory

A list of potentials.

By default, if one of the potentials returns a large energy, then the rest of the potentials are not calculated. This is the default behavior, which can be disabled with remove_opt_overlap() as done in MayerSampling.