cvsfwdkryx.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.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  UserData

Defines

#define NUM_SPECIES   2
#define C1_SCALE   RCONST(1.0e6)
#define C2_SCALE   RCONST(1.0e12)
#define T0   RCONST(0.0)
#define NOUT   12
#define TWOHR   RCONST(7200.0)
#define HALFDAY   RCONST(4.32e4)
#define PI   RCONST(3.1415926535898)
#define XMIN   RCONST(0.0)
#define XMAX   RCONST(20.0)
#define ZMIN   RCONST(30.0)
#define ZMAX   RCONST(50.0)
#define XMID   RCONST(10.0)
#define ZMID   RCONST(40.0)
#define MX   15
#define MZ   15
#define NSMX   NUM_SPECIES*MX
#define MM   (MX*MZ)
#define RTOL   RCONST(1.0e-5)
#define FLOOR   RCONST(100.0)
#define ATOL   (RTOL*FLOOR)
#define NEQ   (NUM_SPECIES*MM)
#define NP   8
#define NS   2
#define ZERO   RCONST(0.0)
#define ONE   RCONST(1.0)
#define IJKth(vdata, i, j, k)   (vdata[i-1 + (j)*NUM_SPECIES + (k)*NSMX])
#define IJth(a, i, j)   (a[j-1][i-1])

Functions

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


Define Documentation

#define ATOL   (RTOL*FLOOR)

#define C1_SCALE   RCONST(1.0e6)

#define C2_SCALE   RCONST(1.0e12)

#define FLOOR   RCONST(100.0)

#define HALFDAY   RCONST(4.32e4)

#define IJKth ( vdata,
i,
j,
k   )     (vdata[i-1 + (j)*NUM_SPECIES + (k)*NSMX])

#define IJth ( a,
i,
 )     (a[j-1][i-1])

#define MM   (MX*MZ)

#define MX   15

#define MZ   15

#define NEQ   (NUM_SPECIES*MM)

#define NOUT   12

#define NP   8

#define NS   2

#define NSMX   NUM_SPECIES*MX

#define NUM_SPECIES   2

#define ONE   RCONST(1.0)

#define PI   RCONST(3.1415926535898)

#define RTOL   RCONST(1.0e-5)

#define T0   RCONST(0.0)

#define TWOHR   RCONST(7200.0)

#define XMAX   RCONST(20.0)

#define XMID   RCONST(10.0)

#define XMIN   RCONST(0.0)

#define ZERO   RCONST(0.0)

#define ZMAX   RCONST(50.0)

#define ZMID   RCONST(40.0)

#define ZMIN   RCONST(30.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