PSCF v1.4.0
r1d/iterator/Iterator.h
1#ifndef R1D_ITERATOR_H
2#define R1D_ITERATOR_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 <pscf/sweep/ParameterModifier.h> // base class
12#include <util/param/ParamComposite.h> // base class
13#include <r1d/system/SystemAccess.h> // base class
14#include <util/global.h>
15#include <r1d/sweep/Sweep.h>
16
17namespace Pscf {
18namespace R1d
19{
20
21 using namespace Util;
22
28 class Iterator : public ParamComposite, public SystemAccess,
30 {
31
32 public:
33
37 Iterator();
38
45
49 ~Iterator();
50
57 virtual int solve(bool isContinuation = false) = 0;
58
59 };
60
61} // namespace R1d
62} // namespace Pscf
63#endif
Iterator()
Default constructor.
virtual int solve(bool isContinuation=false)=0
Iterate to solution.
SystemAccess()
Default constructor.
const System & system() const
Get parent System by reference.
Main class in SCFT simulation of one system.
ParamComposite()
Constructor.
File containing preprocessor macros for error handling.
SCFT with real 1D fields.
PSCF package top-level namespace.