|
Simpatico
v1.10
|
Factory for subclasses of Integrator (i.e., MD integrators).
Definition at line 28 of file IntegratorFactory.h.
#include <IntegratorFactory.h>
Public Member Functions | |
| IntegratorFactory (Simulation &simulation) | |
| Constructor. More... | |
| Integrator * | factory (const std::string &speciesName) const |
| Method to create any species supplied with Simpatico. More... | |
Public Member Functions inherited from Util::Factory< Integrator > | |
| Factory () | |
| Constructor. More... | |
| virtual | ~Factory () |
| Destructor. More... | |
| void | addSubfactory (Factory< Integrator > &subfactory) |
| Add a new subfactory to the list. More... | |
| Integrator * | readObject (std::istream &in, ParamComposite &parent, std::string &className, bool &isEnd) |
| Read a class name, instantiate an object, and read its parameters. More... | |
| Integrator * | loadObject (Serializable::IArchive &ar, ParamComposite &parent, std::string &className) |
| Load a class name, instantiate an object, and load the object. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Util::Factory< Integrator > | |
| Integrator * | trySubfactories (const std::string &className) const |
| Search through subfactories for match. More... | |
| void | setIoCommunicator (MPI::Intracomm &communicator) |
| Set associated Mpi communicator. More... | |
| bool | hasIoCommunicator () const |
| Does this factory have a param communicator? More... | |
| DdMd::IntegratorFactory::IntegratorFactory | ( | Simulation & | simulation | ) |
Constructor.
Definition at line 25 of file IntegratorFactory.cpp.
|
virtual |
Method to create any species supplied with Simpatico.
| speciesName | name of the Integrator subclass |
Implements Util::Factory< Integrator >.
Definition at line 32 of file IntegratorFactory.cpp.
References Util::Factory< Integrator >::trySubfactories().
1.8.11