|
tfel
|
Weights for the Anderson accelation algorithm. More...
#include </home/runner/work/tfel/tfel/include/TFEL/Math/AccelerationAlgorithms/AndersonBase.hxx>
Public Types | |
| using | size_type = unsigned char |
| a simple alias | |
| using | Allocator = std::function<Field*()> |
| memory allocator | |
Public Member Functions | |
| AndersonBase (const Allocator) | |
| constructor | |
| const std::vector< Field * > & | getU () const |
| const std::vector< Field * > & | getD () const |
| void | setAnderson (const size_type, const size_type) |
| Set Anderson algorithm. | |
| virtual | ~AndersonBase () |
| Destructor. | |
Protected Member Functions | |
| void | alloc () |
| Memory allocation. | |
| size_type | size () const |
| void | reset () |
| Reseting the Covariance matrix with a new vector. | |
Protected Attributes | |
| anderson::CovarianceMatrix< real > | cM |
| Covariance matrix. | |
| std::vector< Field * > | u |
| Deplacement Fields. | |
| std::vector< Field * > | D |
| Allocator | ma |
| memory allocator | |
| size_type | n = size_type{} |
| Number of stored solutions. | |
| std::vector< real > | w |
| Anderson weights. | |
| size_type | alt = 0 |
| size_type | alMax = 0 |
Weights for the Anderson accelation algorithm.
| void tfel::math::AndersonBase< Field, real >::setAnderson | ( | const size_type | Nmax_i, |
| const size_type | alMax_i ) |
Set Anderson algorithm.
| Nmax | method order |
| alMax | alternance order |
|
nodiscardprotected |
|
protected |
Result fields
|
protected |
Number of stored solutions.
Number of stored displacement fields