|
Simpatico
v1.10
|
Factory for DihedralPotential objects.
Definition at line 26 of file ddMd/potentials/dihedral/DihedralFactory.h.
#include <DihedralFactory.h>
Public Member Functions | |
| DihedralFactory (Simulation &simulation) | |
| Default constructor. More... | |
| DihedralPotential * | factory (const std::string &subclass) const |
| Return a pointer to a new McDihedralInteration, if possible. More... | |
Public Member Functions inherited from Util::Factory< DihedralPotential > | |
| Factory () | |
| Constructor. More... | |
| virtual | ~Factory () |
| Destructor. More... | |
| void | addSubfactory (Factory< DihedralPotential > &subfactory) |
| Add a new subfactory to the list. More... | |
| DihedralPotential * | readObject (std::istream &in, ParamComposite &parent, std::string &className, bool &isEnd) |
| Read a class name, instantiate an object, and read its parameters. More... | |
| DihedralPotential * | 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< DihedralPotential > | |
| DihedralPotential * | 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::DihedralFactory::DihedralFactory | ( | Simulation & | simulation | ) |
Default constructor.
Definition at line 27 of file ddMd/potentials/dihedral/DihedralFactory.cpp.
|
virtual |
Return a pointer to a new McDihedralInteration, if possible.
Implements Util::Factory< DihedralPotential >.
Definition at line 36 of file ddMd/potentials/dihedral/DihedralFactory.cpp.
References Util::Factory< DihedralPotential >::trySubfactories().
1.8.11