1#ifndef ODE_ROSENBROCK_H_
2#define ODE_ROSENBROCK_H_
41 void prep_jac (
double **Jac,
unsigned long n,
double dt,
int *p);
Base class for Rosenbrock methods.
void prep_jac(double **Jac, unsigned long n, double dt, int *p)
do necessary arithmetic with the Jacobian then lu factor it
int * p_
permutation array for LU factorization
OdeRosenbrock(unsigned long neq, int nk)
constructs
double ** k_
stage derivatives
double * soltemp_
temporary sol vector
~OdeRosenbrock()
destructs
double * rhs_
right hand side of matrix equations
double gam
parameter multipying Jacobian or single diagonal gamma