|
accelerInt
v0.1
|
A simple wrapper, allowing for use of the analytical jacobian w/ CVODES. More...
#include "header.h"#include "sundials/sundials_nvector.h"#include "sundials/sundials_direct.h"#include "nvector/nvector_serial.h"#include "jacob.h"

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... | |
A simple wrapper, allowing for use of the analytical jacobian w/ CVODES.
Definition in file cvodes_jac.h.
| 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.
| N | the problem size |
| t | The current time of the system |
| y | The current state vector (in CVODE format) |
| ydot | The RHS vector to be populated (in CVODE format) |
| jac | The Jacobian matrix (in CVODE format) to output to |
| f | User data set during CVODEs setup (e.g. the system pressure) |
| tmp1 | Temporary storage used by CVODEs |
| tmp2 | Temporary storage used by CVODEs |
| tmp3 | Temporary storage used by CVODEs |
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.
1.8.14