|
Ignis
|
#include "ignis.h"#include "cantera/base/ct_defs.h"#include "solver_kinsol.h"#include "integrator_cvode.h"#include <iostream>#include <algorithm>#include <iomanip>#include <fstream>#include <sstream>#include <numeric>#include <cmath>#include <highfive/highfive.hpp>Go to the source code of this file.
Functions | |
| int | Func_kinsol (N_Vector varsKS, N_Vector fvec, void *user_data) |
| int | rhsf_cvode (realtype t, N_Vector varsCV, N_Vector dvarsdtCV, void *user_data) |
| float | myErfInv2 (float x) |
| int Func_kinsol | ( | N_Vector | varsKS, |
| N_Vector | fvec, | ||
| void * | user_data | ||
| ) |
Kinsol interface function. Kinsol calls this function, which then calls user_data's Func.
| varsKS | input: vector of all variables at all grid points (KS for KinSol). |
| fvec | output: vector of all variables at all grid points. |
| user_data | input/output: pointer to user data ("this" ignis object). |
Definition at line 1063 of file ignis.cc.
| int rhsf_cvode | ( | realtype | t, |
| N_Vector | varsCV, | ||
| N_Vector | dvarsdtCV, | ||
| void * | user_data | ||
| ) |
CVODE interface; CVODE calls this function, which then calls user_data's rhsf
| t | input: current time (not used here as there are no explicit time dependencies, like S(t) |
| varsCV | input: cvode variables (all vars at all grid points) |
| dvarsdtCV | output: cvode rates of all variables (all vars at all grid points) |
| user_data | input/output: pointer to user data ("this" ignis object). |
Definition at line 1638 of file ignis.cc.