Simpatico  v1.10
MdIntegratorFactory.h
1 #ifndef MCMD_MD_INTEGRATOR_FACTORY_H
2 #define MCMD_MD_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 <mcMd/mdIntegrators/MdIntegrator.h>
13 
14 #include <string>
15 
16 namespace McMd
17 {
18 
19  using namespace Util;
20 
26  class MdIntegratorFactory : public Factory<MdIntegrator>
27  {
28 
29  public:
30 
33 
40  MdIntegrator* factory(const std::string &speciesName) const;
41 
42  private:
43 
45  MdSystem* systemPtr_;
46 
47  };
48 
49 }
50 #endif
Abstract base for molecular dynamics integrators.
Definition: MdIntegrator.h:30
Default Factory for subclasses of MdIntegrator.
Utility classes for scientific computation.
Definition: accumulators.mod:1
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
A System for Molecular Dynamics simulation.
Definition: MdSystem.h:68
Factory template.
Definition: Factory.h:32