PSCF v1.3
r1d/iterator/IteratorFactory.h
1#ifndef R1D_ITERATOR_FACTORY_H
2#define R1D_ITERATOR_FACTORY_H
3
4/*
5* PSCF - Polymer Self-Consistent Field
6*
7* Copyright 2015 - 2025, 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 <r1d/iterator/Iterator.h>
13#include <r1d/System.h>
14
15#include <string>
16
17namespace Pscf {
18namespace R1d {
19
20 using namespace Util;
21
30 class IteratorFactory : public Factory<Iterator>
31 {
32
33 public:
34
40 IteratorFactory(System& system);
41
48 Iterator* factory(const std::string &className) const;
49
51
52 private:
53
55 System* sysPtr_;
56
57 };
58
59
60}
61}
62#endif
IteratorFactory(System &system)
Constructor.
Iterator * factory(const std::string &className) const
Method to create any Iterator supplied with PSCF.
Base class for iterative solvers for SCF equations.
Main class in SCFT simulation of one system.
Definition r1d/System.h:65
Iterator * trySubfactories(const std::string &className) const
Definition Factory.h:425
SCFT with real 1D fields.
PSCF package top-level namespace.
Definition param_pc.dox:1