accelerInt  v0.1
Functions
cvodes_jac.c File Reference

A simple wrapper, allowing for use of the analytical jacobian w/ CVODES. More...

#include "cvodes_jac.h"
Include dependency graph for cvodes_jac.c:

Go to the source code of this file.

Functions

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. More...
 

Detailed Description

A simple wrapper, allowing for use of the analytical jacobian w/ CVODES.

Definition in file cvodes_jac.c.

Function Documentation

◆ eval_jacob_cvodes()

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.

This function converts the N_Vectors y and y_dot to simple double pointers, the user data f to a double and outputs the Jacobian supplied by eval_jacob to the CVODE jacobian jac Currently, CV_SUCCESS is always returned.

Definition at line 13 of file cvodes_jac.c.