1#ifndef PSPC_AM_ITERATOR_H
2#define PSPC_AM_ITERATOR_H
12#include <pscf/iterator/AmIteratorTmpl.h>
13#include <pscf/iterator/AmbdInteraction.h>
58 using Iterator<D>::setFlexibleParams;
78 void setup(
bool isContinuation);
142 bool hasInitialGuess();
Template for Anderson mixing iterator algorithm.
int verbose() const
Verbosity level, allowed values 0, 1, or 2.
int solve(bool isContinuation=false)
Iterate to a solution.
Modified interaction to compute residual defn.
Pspc implementation of the Anderson Mixing iterator.
void setup(bool isContinuation)
Setup iterator just before entering iteration loop.
void readParameters(std::istream &in)
Read all parameters and initialize.
Base class for iterative solvers for SCF equations.
Main class for SCFT simulation of one system.
Dynamically allocatable contiguous array template.
FSArrayParam< Type, N > & readOptionalFSArray(std::istream &in, const char *label, FSArray< Type, N > &array, int size)
Add and read an optional FSArray < Type, N > array parameter.
void setClassName(const char *className)
Set class name string.
ScalarParam< Type > & readOptional(std::istream &in, const char *label, Type &value)
Add and read a new optional ScalarParam < Type > object.
Class for storing history of previous values in an array.
C++ namespace for polymer self-consistent field theory (PSCF).
Utility classes for scientific computation.