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

Nonlinear system solver for OdeLobattoIIIC6. More...

#include <ode_lobatto_iiic_6.h>

Inheritance diagram for ode::NewtonLobattoIIIC6:
ode::OdeNewtonIRK< OdeLobattoIIIC6 > ode::OdeNewtonBridge< Integrator > ode::OdeNewton

Public Member Functions

 NewtonLobattoIIIC6 (unsigned long neq, unsigned long nnew, OdeLobattoIIIC6 *integrator)
 constructs
 
- Public Member Functions inherited from ode::OdeNewtonIRK< OdeLobattoIIIC6 >
 OdeNewtonIRK (unsigned long neq, int nk, OdeLobattoIIIC6 *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< OdeLobattoIIIC6 >
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 OdeLobattoIIIC6.

Definition at line 16 of file ode_lobatto_iiic_6.h.

Constructor & Destructor Documentation

◆ NewtonLobattoIIIC6()

ode::NewtonLobattoIIIC6::NewtonLobattoIIIC6 ( unsigned long neq,
unsigned long nnew,
OdeLobattoIIIC6 * integrator )
inline

constructs

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

Definition at line 24 of file ode_lobatto_iiic_6.h.


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