8 #include "MdCommandFactory.h" 10 #include <mcMd/mdSimulation/MdSimulation.h> 11 #include <mcMd/mdSimulation/MdSystem.h> 14 #include <mcMd/commands/MdDeformCommand.h> 26 : simulationPtr_(&simulation),
41 if (className ==
"MdDeformCommand") {
MdCommandFactory(MdSimulation &simulation, MdSystem &system)
Constructor.
Command * trySubfactories(const std::string &className) const
Search through subfactories for match.
Utility classes for scientific computation.
Command is an object that can be invoked from the command script.
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
A System for Molecular Dynamics simulation.
virtual Command * factory(const std::string &className) const
Return pointer to a new Command object.
MdSystem & system() const
Return reference to parent MdSystem.
A molecular dynamics simulation of a single MdSystem.