|
tfel
|
A class based on the curiously recurring template pattern (CRTP) to solve system of non linear equations using the Broyden algorithm. More...
#include </home/runner/work/tfel/tfel/include/TFEL/Math/TinyBroydenSolver.hxx>
Public Member Functions | |
| TinyBroydenSolver ()=default | |
| default constructor | |
| TinyBroydenSolver (TinyBroydenSolver &) noexcept=default | |
| default constructor | |
| TinyBroydenSolver (TinyBroydenSolver &&) noexcept=default | |
| default constructor | |
| TinyBroydenSolver & | operator= (TinyBroydenSolver &&) noexcept=default |
| default constructor | |
| TinyBroydenSolver & | operator= (const TinyBroydenSolver &) noexcept=default |
| default constructor | |
| ~TinyBroydenSolver () noexcept=default | |
| destructor | |
| TFEL_HOST_DEVICE void | updateJacobian () |
| update the jacobian matrix | |
| TFEL_HOST_DEVICE bool | computeNewCorrection () |
| compute a new correction to the unknowns | |
A class based on the curiously recurring template pattern (CRTP) to solve system of non linear equations using the Broyden algorithm.
| N | size of the system of non linear equations. |
| NumericType | numeric type. |
| Child | base class. |
| ExternalWorkSpace | class containing data members used by the solver. |
By default, the Child class must:
| void tfel::math::TinyBroydenSolver< N, NumericType, Child, ExternalWorkSpace >::updateJacobian | ( | ) |
update the jacobian matrix
This method is called by computeNewCorrection before the updateOrCheckJacobian method of the derived class.