Go to the source code of this file.
|
static void | print_data_sizes (ModelData *md) |
| Print some camp-chem data sizes.
|
|
static void | print_jacobian (SUNMatrix M) |
| Print Jacobian matrix in format KLU SPARSE.
|
|
static void | print_derivative (N_Vector deriv) |
| Print derivative array.
|
|
void | output_deriv_local_state (realtype curr_time, N_Vector state, N_Vector deriv, void *solver_data, int(*f)(realtype, N_Vector, N_Vector, void *), int i_dep, int i_ind, double d_rate_d_ind, double d_ind) |
| Evaluate the derivative and Jacobian near a given state for a specified species.
|
|
◆ CAMP_DEBUG_JAC
#define CAMP_DEBUG_JAC |
( |
|
J, |
|
|
|
x |
|
) |
| |
◆ CAMP_DEBUG_JAC_STRUCT
#define CAMP_DEBUG_JAC_STRUCT |
( |
|
J, |
|
|
|
x |
|
) |
| |
◆ CAMP_DEBUG_PRINT
#define CAMP_DEBUG_PRINT |
( |
|
x | ) |
|
◆ CAMP_DEBUG_PRINT_FULL
#define CAMP_DEBUG_PRINT_FULL |
( |
|
x | ) |
|
◆ CAMP_DEBUG_PRINT_INT
#define CAMP_DEBUG_PRINT_INT |
( |
|
x, |
|
|
|
y |
|
) |
| |
◆ MAX_FILE_NAME
#define MAX_FILE_NAME 256 |
◆ N_OUTPUT_STATES
#define N_OUTPUT_STATES 100 |
◆ output_deriv_local_state()
void output_deriv_local_state |
( |
realtype |
curr_time, |
|
|
N_Vector |
state, |
|
|
N_Vector |
deriv, |
|
|
void * |
solver_data, |
|
|
int(*)(realtype, N_Vector, N_Vector, void *) |
f, |
|
|
int |
i_dep, |
|
|
int |
i_ind, |
|
|
double |
d_rate_d_ind, |
|
|
double |
d_ind |
|
) |
| |
Evaluate the derivative and Jacobian near a given state for a specified species.
- Parameters
-
curr_time | Current time |
state | State array |
deriv | Derivative array |
solver_data | Void pointer to solver data |
f | Pointer to derivative function |
i_dep | Dependent species index |
i_ind | Independent species index |
d_rate_d_ind | Change in rate for dependent species with change in independent species |
d_ind | Increment to use in plot of rate_dep vs conc_ind |
Definition at line 184 of file camp_debug.h.
◆ print_data_sizes()
static void print_data_sizes |
( |
ModelData * |
md | ) |
|
|
static |
Print some camp-chem data sizes.
- Parameters
-
md | Pointer to the model data |
Definition at line 132 of file camp_debug.h.
◆ print_derivative()
static void print_derivative |
( |
N_Vector |
deriv | ) |
|
|
static |
Print derivative array.
- Parameters
-
Definition at line 162 of file camp_debug.h.
◆ print_jacobian()
static void print_jacobian |
( |
SUNMatrix |
M | ) |
|
|
static |
◆ file_name_prefix