Simpatico  v1.10
SpeciesFactory.h
1 #ifndef MCMD_SPECIES_FACTORY_H
2 #define MCMD_SPECIES_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 <simp/species/Species.h>
13 
14 #include <string>
15 
16 namespace McMd
17 {
18 
19  using namespace Util;
20  using namespace Simp;
21 
25  class SpeciesFactory : public Factory<Simp::Species>
26  {
27 
28  public:
29 
36  Simp::Species* factory(const std::string &speciesName) const;
37 
38  };
39 
40 }
41 #endif
Default Factory for subclasses of Species.
Classes used by all simpatico molecular simulations.
Utility classes for scientific computation.
Definition: accumulators.mod:1
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
Factory template.
Definition: Factory.h:32
A Species represents a set of chemically similar molecules.