#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <cvodes/cvodes.h>
#include <cvodes/cvodes_dense.h>
#include <nvector/nvector_serial.h>
#include <sundials/sundials_types.h>
#include <sundials/sundials_math.h>
Classes | |
struct | UserData |
Defines | |
#define | Ith(v, i) NV_Ith_S(v,i-1) |
#define | IJth(A, i, j) DENSE_ELEM(A,i-1,j-1) |
#define | NEQ 3 |
#define | Y1 RCONST(1.0) |
#define | Y2 RCONST(0.0) |
#define | Y3 RCONST(0.0) |
#define | RTOL RCONST(1e-4) |
#define | ATOL1 RCONST(1e-8) |
#define | ATOL2 RCONST(1e-14) |
#define | ATOL3 RCONST(1e-6) |
#define | T0 RCONST(0.0) |
#define | T1 RCONST(0.4) |
#define | TMULT RCONST(10.0) |
#define | NOUT 12 |
#define | NP 3 |
#define | NS 3 |
#define | ZERO RCONST(0.0) |
Functions | |
int | main (int argc, char *argv[]) |
#define ATOL1 RCONST(1e-8) |
#define ATOL2 RCONST(1e-14) |
#define ATOL3 RCONST(1e-6) |
#define Ith | ( | v, | |||
i | ) | NV_Ith_S(v,i-1) |
#define NEQ 3 |
#define NOUT 12 |
#define NP 3 |
#define NS 3 |
#define RTOL RCONST(1e-4) |
#define T0 RCONST(0.0) |
#define T1 RCONST(0.4) |
#define TMULT RCONST(10.0) |
#define Y1 RCONST(1.0) |
#define Y2 RCONST(0.0) |
#define Y3 RCONST(0.0) |
#define ZERO RCONST(0.0) |
int main | ( | int | argc, | |
char * | argv[] | |||
) |
References booleantype, CV_BDF, CV_NEWTON, CV_NORMAL, CV_SIMULTANEOUS, CV_STAGGERED, CV_WF, CVDense(), CVDlsSetJacFn(), CVode(), CVodeCreate(), CVodeFree(), CVodeGetSens(), CVodeMalloc(), CVodeSensMalloc(), CVodeSetEwtFn(), CVodeSetFdata(), CVodeSetSensErrCon(), CVodeSetSensParams(), CVodeSetSensRhs1Fn(), fkinkryx::iout, Ith, N_VCloneVectorArray_Serial(), N_VConst(), N_VDestroy_Serial(), N_VDestroyVectorArray_Serial(), N_VNew_Serial(), NEQ, NOUT, NS, UserData::p, T0, T1, TMULT, __fidadenx.f__::tout, y, Y1, Y2, Y3, and ZERO.