#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <cpodes/cpodes.h>
#include <nvector/nvector_serial.h>
#include <sundials/sundials_math.h>
Defines | |
#define | ODE CP_EXPL |
#define | ATOL RCONST(1.0e-6) |
#define | RTOL RCONST(0.0) |
#define | ZERO RCONST(0.0) |
#define | ONE RCONST(1.0) |
#define | TWO RCONST(2.0) |
#define | THIRTY RCONST(30.0) |
#define | P2_MESHX 5 |
#define | P2_MESHY 5 |
#define | P2_NEQ P2_MESHX*P2_MESHY |
#define | P2_ALPH1 RCONST(1.0) |
#define | P2_ALPH2 RCONST(1.0) |
#define | P2_NOUT 5 |
#define | P2_ML 5 |
#define | P2_MU 0 |
#define | P2_T0 RCONST(0.0) |
#define | P2_T1 RCONST(0.01) |
#define | P2_TOUT_MULT RCONST(10.0) |
Functions | |
int | main () |
#define ATOL RCONST(1.0e-6) |
#define ODE CP_EXPL |
#define ONE RCONST(1.0) |
#define P2_ALPH1 RCONST(1.0) |
#define P2_ALPH2 RCONST(1.0) |
#define P2_MESHX 5 |
#define P2_MESHY 5 |
#define P2_ML 5 |
#define P2_MU 0 |
#define P2_NEQ P2_MESHX*P2_MESHY |
#define P2_NOUT 5 |
#define P2_T0 RCONST(0.0) |
#define P2_T1 RCONST(0.01) |
#define P2_TOUT_MULT RCONST(10.0) |
#define RTOL RCONST(0.0) |
#define THIRTY RCONST(30.0) |
#define TWO RCONST(2.0) |
#define ZERO RCONST(0.0) |
int main | ( | void | ) |
References ATOL, CP_ADAMS, CP_EXPL, CP_FUNCTIONAL, CP_NORMAL, CP_SS, CP_SUCCESS, CPode(), CPodeCreate(), CPodeFree(), CPodeGetLastOrder(), CPodeGetLastStep(), CPodeInit(), fkinkryx::iout, N_VConst(), N_VDestroy_Serial(), N_VNew_Serial(), NV_Ith_S, ODE, ONE, P2_NEQ, P2_NOUT, P2_T0, P2_T1, P2_TOUT_MULT, RTOL, __fidadenx.f__::tout, y, __fidadenx.f__::yp, and ZERO.