Simpatico  v1.10
LinkFactory.h
1 #ifndef MCMD_LINK_FACTORY_H
2 #define MCMD_LINK_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 <iostream>
13 
14 namespace McMd
15 {
16 
17  using namespace Util;
18 
19  class System;
20  class BondPotential;
21 
27  class LinkFactory : public Factory<BondPotential>
28  {
29 
30  public:
31 
35  LinkFactory(System& system);
36 
40  BondPotential* factory(const std::string& subclass) const;
41 
42  private:
43 
44  // Pointer to parent System.
45  System* systemPtr_;
46 
47  };
48 
49 }
50 #endif
Factory for subclasses of MdBondPotential or McBondPotential.
Definition: LinkFactory.h:27
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).
Abstract Bond Potential class.
Factory template.
Definition: Factory.h:32