1#ifndef RPG_SIMULATOR_FACTORY_H
2#define RPG_SIMULATOR_FACTORY_H
11#include <util/param/Factory.h>
12#include <rpg/fts/simulator/Simulator.h>
19 template <
int D>
class System;
29 class SimulatorFactory :
public Factory< Simulator<D> >
47 Simulator<D>*
factory(
const std::string &className)
const;
54 System<D>* systemPtr_;
58 #ifndef RPG_SIMULATOR_FACTORY_TPP
60 extern template class SimulatorFactory<1>;
61 extern template class SimulatorFactory<2>;
62 extern template class SimulatorFactory<3>;
SimulatorFactory(System< D > &system)
Constructor.
Simulator< D > * factory(const std::string &className) const
Method to create any Simulator supplied with PSCF.
Simulator< D > * trySubfactories(const std::string &className) const
PSCF package top-level namespace.
Utility classes for scientific computation.