|
MolSim
|
Factory class for choosing the simulation to be performed. More...
#include <SimulationFactory.h>
Static Public Member Functions | |
| static std::unique_ptr< Simulation > | createSimulation (ParticleContainer &pc, Arguments &args, Thermostat &t, FlowSimulationAnalyzer &analyzer) |
| Returns a unique pointer to the desired simulation while passing a ParticleContainer as input. | |
Factory class for choosing the simulation to be performed.
|
static |
Returns a unique pointer to the desired simulation while passing a ParticleContainer as input.
| pc | The ParticleContainer to be used for the simulation. |
| args | The program and simulation arguments to be passed to the Simulation constructor. |
| t | The Thermostat used in the simulation. |
| analyzer | The FlowSimulationAnalyzer used in the simulation. |