# Config file for explicit split PPM hydrodynamics. # source/physics/Hydro/HydroMain/split/PPM REQUIRES physics/Hydro/HydroMain/utilities REQUIRES physics/Eos DEFAULT PPMKernel VARIABLE dens TYPE: PER_VOLUME # density VARIABLE velx TYPE: PER_MASS # x-velocity VARIABLE vely TYPE: PER_MASS # y-velocity VARIABLE velz TYPE: PER_MASS # z-velocity VARIABLE pres TYPE: GENERIC # pressure VARIABLE ener TYPE: PER_MASS # specific total energy (T+U) VARIABLE temp TYPE: GENERIC # temperature VARIABLE eint TYPE: PER_MASS # specific internal energy FLUX rho FLUX u FLUX p FLUX ut FLUX utt FLUX e FLUX eint SCRATCHVAR otmp SCRATCHCENTERVAR ftmp .....
The Flash.h files would declare the property variables, fluxes and scratch variables as: (The setup script alphabetizes the names.)
#define DENS_VAR 1 #define EINT_VAR 2 #define ENER_VAR 3 #define PRES_VAR 4 #define TEMP_VAR 5 #define VELX_VAR 6 #define VELY_VAR 7 #define VELZ_VAR 8 #define E_FLUX 1 #define EINT_FLUX 2 #define P_FLUX 3 #define RHO_FLUX 4 #define U_FLUX 5 #define UT_FLUX 6 #define UTT_FLUX 7 #define OTMP_SCRATCH_GRID_VAR 1 #define FTMP_SCRATCH_CENTER_VAR 1