accelerInt
v0.1
|
Finite Difference Jacobian implementation based on CVODEs. More...
#include "header.h"
#include "dydt.h"
#include <math.h>
#include <float.h>
#include <string.h>
#include "solver_options.h"
Go to the source code of this file.
Macros | |
#define | FD_ORD 1 |
The finite difference order [Default: 1]. More... | |
Functions | |
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 and state. More... | |
Finite Difference Jacobian implementation based on CVODEs.
Definition in file fd_jacob.c.
#define FD_ORD 1 |
The finite difference order [Default: 1].
Definition at line 14 of file fd_jacob.c.
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 and state.
[in] | t | the current system time |
[in] | pres | the current system pressure |
[in] | cy | the system state vector |
[out] | jac | the resulting Jacobian |
Definition at line 24 of file fd_jacob.c.