1#ifndef FD1D_AM_ITERATOR_H
2#define FD1D_AM_ITERATOR_H
12#include <fd1d/solvers/Mixture.h>
13#include <pscf/iterator/AmbdInteraction.h>
14#include <pscf/iterator/AmIteratorTmpl.h>
67 void setup(
bool isContinuation);
133 bool hasInitialGuess();
Template for Anderson mixing iterator algorithm.
int solve(bool isContinuation=false)
Iterate to a solution.
Modified interaction to compute residual defn.
Anderson-Mixing iterator.
void readParameters(std::istream &in)
Read all parameters and initialize.
void setup(bool isContinuation)
Setup iterator just before entering iteration loop.
Base class for iterative solvers for SCF equations.
const System & system() const
Get parent System by reference.
Main class in SCFT simulation of one system.
Dynamically allocatable contiguous array template.
Class for storing history of previous values in an array.
C++ namespace for polymer self-consistent field theory (PSCF).
Utility classes for scientific computation.