#include <anderson_accelerator.hpp>
|
| using | Core = peclet::core::solver::AndersonCore |
|
| | AndersonAccelerator (Solver< Grid > &solver, int window=5, double mixing=1.0) |
| | Builds the march state (throws std::runtime_error on a refused configuration, §5.3) and allocates the history ((2m+3)·n_s·8·n_pad bytes, §6.3; throws std::runtime_error naming the bytes when it does not fit).
|
| | AndersonAccelerator (const AndersonAccelerator &)=delete |
| AndersonAccelerator & | operator= (const AndersonAccelerator &)=delete |
| void | step (bool accelerate) |
| | One map evaluation (§4.3): the lazy mix when accelerate and a mix is pending, then solver.step().
|
| const char * | statusName () const |
| const std::string & | reason () const |
| double | residual () const |
| | Relative velocity residual of the last evaluation (design §3.2); +inf before the first.
|
| int | numRestarts () const |
| int | numResets () const |
| int | numColumns () const |
| int | window () const |
| double | mixing () const |
| std::size_t | memoryBytes () const |
| | Bytes of the history (= Core::memoryBytesFor(window, n_s, n_pad), design §6.3).
|
| double | seconds () const |
| | Cumulative wall time spent in the accelerator, solver.step() excluded (device-fenced at both ends of each part; the instrument of gate G8), seconds, this rank.
|
| void | reset () |
| void | disable () |
| const Core & | core () const |
| | The core itself (tests: γ, engagement, the descriptor).
|
template<class Grid>
class AndersonAccelerator< Grid >
Definition at line 40 of file anderson_accelerator.hpp.
◆ Core
◆ AndersonAccelerator() [1/2]
Builds the march state (throws std::runtime_error on a refused configuration, §5.3) and allocates the history ((2m+3)·n_s·8·n_pad bytes, §6.3; throws std::runtime_error naming the bytes when it does not fit).
Collective under MPI.
Definition at line 47 of file anderson_accelerator.hpp.
◆ AndersonAccelerator() [2/2]
◆ operator=()
◆ step()
One map evaluation (§4.3): the lazy mix when accelerate and a mix is pending, then solver.step().
Collective under MPI.
Definition at line 121 of file anderson_accelerator.hpp.
◆ statusName()
◆ reason()
◆ residual()
Relative velocity residual of the last evaluation (design §3.2); +inf before the first.
Definition at line 61 of file anderson_accelerator.hpp.
◆ numRestarts()
◆ numResets()
◆ numColumns()
◆ window()
◆ mixing()
◆ memoryBytes()
Bytes of the history (= Core::memoryBytesFor(window, n_s, n_pad), design §6.3).
Definition at line 68 of file anderson_accelerator.hpp.
◆ seconds()
Cumulative wall time spent in the accelerator, solver.step() excluded (device-fenced at both ends of each part; the instrument of gate G8), seconds, this rank.
Definition at line 71 of file anderson_accelerator.hpp.
◆ reset()
◆ disable()
◆ core()
The documentation for this class was generated from the following file: