PSCF v1.1
fd1d/iterator/Iterator.h
1#ifndef FD1D_ITERATOR_H
2#define FD1D_ITERATOR_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/ParamComposite.h> // base class
12#include <fd1d/SystemAccess.h> // base class
13#include <util/global.h>
14
15namespace Pscf {
16namespace Fd1d
17{
18
19 using namespace Util;
20
26 class Iterator : public ParamComposite, public SystemAccess
27 {
28
29 public:
30
34 Iterator();
35
42
46 ~Iterator();
47
54 virtual int solve(bool isContinuation = false) = 0;
55
56 };
57
58} // namespace Fd1d
59} // namespace Pscf
60#endif
Base class for iterative solvers for SCF equations.
Iterator()
Default constructor.
Definition: Iterator.cpp:19
~Iterator()
Destructor.
Definition: Iterator.cpp:26
virtual int solve(bool isContinuation=false)=0
Iterate to solution.
Concise accesss to an associated System.
Definition: SystemAccess.h:28
const System & system() const
Get parent System by reference.
Definition: SystemAccess.h:158
Main class in SCFT simulation of one system.
Definition: fd1d/System.h:63
An object that can read multiple parameters from file.
File containing preprocessor macros for error handling.
C++ namespace for polymer self-consistent field theory (PSCF).
Utility classes for scientific computation.
Definition: accumulators.mod:1