1#ifndef R1D_AM_ITERATOR_H
2#define R1D_AM_ITERATOR_H
12#include <r1d/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)
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.
AmIterator(System &system)
Constructor.
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.
PSCF package top-level namespace.
Utility classes for scientific computation.