#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <cvodes/cvodes.h>
#include <cvodes/cvodes_band.h>
#include <nvector/nvector_serial.h>
#include <sundials/sundials_types.h>
#include <sundials/sundials_math.h>
Classes | |
struct | UserData |
Defines | |
#define | XMAX RCONST(2.0) |
#define | YMAX RCONST(1.0) |
#define | MX 40 |
#define | MY 20 |
#define | NEQ MX*MY |
#define | ATOL RCONST(1.e-5) |
#define | RTOLB RCONST(1.e-6) |
#define | T0 RCONST(0.0) |
#define | T1 RCONST(0.1) |
#define | DTOUT RCONST(0.1) |
#define | NOUT 10 |
#define | TOUT RCONST(1.0) |
#define | NSTEP 50 |
#define | ZERO RCONST(0.0) |
#define | ONE RCONST(1.0) |
#define | TWO RCONST(2.0) |
#define | IJth(vdata, i, j) (vdata[(j-1) + (i-1)*MY]) |
Functions | |
int | main (int argc, char *argv[]) |
#define ATOL RCONST(1.e-5) |
#define DTOUT RCONST(0.1) |
#define IJth | ( | vdata, | |||
i, | |||||
j | ) | (vdata[(j-1) + (i-1)*MY]) |
#define MX 40 |
#define MY 20 |
#define NEQ MX*MY |
#define NOUT 10 |
#define NSTEP 50 |
Referenced by main().
#define ONE RCONST(1.0) |
#define RTOLB RCONST(1.e-6) |
Referenced by main().
#define T0 RCONST(0.0) |
#define T1 RCONST(0.1) |
#define TOUT RCONST(1.0) |
#define TWO RCONST(2.0) |
#define XMAX RCONST(2.0) |
#define YMAX RCONST(1.0) |
#define ZERO RCONST(0.0) |
int main | ( | int | argc, | |
char * | argv[] | |||
) |
References ATOL, CV_BDF, CV_HERMITE, CV_NEWTON, CV_NORMAL, CV_SS, CVadjFree(), CVadjMalloc(), CVBand(), CVBandB(), CVDlsSetJacFn(), CVDlsSetJacFnB(), CVodeB(), CVodeCreate(), CVodeCreateB(), CVodeF(), CVodeFree(), CVodeMalloc(), CVodeMallocB(), CVodeSetFdata(), CVodeSetFdataB(), UserData::dx, dx, dy, MX, MY, N_VConst(), N_VDestroy_Serial(), N_VNew_Serial(), NEQ, NSTEP, ONE, RTOLB, T0, TOUT, TWO, XMAX, YMAX, and ZERO.