|
tfel
|
This class implements the Cast3M acceleration algorithm. More...
#include </home/runner/work/tfel/tfel/mtest/include/MTest/UAndersonAccelerationAlgorithm.hxx>
Public Member Functions | |
| UAndersonAccelerationAlgorithm () | |
| default constructor | |
| std::string | getName () const override |
| void | initialize (const unsigned short) override |
| void | setParameter (const std::string &, const std::string &) override |
| void | preExecuteTasks () override |
| void | execute (tfel::math::vector< real > &, const tfel::math::vector< real > &, const tfel::math::vector< real > &, const real, const real, const unsigned short) override |
| void | postExecuteTasks () override |
| ~UAndersonAccelerationAlgorithm () override | |
| destructor | |
| Public Member Functions inherited from mtest::AccelerationAlgorithm | |
| virtual | ~AccelerationAlgorithm () |
| destructor | |
Protected Types | |
| using | Field = tfel::math::vector<real> |
| using | UAnderson = tfel::math::UAnderson<Field, long double> |
Protected Attributes | |
| std::unique_ptr< UAnderson > | a |
| the underlying algorithm | |
| Field * | uO |
| < previous displacement estimate | |
| Field * | uN |
| int | Nmax = -1 |
| method order | |
| int | alMax = -1 |
| alternance order | |
Additional Inherited Members | |
| Static Public Member Functions inherited from mtest::AccelerationAlgorithm | |
| static unsigned short | convertToUnsignedShort (const std::string &, const std::string &) |
| extract an unsigned short from a string | |
This class implements the Cast3M acceleration algorithm.
|
overridevirtual |
| [in,out] | u1 | : current estimate of the unknowns |
| [in] | u0 | : previous estimate of the unknowns |
| [in] | r | : Newton residual |
| [in] | ueps | : criterium on the unknowns |
| [in] | seps | : criterium on the thermodynamic forces |
| [in] | iter | : current iteration number |
Implements mtest::AccelerationAlgorithm.
|
nodiscardoverridevirtual |
Implements mtest::AccelerationAlgorithm.
|
overridevirtual |
| [in] | psz | : total number of unknowns (problem size) |
Implements mtest::AccelerationAlgorithm.
|
overridevirtual |
called at each time step, once convergence is reached
Implements mtest::AccelerationAlgorithm.
|
overridevirtual |
called at each time step, before the beginning of the Newton algorithm
Implements mtest::AccelerationAlgorithm.
|
overridevirtual |
set a parameter of the acceleration algorithm
| [in] | p | : parameter name |
| [in] | v | : parameter value |
Implements mtest::AccelerationAlgorithm.
|
protected |
< previous displacement estimate
current displacement estimate