PSCF v1.5.0
r1/sweep/SweepFactory.h
1#ifndef R1_SWEEP_FACTORY_H
2#define R1_SWEEP_FACTORY_H
3
4/*
5* PSCF - Polymer Self-Consistent Field
6*
7* Copyright 2015 - 2026, David Morse (morse012@um.edu) and co-authors
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 R1 {
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
SweepFactory(System &system)
Constructor.
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.
SCFT with real 1D fields.
PSCF package top-level namespace.