|
tfel
|
A class based on the curiously recurring template pattern (CRTP) to solve system of non linear equations using the second Broyden algorithm. More...
#include </home/runner/work/tfel/tfel/include/TFEL/Math/TinyBroyden2Solver.hxx>
Public Member Functions | |
| TinyBroyden2Solver ()=default | |
| default constructor | |
| TinyBroyden2Solver (TinyBroyden2Solver &) noexcept=default | |
| default constructor | |
| TinyBroyden2Solver (TinyBroyden2Solver &&) noexcept=default | |
| default constructor | |
| TinyBroyden2Solver & | operator= (TinyBroyden2Solver &&) noexcept=default |
| default constructor | |
| TinyBroyden2Solver & | operator= (const TinyBroyden2Solver &) noexcept=default |
| default constructor | |
| TFEL_HOST_DEVICE void | updateJacobianInvert () |
| update the inverse of the jacobian matrix | |
| TFEL_HOST_DEVICE bool | computeNewCorrection () |
| compute a new correction to the unknowns | |
| ~TinyBroyden2Solver () noexcept=default | |
| destructor | |
A class based on the curiously recurring template pattern (CRTP) to solve system of non linear equations using the second 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::TinyBroyden2Solver< N, NumericType, Child, ExternalWorkSpace >::updateJacobianInvert | ( | ) |
update the inverse of the jacobian matrix
This method is called by computeNewCorrection before the updateOrCheckJacobian method of the derived class.