1 #ifndef MCMD_PAIR_FACTORY_H 2 #define MCMD_PAIR_FACTORY_H 20 class MdPairPotential;
21 class McPairPotential;
114 std::vector< PairFactory* > subfactories_;
A PairPotential for MC simulations (abstract).
Factory for subclasses MdPairPotential or McPairPotential.
A set of interacting Molecules enclosed by a Boundary.
File containing preprocessor macros for error handling.
virtual ~PairFactory()
Destructor.
void addSubfactory(PairFactory &subfactory)
Add a new subfactory to the list.
virtual McPairPotential * mcFactory(const std::string &subclass, System &system) const
Return a pointer to a new McPairPotential, if possible.
virtual MdPairPotential * mdFactory(const std::string &subclass, System &system) const
Return a pointer to a new McPairPotential, if possible.
An PairPotential for MD simulation.
MdPairPotential * tryMdSubfactories(const std::string &className, System &system) const
Search subfactories for match to MdPairPotential subclass name.
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
McPairPotential * tryMcSubfactories(const std::string &className, System &system) const
Search subfactories for match to McPairPotential subclass name.
PairFactory()
Constructor.