PSCF v1.1
fd1d/sweep/SweepFactory.h
1#ifndef FD1D_SWEEP_FACTORY_H
2#define FD1D_SWEEP_FACTORY_H
3
4/*
5* PSCF - Polymer Self-Consistent Field Theory
6*
7* Copyright 2016 - 2022, 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 "Sweep.h"
13
14#include <string>
15
16namespace Pscf {
17namespace Fd1d {
18
19 using namespace Util;
20
26 class SweepFactory : public Factory<Sweep>
27 {
28
29 public:
30
36 SweepFactory(System& system);
37
44 Sweep* factory(std::string const & className) const;
45
46 private:
47
48 System* systemPtr_;
49
50 };
51
52}
53}
54#endif
Default Factory for subclasses of Sweep.
Sweep * factory(std::string const &className) const
Method to create any Sweep subclass.
Solve a sequence of problems along a line in parameter space.
Main class in SCFT simulation of one system.
Definition: fd1d/System.h:63
Factory template.
Definition: Factory.h:34
C++ namespace for polymer self-consistent field theory (PSCF).
Utility classes for scientific computation.
Definition: accumulators.mod:1