Simpatico  v1.10
McPerturbationFactory.h
1 #ifndef MCMD_MC_PERTURBATION_FACTORY_H
2 #define MCMD_MC_PERTURBATION_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/perturb/Perturbation.h>
13 
14 #include <string>
15 
16 namespace McMd
17 {
18 
19  using namespace Util;
20  class McSystem;
21 
27  class McPerturbationFactory : public Factory<Perturbation>
28  {
29 
30  public:
31 
38 
45  Perturbation* factory(const std::string &className) const;
46 
47  private:
48 
49  McSystem* systemPtr_;
50 
51  };
52 
53 }
54 
55 #endif
A System for use in a Markov chain Monte Carlo simulation.
Definition: McSystem.h:52
Utility classes for scientific computation.
Definition: accumulators.mod:1
Default Factory for subclasses of Perturbation.
Model of parameter dependence in a free energy perturbation theory.
Definition: Perturbation.h:39
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
Factory template.
Definition: Factory.h:32