accelerInt  v0.1
cvodes_jac.c
Go to the documentation of this file.
1 
6 #include "cvodes_jac.h"
7 
13 int eval_jacob_cvodes(long int N, double t, N_Vector y, N_Vector ydot, DlsMat jac, void* f, N_Vector tmp1, N_Vector tmp2, N_Vector tmp3)
14 {
15  double* local_y = NV_DATA_S(y);
16  eval_jacob((double)t, *(double*)f, local_y, (double*)jac->data);
17  return 0;
18 }
void eval_jacob(const double t, const double pres, const double *cy, double *jac)
Computes a finite difference Jacobian of order FD_ORD of the RHS function dydt at the given pressure ...
Definition: fd_jacob.c:24
int eval_jacob_cvodes(long int N, double t, N_Vector y, N_Vector ydot, DlsMat jac, void *f, N_Vector tmp1, N_Vector tmp2, N_Vector tmp3)
The CVODEs Jacobian interface for a direct dense Jacobian.
Definition: cvodes_jac.c:13
A simple wrapper, allowing for use of the analytical jacobian w/ CVODES.