Templated base class connecting solver objects and OdeNewton objects.
More...
#include <ode_newton_bridge.h>
|
| | OdeNewtonBridge (unsigned long neq, unsigned long nnew, Integrator *integrator) |
| | constructs
|
| |
| | ~OdeNewtonBridge () |
| | destructs
|
| |
| | OdeNewton (unsigned long n) |
| | constructs
|
| |
| virtual | ~OdeNewton () |
| | destructs
|
| |
| unsigned long | get_n () |
| | gets the size of the system
|
| |
| double | get_tol_Newton () |
| | gets the L infinity tolerance
|
| |
| unsigned long | get_iter_Newton () |
| | gets iteration counter
|
| |
| int | get_iJLU () |
| | gets the LU decomposition interval
|
| |
| unsigned long | get_nJLU () |
| | gets the LU decomposition counter
|
| |
| unsigned long | get_n_solve_LU () |
| | gets the LU solve counter
|
| |
| bool | get_modified () |
| | gets whether modified Newtion's is being used
|
| |
| bool | get_ignore_JLU () |
| | gets whether no LU decompositions should be done
|
| |
| void | set_tol_Newton (double tol_Newton) |
| | sets the L infinity tolerance
|
| |
| void | set_iter_Newton (unsigned long iter_Newton) |
| | sets the iteration counter
|
| |
| void | set_iJLU (int iJLU) |
| | sets the LU decomposition interval
|
| |
| void | set_modified (bool modified) |
| | sets whether modified Newtion's is being used
|
| |
| void | set_ignore_JLU (bool ignore_JLU) |
| | sets whether no LU decompositions should be done
|
| |
| int | solve_Newton (double *x) |
| | Solve the system of equations.
|
| |
|
| void | fun (double *solin, double *fout) |
| | wrapper around system evaluation function
|
| |
| void | jac (double *solin, double **Jout) |
| | wrapper around Jacobian evaluation function
|
| |
| virtual void | f_Newton (double *x, double *f)=0 |
| | evaluates the function being zeroed
|
| |
| virtual void | J_Newton (double *x, double **J)=0 |
| | evaluates the Jacobian matrix of the function being zeroed
|
| |
|
| unsigned long | neq_ |
| | ODE system size.
|
| |
| unsigned long | nnew_ |
| | Newton system size.
|
| |
| Integrator * | integrator_ |
| | storage of a pointer to the solver class
|
| |
| double * | sol_ |
| | pointer to the solver's solution vector
|
| |
| double ** | Jac_ |
| | pointer to the solver's Jacobian matrix
|
| |
| double * | dt_ |
| | pointer to time step member
|
| |
| double * | ftemp_ |
| | temporary values for evaluation of Newton function
|
| |
| double * | soltemp_ |
| | temporary solution values
|
| |
template<class Integrator>
class ode::OdeNewtonBridge< Integrator >
Templated base class connecting solver objects and OdeNewton objects.
Definition at line 17 of file ode_newton_bridge.h.
◆ OdeNewtonBridge()
template<class Integrator >
| ode::OdeNewtonBridge< Integrator >::OdeNewtonBridge |
( |
unsigned long | neq, |
|
|
unsigned long | nnew, |
|
|
Integrator * | integrator ) |
|
inline |
constructs
- Parameters
-
| [in] | neq | size of ODE system |
| [in] | nnew | size of Newton system |
| [in] | integrator | pointer to integrator object |
Definition at line 26 of file ode_newton_bridge.h.
◆ ~OdeNewtonBridge()
template<class Integrator >
◆ fun()
template<class Integrator >
wrapper around system evaluation function
- Parameters
-
| [in] | solin | current value of independent variables |
| [in] | fout | evaluated system of equations |
Definition at line 78 of file ode_newton_bridge.h.
◆ jac()
template<class Integrator >
wrapper around Jacobian evaluation function
- Parameters
-
| [in] | solin | current value of independent variables |
| [in] | Jout | Jacobian |
Definition at line 84 of file ode_newton_bridge.h.
◆ dt_
template<class Integrator >
◆ ftemp_
template<class Integrator >
◆ integrator_
template<class Integrator >
◆ Jac_
template<class Integrator >
◆ neq_
template<class Integrator >
◆ nnew_
template<class Integrator >
◆ sol_
template<class Integrator >
◆ soltemp_
template<class Integrator >
The documentation for this class was generated from the following file: