45 for (v = 0; v < nvars; v++) {
46 Jac[nvars*v+v] = -param->
d[nvars*dir+v];
Contains function definitions for common mathematical functions.
Structure containing variables and parameters specific to the linear advection-diffusion-reaction mod...
Linear Advection-Diffusion-Reaction model.
int LinearADRAdvectionJacobian(double *Jac, double *u, void *p, int dir, int nvars, int upw)
int LinearADRDiffusionJacobian(double *Jac, double *u, void *p, int dir, int nvars)