#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <cvode/cvode.h>
#include <cvode/cvode_spgmr.h>
#include <cvode/cvode_bbdpre.h>
#include <nvector/nvector_parallel.h>
#include <sundials/sundials_types.h>
#include <sundials/sundials_math.h>
#include <mpi.h>
Classes | |
struct | UserData |
Defines | |
#define | ZERO RCONST(0.0) |
#define | NVARS 2 |
#define | KH RCONST(4.0e-6) |
#define | VEL RCONST(0.001) |
#define | KV0 RCONST(1.0e-8) |
#define | Q1 RCONST(1.63e-16) |
#define | Q2 RCONST(4.66e-16) |
#define | C3 RCONST(3.7e16) |
#define | A3 RCONST(22.62) |
#define | A4 RCONST(7.601) |
#define | C1_SCALE RCONST(1.0e6) |
#define | C2_SCALE RCONST(1.0e12) |
#define | T0 ZERO |
#define | NOUT 12 |
#define | TWOHR RCONST(7200.0) |
#define | HALFDAY RCONST(4.32e4) |
#define | PI RCONST(3.1415926535898) |
#define | XMIN ZERO |
#define | XMAX RCONST(20.0) |
#define | YMIN RCONST(30.0) |
#define | YMAX RCONST(50.0) |
#define | NPEX 2 |
#define | NPEY 2 |
#define | MXSUB 5 |
#define | MYSUB 5 |
#define | MX (NPEX*MXSUB) |
#define | MY (NPEY*MYSUB) |
#define | RTOL RCONST(1.0e-5) |
#define | FLOOR RCONST(100.0) |
#define | ATOL (RTOL*FLOOR) |
Functions | |
int | main (int argc, char *argv[]) |
#define ATOL (RTOL*FLOOR) |
#define C1_SCALE RCONST(1.0e6) |
#define C2_SCALE RCONST(1.0e12) |
#define C3 RCONST(3.7e16) |
Referenced by FCVFUN(), FCVPSET(), INITKX(), and PREC_JAC().
#define FLOOR RCONST(100.0) |
#define HALFDAY RCONST(4.32e4) |
#define KH RCONST(4.0e-6) |
#define KV0 RCONST(1.0e-8) |
#define MX (NPEX*MXSUB) |
#define MXSUB 5 |
Referenced by main().
#define MY (NPEY*MYSUB) |
#define MYSUB 5 |
Referenced by main().
#define NOUT 12 |
#define NPEX 2 |
Referenced by main().
#define NPEY 2 |
Referenced by main().
#define NVARS 2 |
Referenced by main().
#define Q1 RCONST(1.63e-16) |
Referenced by FCVFUN(), FCVPSET(), INITKX(), and PREC_JAC().
#define Q2 RCONST(4.66e-16) |
Referenced by FCVFUN(), FCVPSET(), INITKX(), and PREC_JAC().
#define RTOL RCONST(1.0e-5) |
#define T0 ZERO |
#define TWOHR RCONST(7200.0) |
Referenced by main().
#define VEL RCONST(0.001) |
Referenced by INITKX().
#define XMAX RCONST(20.0) |
#define XMIN ZERO |
#define YMAX RCONST(50.0) |
#define YMIN RCONST(30.0) |
#define ZERO RCONST(0.0) |
int main | ( | int | argc, | |
char * | argv[] | |||
) |
References ATOL, CV_BDF, CV_NEWTON, CV_NORMAL, CV_SS, CVBBDPrecAlloc(), CVBBDPrecFree(), CVBBDPrecReInit(), CVBBDSpgmr(), CVode(), CVodeCreate(), CVodeFree(), CVodeMalloc(), CVodeReInit(), CVodeSetFdata(), CVSpilsSetPrecType(), fkinkryx::iout, IDABBDPRE::mldq, IDABBDPRE::mlkeep, IDABBDPRE::mudq, IDABBDPRE::mukeep, MX, MXSUB, MY, MYSUB, N_VDestroy_Parallel(), N_VNew_Parallel(), fkinkryx::neq, NOUT, fkinkryx_p::npes, NPEX, NPEY, NVARS, PREC_LEFT, PREC_RIGHT, RTOL, T0, __fidadenx.f__::tout, TWOHR, and ZERO.