#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 | 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 6 |
#define | MY 6 |
#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 | MAXL 0 |
#define | DELT ZERO |
#define | T1 RCONST(1.0e-8) |
#define | TOUT_MULT RCONST(10.0) |
#define | DTOUT ONE |
#define | NOUT 18 |
Functions | |
int | main () |
#define AA ONE |
#define ALPH ONE |
#define ATOL RCONST(1.0e-5) |
#define AX ONE |
#define AY ONE |
#define BB ONE |
#define DELT ZERO |
#define DPRED RCONST(0.5) |
#define DPREY ONE |
#define DTOUT 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 ITMAX 5 |
#define MAXL 0 |
#define MP NS |
#define MQ (MX*MY) |
#define MX 6 |
#define MXMP (MX*MP) |
#define MXNS (MX*NS) |
#define MY 6 |
#define NEQ (NS*MX*MY) |
#define NGRP (NGX*NGY) |
#define NGX 2 |
#define NGY 2 |
#define NOUT 18 |
#define NP 3 |
#define NS (2*NP) |
#define ONE RCONST(1.0) |
#define RTOL RCONST(1.0e-5) |
#define T0 ZERO |
#define T1 RCONST(1.0e-8) |
#define TOUT_MULT RCONST(10.0) |
#define ZERO RCONST(0.0) |
int main | ( | void | ) |
References ATOL, booleantype, c, CLASSICAL_GS, CV_BDF, CV_NEWTON, CV_NORMAL, CV_SS, CVode(), CVodeCreate(), CVodeFree(), CVodeMalloc(), CVodeReInit(), CVodeSetFdata(), CVSpgmr(), CVSpilsSetDelt(), CVSpilsSetGSType(), CVSpilsSetPreconditioner(), CVSpilsSetPrecType(), DELT, DTOUT, IDABBDPRE::gstype, fkinkryx::iout, MAXL, MODIFIED_GS, N_VDestroy_Serial(), N_VNew_Serial(), NEQ, NOUT, ns, PREC_LEFT, PREC_RIGHT, RTOL, T0, T1, __fidadenx.f__::tout, and TOUT_MULT.