#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <cvodes/cvodes.h>
#include <cvodes/cvodes_spgmr.h>
#include <nvector/nvector_serial.h>
#include <sundials/sundials_dense.h>
#include <sundials/sundials_types.h>
#include <sundials/sundials_math.h>
Classes | |
struct | WebData |
Defines | |
#define | ZERO RCONST(0.0) |
#define | ONE RCONST(1.0) |
#define | TWO RCONST(2.0) |
#define | AA ONE |
#define | EE RCONST(1.0e4) |
#define | GG RCONST(0.5e-6) |
#define | BB ONE |
#define | DPREY ONE |
#define | DPRED RCONST(0.5) |
#define | ALPH ONE |
#define | NP 3 |
#define | NS (2*NP) |
#define | MX 20 |
#define | MY 20 |
#define | MXNS (MX*NS) |
#define | AX ONE |
#define | AY ONE |
#define | DX (AX/(realtype)(MX-1)) |
#define | DY (AY/(realtype)(MY-1)) |
#define | MP NS |
#define | MQ (MX*MY) |
#define | MXMP (MX*MP) |
#define | NGX 2 |
#define | NGY 2 |
#define | NGRP (NGX*NGY) |
#define | ITMAX 5 |
#define | NEQ (NS*MX*MY) |
#define | T0 ZERO |
#define | RTOL RCONST(1.0e-5) |
#define | ATOL RCONST(1.0e-5) |
#define | TOUT RCONST(10.0) |
#define | NSTEPS 80 |
#define | ISPEC 6 |
Functions | |
int | main (int argc, char *argv[]) |
#define AA ONE |
#define ALPH ONE |
#define ATOL RCONST(1.0e-5) |
#define AX ONE |
#define AY ONE |
#define BB ONE |
#define DPRED RCONST(0.5) |
#define DPREY ONE |
#define DX (AX/(realtype)(MX-1)) |
#define DY (AY/(realtype)(MY-1)) |
#define EE RCONST(1.0e4) |
#define GG RCONST(0.5e-6) |
#define ISPEC 6 |
#define ITMAX 5 |
#define MP NS |
#define MQ (MX*MY) |
#define MX 20 |
#define MXMP (MX*MP) |
#define MXNS (MX*NS) |
#define MY 20 |
#define NEQ (NS*MX*MY) |
#define NGRP (NGX*NGY) |
#define NGX 2 |
#define NGY 2 |
#define NP 3 |
#define NS (2*NP) |
#define NSTEPS 80 |
#define ONE RCONST(1.0) |
#define RTOL RCONST(1.0e-5) |
#define T0 ZERO |
#define TOUT RCONST(10.0) |
#define TWO RCONST(2.0) |
#define ZERO RCONST(0.0) |
int main | ( | int | argc, | |
char * | argv[] | |||
) |
References ATOL, c, CV_BDF, CV_HERMITE, CV_NEWTON, CV_NORMAL, CV_SS, CVadjFree(), CVadjMalloc(), CVodeB(), CVodeCreate(), CVodeCreateB(), CVodeF(), CVodeFree(), CVodeMalloc(), CVodeMallocB(), CVodeSetFdata(), CVodeSetFdataB(), CVSpgmr(), CVSpgmrB(), CVSpilsSetPreconditioner(), CVSpilsSetPreconditionerB(), ISPEC, MXNS, N_VDestroy_Serial(), N_VNew_Serial(), NEQ, NS, NSTEPS, PREC_LEFT, RTOL, T0, and TOUT.