hips
|
#include "batchReactor_cvode.h"
Go to the source code of this file.
Functions | |
int | rhsf_cvode (sunrealtype t, N_Vector varsCV, N_Vector dvarsdtCV, void *user_data) |
Callback function for the right-hand side of the ODE system used by CVODE. | |
int rhsf_cvode | ( | sunrealtype | t, |
N_Vector | varsCV, | ||
N_Vector | dvarsdtCV, | ||
void * | user_data ) |
Callback function for the right-hand side of the ODE system used by CVODE.
This function calculates the right-hand side of the ODE system.
t | Current time. |
varsCV | N_Vector containing the variables (species concentrations). |
dvarsdtCV | N_Vector containing the derivatives of the variables with respect to time. |
user_data | Pointer to the user-defined data (batchReactor_cvode instance). |
This function is called by CVODE, which in turn calls the rhsf method of the batchReactor_cvode instance.
t | Current time. |
varsCV | N_Vector containing the variables (species concentrations). |
dvarsdtCV | N_Vector containing the derivatives of the variables with respect to time. |
user_data | Pointer to the user-defined data (batchReactor_cvode instance). |
Definition at line 104 of file batchReactor_cvode.cc.