Simpatico  v1.10
IntegratorFactory.h
1 #ifndef DDMD_INTEGRATOR_FACTORY_H
2 #define DDMD_INTEGRATOR_FACTORY_H
3 
4 /*
5 * Simpatico - Simulation Package for Polymeric and Molecular Liquids
6 *
7 * Copyright 2010 - 2017, The Regents of the University of Minnesota
8 * Distributed under the terms of the GNU General Public License.
9 */
10 
11 #include <util/param/Factory.h>
12 #include <ddMd/integrators/Integrator.h>
13 
14 #include <string>
15 
16 namespace DdMd
17 {
18 
19  class Simulation;
20 
21  using namespace Util;
22 
28  class IntegratorFactory : public Factory<Integrator>
29  {
30 
31  public:
32 
34  IntegratorFactory(Simulation& simulation);
35 
42  Integrator* factory(const std::string &speciesName) const;
43 
44  private:
45 
47  Simulation* simulationPtr_;
48 
49  };
50 
51 }
52 #endif
Parallel domain decomposition (DD) MD simulation.
Main object for a domain-decomposition MD simulation.
Factory for subclasses of Integrator (i.e., MD integrators).
An Integrator numerically integrates the equations of motion.
Definition: Integrator.h:29
Utility classes for scientific computation.
Definition: accumulators.mod:1
Factory template.
Definition: Factory.h:32