Simpatico  v1.10
mcMd/potentials/angle/AngleFactory.h
1 #ifndef MCMD_ANGLE_FACTORY_H
2 #define MCMD_ANGLE_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 
13 #include <iostream>
14 
15 namespace McMd
16 {
17 
18  using namespace Util;
19 
20  class System;
21  class AnglePotential;
22 
28  class AngleFactory : public Factory<AnglePotential>
29  {
30 
31  public:
32 
36  AngleFactory(System& system);
37 
41  AnglePotential* factory(const std::string& subclass) const;
42 
43  private:
44 
45  // Pointer to parent system.
46  System* systemPtr_;
47 
48  };
49 
50 }
51 
52 #endif // ifndef ANGLE_FACTORY_H
Interface for a Angle Interaction.
A set of interacting Molecules enclosed by a Boundary.
Definition: System.h:115
Utility classes for scientific computation.
Definition: accumulators.mod:1
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
Factory template.
Definition: Factory.h:32
Factory for subclasses of AnglePotential.