#include <stdio.h>
#include <cvode/cvode.h>
#include <nvector/nvector_serial.h>
#include <cvode/cvode_dense.h>
#include <sundials/sundials_dense.h>
#include <sundials/sundials_types.h>
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(1.0e-4) |
#define | ATOL1 RCONST(1.0e-8) |
#define | ATOL2 RCONST(1.0e-14) |
#define | ATOL3 RCONST(1.0e-6) |
#define | T0 RCONST(0.0) |
#define | T1 RCONST(0.4) |
#define | TMULT RCONST(10.0) |
#define | NOUT 12 |
Functions | |
int | main () |
#define ATOL1 RCONST(1.0e-8) |
#define ATOL2 RCONST(1.0e-14) |
#define ATOL3 RCONST(1.0e-6) |
#define Ith | ( | v, | |||
i | ) | NV_Ith_S(v,i-1) |
#define NEQ 3 |
#define NOUT 12 |
#define RTOL RCONST(1.0e-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) |
int main | ( | void | ) |
References ATOL1, ATOL2, ATOL3, CV_BDF, CV_NEWTON, CV_NORMAL, CV_ROOT_RETURN, CV_SUCCESS, CV_SV, CVDense(), CVDlsSetJacFn(), CVode(), CVodeCreate(), CVodeFree(), CVodeGetRootInfo(), CVodeMalloc(), CVodeRootInit(), g, fkinkryx::iout, Ith, N_VDestroy_Serial(), N_VNew_Serial(), NEQ, NOUT, RTOL, T0, T1, TMULT, __fidadenx.f__::tout, y, Y1, Y2, and Y3.