libode
Easy to compile, fast ODE integrators as C++ classes
Loading...
Searching...
No Matches
ode::NewtonGeng5 Class Reference

Nonlinear system solver for OdeGeng5. More...

#include <ode_geng_5.h>

Inheritance diagram for ode::NewtonGeng5:
ode::OdeNewtonIRK< OdeGeng5 > ode::OdeNewtonBridge< Integrator > ode::OdeNewton

Public Member Functions

 NewtonGeng5 (unsigned long neq, unsigned long nnew, OdeGeng5 *integrator)
 constructs
 
- Public Member Functions inherited from ode::OdeNewtonIRK< OdeGeng5 >
 OdeNewtonIRK (unsigned long neq, int nk, OdeGeng5 *integrator)
 constructs
 
- Public Member Functions inherited from ode::OdeNewtonBridge< Integrator >
 OdeNewtonBridge (unsigned long neq, unsigned long nnew, Integrator *integrator)
 constructs
 
 ~OdeNewtonBridge ()
 destructs
 
- Public Member Functions inherited from ode::OdeNewton
 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.
 

Additional Inherited Members

- Protected Member Functions inherited from ode::OdeNewtonBridge< Integrator >
void fun (double *solin, double *fout)
 wrapper around system evaluation function
 
void jac (double *solin, double **Jout)
 wrapper around Jacobian evaluation function
 
- Protected Attributes inherited from ode::OdeNewtonIRK< OdeGeng5 >
int nk_
 number of stages or k vectors
 
double ** k_
 pointer to the stage slopes of RK methods
 
double ** a
 pointer to tableau coefficients
 
double * b
 pointer to tableau coefficients
 
- Protected Attributes inherited from ode::OdeNewtonBridge< Integrator >
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
 

Detailed Description

Nonlinear system solver for OdeGeng5.

Definition at line 17 of file ode_geng_5.h.

Constructor & Destructor Documentation

◆ NewtonGeng5()

ode::NewtonGeng5::NewtonGeng5 ( unsigned long neq,
unsigned long nnew,
OdeGeng5 * integrator )
inline

constructs

Parameters
[in]neqsize of ODE system
[in]nnewsize of Newton system
[in]integratorpointer to OdeGeng5 object

Definition at line 25 of file ode_geng_5.h.


The documentation for this class was generated from the following files: