#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <ida/ida.h>
#include <ida/ida_band.h>
#include <nvector/nvector_serial.h>
#include <sundials/sundials_dense.h>
#include <sundials/sundials_types.h>
Classes | |
struct | UserData |
Defines | |
#define | NPREY 1 |
#define | NUM_SPECIES 2*NPREY |
#define | PI RCONST(3.1415926535898) |
#define | FOURPI (RCONST(4.0)*PI) |
#define | MX 20 |
#define | MY 20 |
#define | NSMX (NUM_SPECIES * MX) |
#define | NEQ (NUM_SPECIES*MX*MY) |
#define | AA RCONST(1.0) |
#define | EE RCONST(10000.) |
#define | GG RCONST(0.5e-6) |
#define | BB RCONST(1.0) |
#define | DPREY RCONST(1.0) |
#define | DPRED RCONST(0.05) |
#define | ALPHA RCONST(50.) |
#define | BETA RCONST(1000.) |
#define | AX RCONST(1.0) |
#define | AY RCONST(1.0) |
#define | RTOL RCONST(1.e-5) |
#define | ATOL RCONST(1.e-5) |
#define | NOUT 6 |
#define | TMULT RCONST(10.0) |
#define | TADD RCONST(0.3) |
#define | ZERO RCONST(0.) |
#define | ONE RCONST(1.0) |
#define | IJ_Vptr(vv, i, j) (&NV_Ith_S(vv, (i)*NUM_SPECIES + (j)*NSMX)) |
#define | acoef (webdata->acoef) |
#define | bcoef (webdata->bcoef) |
#define | cox (webdata->cox) |
#define | coy (webdata->coy) |
Functions | |
int | main () |
#define AA RCONST(1.0) |
#define acoef (webdata->acoef) |
#define ALPHA RCONST(50.) |
#define ATOL RCONST(1.e-5) |
#define AX RCONST(1.0) |
#define AY RCONST(1.0) |
#define BB RCONST(1.0) |
#define bcoef (webdata->bcoef) |
#define BETA RCONST(1000.) |
#define cox (webdata->cox) |
#define coy (webdata->coy) |
#define DPRED RCONST(0.05) |
#define DPREY RCONST(1.0) |
#define EE RCONST(10000.) |
#define FOURPI (RCONST(4.0)*PI) |
#define GG RCONST(0.5e-6) |
#define IJ_Vptr | ( | vv, | |||
i, | |||||
j | ) | (&NV_Ith_S(vv, (i)*NUM_SPECIES + (j)*NSMX)) |
#define MX 20 |
#define MY 20 |
#define NEQ (NUM_SPECIES*MX*MY) |
#define NOUT 6 |
#define NPREY 1 |
#define NSMX (NUM_SPECIES * MX) |
#define NUM_SPECIES 2*NPREY |
#define ONE RCONST(1.0) |
#define PI RCONST(3.1415926535898) |
#define RTOL RCONST(1.e-5) |
#define TADD RCONST(0.3) |
#define TMULT RCONST(10.0) |
#define ZERO RCONST(0.) |
int main | ( | void | ) |
References UserData::acoef, ATOL, __fidadenx.f__::atol, destroyMat(), IDABBDPRE::id, IDA_NORMAL, IDA_SS, IDA_YA_YDP_INIT, IDABand(), IDACalcIC(), IDACreate(), IDAFree(), IDAMalloc(), IDASetId(), IDASetRdata(), IDASolve(), fkinkryx::iout, N_VDestroy_Serial(), N_VNew_Serial(), NEQ, newDenseMat(), NOUT, NSMX, NUM_SPECIES, UserData::rates, RTOL, __fidadenx.f__::rtol, __fidadenx.f__::t0, TADD, TMULT, __fidadenx.f__::tout, __fidadenx.f__::tret, and ZERO.