8 #include "McCommandFactory.h" 10 #include <mcMd/mcSimulation/McSimulation.h> 11 #include <mcMd/mcSimulation/McSystem.h> 14 #include <mcMd/commands/McDeformCommand.h> 26 : simulationPtr_(&simulation),
41 if (className ==
"McDeformCommand") {
A System for use in a Markov chain Monte Carlo simulation.
McSystem & system() const
Return reference to parent McSystem.
virtual Command * factory(const std::string &className) const
Return pointer to a new Command object.
A Monte-Carlo simulation of one McSystem.
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).
McCommandFactory(McSimulation &simulation, McSystem &system)
Constructor.