1 #ifndef MCMD_SPECIAL_FACTORY_H 2 #define MCMD_SPECIAL_FACTORY_H 19 class SpecialPotential;
77 std::vector< SpecialFactory* > subfactories_;
SpecialFactory()
Constructor.
SpecialPotential * tryMdSubfactories(const std::string &className, System &system) const
Search subfactories for match to SpecialPotential subclass name.
A set of interacting Molecules enclosed by a Boundary.
File containing preprocessor macros for error handling.
Specialized potential for an MD simulation.
virtual SpecialPotential * mdFactory(const std::string &subclass, System &system) const
Return a pointer to a new SpecialPotential, if possible.
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
Factory for specialized subclasses of SpecialPotential.
void addSubfactory(SpecialFactory &subfactory)
Add a new subfactory to the list.
virtual ~SpecialFactory()
Destructor.