cvkryx_bbd_p.c File Reference

#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 Documentation

#define A3   RCONST(22.62)

Referenced by FCVFUN(), and INITKX().

#define A4   RCONST(7.601)

Referenced by FCVFUN(), and INITKX().

#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 PI   RCONST(3.1415926535898)

Referenced by INITKX(), and 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)


Function Documentation

int main ( int  argc,
char *  argv[] 
)


Generated on Fri Sep 26 07:44:20 2008 for SimTKcore by  doxygen 1.5.6