Simpatico  v1.10
ddMd/configIos/ConfigIoFactory.h
1 #ifndef DDMD_CONFIG_IO_FACTORY_H
2 #define DDMD_CONFIG_IO_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 <ddMd/configIos/ConfigIo.h>
13 
14 #include <string>
15 
16 namespace DdMd
17 {
18 
19  using namespace Util;
20  class Simulation;
21 
25  class ConfigIoFactory : public Factory<ConfigIo>
26  {
27 
28  public:
29 
31  ConfigIoFactory(Simulation& simulation);
32 
49  ConfigIo* factory(const std::string &subclassName) const;
50 
51  private:
52 
54  Simulation* simulationPtr_;
55 
56  };
57 
58 }
59 #endif
Default Factory for subclasses of ConfigIo.
Parallel domain decomposition (DD) MD simulation.
Main object for a domain-decomposition MD simulation.
Utility classes for scientific computation.
Definition: accumulators.mod:1
Abstract reader/writer for configuration files.
Factory template.
Definition: Factory.h:32