Heidelberg Educational Numerics Library Version 0.27 (from 15 March 2021)
|
A generic problem class that can be set up with a lambda defining F(x)=0. More...
#include <newton.hh>
Public Types | |
typedef std::size_t | size_type |
export size_type | |
typedef Vec::value_type | number_type |
export number_type | |
Public Member Functions | |
GenericNonlinearProblem (const Lambda &l_, const Vec &x_, number_type eps_=1e-7) | |
constructor stores parameter lambda | |
std::size_t | size () const |
return number of componentes for the model | |
void | F (const Vec &x, Vec &result) const |
model evaluation | |
void | F_x (const Vec &x, DenseMatrix< number_type > &result) const |
jacobian evaluation needed for implicit solvers | |
A generic problem class that can be set up with a lambda defining F(x)=0.