Simpatico  v1.10
List of all members | Public Member Functions
McMd::MdIntegratorFactory Class Reference

Detailed Description

Default Factory for subclasses of MdIntegrator.

See also
Molecular Dynamics Integrators

Definition at line 26 of file MdIntegratorFactory.h.

#include <MdIntegratorFactory.h>

Inheritance diagram for McMd::MdIntegratorFactory:
Util::Factory< MdIntegrator >

Public Member Functions

 MdIntegratorFactory (MdSystem &system)
 Constructor. More...
 
MdIntegratorfactory (const std::string &speciesName) const
 Method to create any species supplied with Simpatico. More...
 
- Public Member Functions inherited from Util::Factory< MdIntegrator >
 Factory ()
 Constructor. More...
 
virtual ~Factory ()
 Destructor. More...
 
void addSubfactory (Factory< MdIntegrator > &subfactory)
 Add a new subfactory to the list. More...
 
MdIntegrator * readObject (std::istream &in, ParamComposite &parent, std::string &className, bool &isEnd)
 Read a class name, instantiate an object, and read its parameters. More...
 
MdIntegrator * 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< MdIntegrator >
MdIntegrator * 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...
 

Constructor & Destructor Documentation

McMd::MdIntegratorFactory::MdIntegratorFactory ( MdSystem system)

Constructor.

Definition at line 25 of file MdIntegratorFactory.cpp.

Member Function Documentation

MdIntegrator * McMd::MdIntegratorFactory::factory ( const std::string &  speciesName) const
virtual

Method to create any species supplied with Simpatico.

Parameters
speciesNamename of the MdIntegrator subclass
Returns
MdIntegrator* pointer to new instance of speciesName

Implements Util::Factory< MdIntegrator >.

Definition at line 32 of file MdIntegratorFactory.cpp.

References Util::Factory< MdIntegrator >::trySubfactories().


The documentation for this class was generated from the following files: