#include <stdio.h>
#include <math.h>
#include <cpodes/cpodes.h>
#include <cpodes/cpodes_dense.h>
#include <nvector/nvector_serial.h>
#include <sundials/sundials_math.h>
Defines | |
#define | Ith(v, i) NV_Ith_S(v,i-1) |
#define | TOL RCONST(1.0e-5) |
#define | TOL_REF RCONST(1.0e-14) |
Functions | |
void | GetSol (void *cpode_mem, N_Vector yy0, realtype tol, realtype tout, booleantype proj, N_Vector yref) |
void | RefSol (realtype tout, N_Vector yref) |
int | main () |
#define Ith | ( | v, | |||
i | ) | NV_Ith_S(v,i-1) |
#define TOL RCONST(1.0e-5) |
#define TOL_REF RCONST(1.0e-14) |
void GetSol | ( | void * | cpode_mem, | |
N_Vector | yy0, | |||
realtype | tol, | |||
realtype | tout, | |||
booleantype | proj, | |||
N_Vector | yref | |||
) |
int main | ( | void | ) |
References CP_BDF, CP_EXPL, CP_NEWTON, CP_SS, CPDense(), CPodeCreate(), CPodeFree(), CPodeInit(), CPodeProjDefine(), CPodeSetMaxNumSteps(), CPodeSetStopTime(), FALSE, GetSol(), fkinkryx::i, Ith, N_VDestroy_Serial(), N_VNew_Serial(), RefSol(), TOL, __fidadenx.f__::tout, and TRUE.
void RefSol | ( | realtype | tout, | |
N_Vector | yref | |||
) |