Simpatico  v1.10
List of all members | Public Member Functions
DdMd::AngleFactory Class Reference

Detailed Description

Factory for AnglePotential objects.

Definition at line 26 of file ddMd/potentials/angle/AngleFactory.h.

#include <AngleFactory.h>

Inheritance diagram for DdMd::AngleFactory:
Util::Factory< AnglePotential >

Public Member Functions

 AngleFactory (Simulation &simulation)
 Default constructor. More...
 
AnglePotentialfactory (const std::string &subclass) const
 Return a pointer to a new McAngleInteration, if possible. More...
 
- Public Member Functions inherited from Util::Factory< AnglePotential >
 Factory ()
 Constructor. More...
 
virtual ~Factory ()
 Destructor. More...
 
void addSubfactory (Factory< AnglePotential > &subfactory)
 Add a new subfactory to the list. More...
 
AnglePotential * readObject (std::istream &in, ParamComposite &parent, std::string &className, bool &isEnd)
 Read a class name, instantiate an object, and read its parameters. More...
 
AnglePotential * 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< AnglePotential >
AnglePotential * 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

DdMd::AngleFactory::AngleFactory ( Simulation simulation)

Default constructor.

Definition at line 28 of file ddMd/potentials/angle/AngleFactory.cpp.

Member Function Documentation

AnglePotential * DdMd::AngleFactory::factory ( const std::string &  subclass) const
virtual

Return a pointer to a new McAngleInteration, if possible.

Implements Util::Factory< AnglePotential >.

Definition at line 37 of file ddMd/potentials/angle/AngleFactory.cpp.

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


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