General code definitions of dependent quantities. More...
Go to the source code of this file.
Macros | |
#define | STORE_GAMMA_PRIM_REDUCTION_FRACTION (WENO_USE_PRIM_REDUCTION && (VARTOINTERP == PRIMTOINTERP_3VEL_GAMMA || VARTOINTERP == PRIMTOINTERP_RHOV_GAMMA || VARTOINTERP == PRIMTOINTERP_3VELREL_GAMMAREL || VARTOINTERP == PRIMTOINTERP_3VELREL_GAMMAREL_DXDXP) ) |
RK-related macros Doesn't even depend upon N?, N?M, or N?BND, etc. More... | |
#define | NUM_CVT_TYPES 4 |
#define | DOEVOLVERHO 1 |
#define | DOEVOLVEUU 1 |
#define | CHECKRHONEGZERORESTART 1 |
whether to check if rho<=0 or u<=0 when restarting. More... | |
#define | NUMTRUEEOMSETS (1) |
how many sets of EOMs (MHD or MHD+RAD) More... | |
#define | NUMEOMSETS (NUMTRUEEOMSETS) |
#define | EOMSETMHD 0 |
#define | EOMSETRAD 1 |
#define | EOMSETRADFORDT 2 |
#define | NUMCOND 2 |
#define | NUMSHOCKPLS (3*(NUMTRUEEOMSETS*NUMCOND)) |
for STORESHOCKINDICATOR More... | |
#define | SHOCKPLDIR1 (0) |
#define | SHOCKPLDIR2 (SHOCKPLDIR1+1) |
#define | SHOCKPLDIR3 (SHOCKPLDIR2+1) |
#define | SHOCKRADPLDIR1 (SHOCKPLDIR3+1) |
#define | SHOCKRADPLDIR2 (SHOCKRADPLDIR1+1) |
#define | SHOCKRADPLDIR3 (SHOCKRADPLDIR2+1) |
#define | DIVPLDIR1 (SHOCKRADPLDIR3+1) |
below only for DIVERGENCEMETHOD==DIVMETHODPREFLUX More... | |
#define | DIVPLDIR2 (DIVPLDIR1+1) |
#define | DIVPLDIR3 (DIVPLDIR2+1) |
#define | DIVRADPLDIR1 (DIVPLDIR3+1) |
#define | DIVRADPLDIR2 (DIVRADPLDIR1+1) |
#define | DIVRADPLDIR3 (DIVRADPLDIR2+1) |
#define | SHOCKPLSTOREPTOT (0) |
for STORESHOCKINDICATOR for temp storage assumes no more than NDIM*NUMTRUEEOMSETS in list! More... | |
#define | SHOCKPLSTOREVEL1 (1) |
#define | SHOCKPLSTOREVEL2 (SHOCKPLSTOREVEL1+1) |
#define | SHOCKPLSTOREVEL3 (SHOCKPLSTOREVEL2+1) |
#define | SHOCKRADPLSTOREPTOT (SHOCKPLSTOREVEL3+1) |
#define | SHOCKRADPLSTOREVEL1 (SHOCKRADPLSTOREPTOT+1) |
#define | SHOCKRADPLSTOREVEL2 (SHOCKRADPLSTOREVEL1+1) |
#define | SHOCKRADPLSTOREVEL3 (SHOCKRADPLSTOREVEL2+1) |
#define | NSPECIAL 6 |
#define | SPECIALPL1 RHO |
choose SPECIALPL More... | |
#define | SPECIALPL2 UU |
#define | SPECIALPL3 B1 |
#define | SPECIALPL4 B2 |
#define | SPECIALPL5 B3 |
#define | SPECIALPL6 URAD0 |
#define | DOALLPL 0 |
#define | DOBPL 1 |
#define | DONONBPL 2 |
#define | DOSPECIALPL 3 |
#define | BPL(pl) (pl==B1 || pl==B2 || pl==B3) |
#define | NUMYFL (1 + 2 + 2*(EOMRADTYPE!=EOMRADNONE)) |
#define | YFLPL(pl) (pl==YFL1 || pl==YFL2 || pl==YFL3 || pl==YFL4 || pl==YFL5) |
#define | POSPL(pl) (pl==RHO || pl==UU || pl==URAD0 || YFLPL(pl) || pl==YL || pl==YNU) |
#define | SCALARPL(pl) (YFLPL(pl) || pl==YL || pl==YNU) |
#define | DENSITYPL(pl) (pl==RHO || pl==UU || pl==URAD0 || SCALARPL(pl)) |
#define | RADPL(pl) (pl==PRAD0 || pl==PRAD1 || pl==PRAD2 || pl==PRAD3) |
#define | RADFULLPL(pl) (pl==PRAD0 || pl==PRAD1 || pl==PRAD2 || pl==PRAD3 || pl==YFL4 || pl==YFL5) |
#define | NONRADFULLPL(pl) (!RADFULLPL(pl)) |
#define | NUMCURRENTSLOTS 5 |
#define | FLUXSPLITPMA(dir) (-100) |
#define | FLUXSPLITPEM(dir) (-100) |
#define | USEGLOBALWAVE 0 |
#define | COMPUTE4FIELDforFLUX (MAXWELL==GENMAXWELL || USEGLOBALWAVE==0) |
OPTMARK: Should remove use of b^ b_. More... | |
#define | COMPUTE4FIELDatALL (COMPUTE4FIELDforFLUX || LIMITDTWITHSOURCETERM || ANALYTICSOURCE || PLINEWITHFIELD || VLINEWITHGDETRHO || TRUEFAST==1) |
OPTMARK: Should remove use of b^ b_. More... | |
#define | EOMFUNCNAME gdet |
this should be only place eomfunc[] or ieomfuncnosing[] are referred to! special cases: =GLOBALMETMACP1A0(eomfunc,loc,i,j,k); one regexp to use: eomfunc[([_>a-zA-Z0-9+-\ ()]+)] -> EOMFUNCMAC(\1) one regexp to use: ieomfuncnosing[([_>a-zA-Z0-9+-\ ()]+)] -> IEOMFUNCNOSINGMAC(\1) More... | |
#define | EOMFUNCASSIGN(pl) (*gdet) |
#define | EOMFUNCPTR &gdet |
#define | EOMFUNCMAC(pl) gdet |
#define | LOCALEOMFUNCMAC(pl) localgdet[0] |
#define | IEOMFUNCNOSINGMAC(pl) igdetnosing |
#define | SIGNFLIPGDET (FLIPGDETAXIS==0 ? 1.0 : -1.0) |
used by mpi_init.c for some bound types to set sign of copy for polar BCs More... | |
#define | SIGNFLIPU1 (FLIPU1AXIS==0 ? 1.0 : -1.0) |
used to set sign of U1,B1 across axis More... | |
#define | SIGNFLIPB1 (FLIPB1AXIS==0 ? 1.0 : -1.0) |
#define | SIGNFLIPU2 (FLIPU2AXIS==0 ? 1.0 : -1.0) |
used to set sign of U2,B2 across axis More... | |
#define | SIGNFLIPB2 (FLIPB2AXIS==0 ? 1.0 : -1.0) |
#define | SIGNFLIPU3 (FLIPU3AXIS==0 ? 1.0 : -1.0) |
used to set sign of U3,B3 across axis More... | |
#define | SIGNFLIPB3 (FLIPB3AXIS==0 ? 1.0 : -1.0) |
#define | im1mac(i) (i) |
setup for various boundary situations so doesn't produce differences in irrelevant directions, whether boundary zones or not mac(?) macros are for use in definitions of other macros since macro with args needs to be directly a function of what's hardcoded, not some "replacement" since nothing is replaced, not to be used inside code for USING a macro. More... | |
#define | ip1mac(i) (i) |
#define | irefshiftmac(i) (i) |
#define | jm1mac(j) (j) |
#define | jp1mac(j) (j) |
#define | jrefshiftmac(j) (j) |
#define | km1mac(k) (k) |
#define | kp1mac(k) (k) |
#define | krefshiftmac(k) (k) |
#define | N1NOT1 ((N1>1) ? 1 : 0) |
#define | N2NOT1 ((N2>1) ? 1 : 0) |
#define | N3NOT1 ((N3>1) ? 1 : 0) |
#define | SHIFT1 N1NOT1 |
x1 More... | |
#define | N1BND MAXBND*N1NOT1 |
#define | INFULL1 (-N1BND) |
#define | INFULLP11 (-N1BND+SHIFT1) |
#define | OUTFULL1 (N1-1+N1BND) |
#define | OUTFULLM11 (N1-1+N1BND-SHIFT1) |
#define | OUTFULLP11 (N1-1+N1BND+SHIFT1) |
#define | INHALF1 (-N1BND/2) |
#define | OUTHALF1 (N1-1+N1BND/2) |
#define | INP11 (-N1BND+SHIFT1) |
#define | OUTP11 (N1-1+N1BND-SHIFT1) |
#define | INM1 -SHIFT1 |
#define | OUTM1 N1-1+SHIFT1 |
#define | INBOUNDLO1 (-N1BND) |
unlike other loops limits that should reduce to 0 when the N=1 to as if like dimension didn't exist, this one should force loop to not happen at all when N=1 since acts on boundary zones don't exist More... | |
#define | INBOUNDHI1 (-1) |
#define | OUTBOUNDLO1 (N1) |
#define | OUTBOUNDHI1 (N1+N1BND-1) |
#define | INFACEBOUNDLO1 (-N1BND) |
up to -1 since 0 is actually defined with original primitives generalize (expand) a bit: More... | |
#define | INFACEBOUNDHI1 (-1) |
#define | OUTFACEBOUNDLO1 (N1) |
from N1+1 since N1 is actually defined with original primitives (only true if not FLUXCTSTAG) generalize (expand) a bit: More... | |
#define | OUTFACEBOUNDHI1 (N1+N1BND-1) |
#define | SHIFT2 N2NOT1 |
x2 More... | |
#define | N2BND MAXBND*N2NOT1 |
#define | INFULL2 (-N2BND) |
#define | INFULLP12 (-N2BND+SHIFT2) |
#define | OUTFULL2 (N2-1+N2BND) |
#define | OUTFULLM12 (N2-1+N2BND-SHIFT2) |
#define | OUTFULLP12 (N2-1+N2BND+SHIFT2) |
#define | INHALF2 (-N2BND/2) |
#define | OUTHALF2 (N2-1+N2BND/2) |
#define | INP12 (-N2BND+SHIFT2) |
#define | OUTP12 (N2-1+N2BND-SHIFT2) |
#define | INM2 -SHIFT2 |
#define | OUTM2 N2-1+SHIFT2 |
#define | INBOUNDLO2 (-N2BND) |
unlike other loops limits that should reduce to 0 when the N=1 to as if like dimension didn't exist, this one should force loop to not happen at all when N=1 since acts on boundary zones don't exist More... | |
#define | INBOUNDHI2 (-1) |
#define | OUTBOUNDLO2 (N2) |
#define | OUTBOUNDHI2 (N2+N2BND-1) |
#define | INFACEBOUNDLO2 (-N2BND) |
generalize (expand) a bit: More... | |
#define | INFACEBOUNDHI2 (-1) |
#define | OUTFACEBOUNDLO2 (N2) |
generalize (expand) a bit: More... | |
#define | OUTFACEBOUNDHI2 (N2+N2BND-1) |
#define | SHIFT3 N3NOT1 |
x3 More... | |
#define | N3BND MAXBND*N3NOT1 |
#define | INFULL3 (-N3BND) |
#define | INFULLP13 (-N3BND+SHIFT3) |
#define | OUTFULL3 (N3-1+N3BND) |
#define | OUTFULLM13 (N3-1+N3BND-SHIFT3) |
#define | OUTFULLP13 (N3-1+N3BND+SHIFT3) |
#define | INHALF3 (-N3BND/2) |
#define | OUTHALF3 (N3-1+N3BND/2) |
#define | INP13 (-N3BND+SHIFT3) |
#define | OUTP13 (N3-1+N3BND-SHIFT3) |
#define | INM3 -SHIFT3 |
#define | OUTM3 N3-1+SHIFT3 |
#define | INBOUNDLO3 (-N3BND) |
unlike other loops limits that should reduce to 0 when the N=1 to as if like dimension didn't exist, this one should force loop to not happen at all when N=1 since acts on boundary zones don't exist More... | |
#define | INBOUNDHI3 (-1) |
#define | OUTBOUNDLO3 (N3) |
#define | OUTBOUNDHI3 (N3+N3BND-1) |
#define | INFACEBOUNDLO3 (-N3BND) |
generalize (expand) a bit: More... | |
#define | INFACEBOUNDHI3 (-1) |
#define | OUTFACEBOUNDLO3 (N3) |
generalize (expand) a bit: More... | |
#define | OUTFACEBOUNDHI3 (N3+N3BND-1) |
#define | NBIG1 ((N1>N2) ? N1 : N2) |
#define | NBIG ((NBIG1>N3) ? NBIG1 : N3) |
#define | NBIGBND1 ((N1BND>N2BND) ? N1BND : N2BND) |
#define | NBIGBND ((NBIGBND1>N3BND) ? NBIGBND1 : N3BND) |
#define | NUMPFLAGSBOUND (1+FLAGUTOPRIMFAIL) |
N?OFF and N?NOT1 are a bit redundant. More... | |
#define | NUMPFLAGBND1 N1BND |
#define | NUMPFLAGBND2 N2BND |
#define | NUMPFLAGBND3 N3BND |
#define | MAXNUMPFLAGBND (MAX(MAX(NUMPFLAGBND1,NUMPFLAGBND2),NUMPFLAGBND3)) |
#define | NUMCORNINTERP 4 |
GODMARK: Could make a volume that is not NBIGBND*NBIGSM but may be smaller? used in init_mpi.c for workbc and workbc_int. More... | |
#define | NUMCS 2 |
for wavespeeds.c and fluxcompute.c More... | |
#define | CMIN 0 |
#define | CMAX 1 |
#define | MINMAX(q, a, b) ( ((q)==CMIN) ? MIN(a,b) : MAX(a,b) ) |
#define | NMAXBOUND ((NPRBOUND>NFLUXBOUND) ? NPRBOUND : NFLUXBOUND) |
processed version of npr definition since no immediate evaluation in standard c preprocessor this "global.defnprs.h" is generated by the program generatenprs.c More... | |
#define | NUMPHYSICALFLUXTERMS (1 + 1+1+1 + (EOMRADTYPE!=EOMRADNONE)) |
#define | NUMFLUXESTOSAVE (1 + 2 + (EOMRADTYPE!=EOMRADNONE)*2 + NUMYFL*(DOYFL!=0) + (DOYL!=0) + (DOYNU!=0) ) |
#define | FLUXESTOSAVEPL(pl) (pl==RHO || pl==UU || pl==U3 || pl==URAD0 || pl==URAD3 || YFLPL(pl) || pl==YL || pl==YNU) |
#define | NUMFLUXDUMP (1) |
#define | NUMVPOT (NDIM*4) |
4 space-time directions with only spatial parts used for now vpotarrayglobal holds vpot, vpot0, vpotlast, vpotcum More... | |
#define | NUMVPOTDUMP (NDIM) |
#define | NUMNORMDUMP (NPR+1+4*4+6) |
size of certain dumped tavg quantities was 29 => More... | |
#define | NUMFARADAY 6 |
for above see diag.c and set_varstavg() More... | |
#define | NUMOTHER 1 |
#define | NUMSTRESSTERMS (NUMFLUXTERMS*NDIM*NDIM) |
#define | FLOATTYPE 0 |
GLOBAL ARRAY SECTION. More... | |
#define | DOUBLETYPE 1 |
#define | LONGDOUBLETYPE 2 |
#define | LONGLONGINTTYPE 3 |
#define | FLT_EPSILON (1.19209290e-07F) |
#define | DBL_EPSILON (2.2204460492503131e-16L) |
#define | LDBL_EPSILON (1.08420217248550443401e-19L) |
#define | MINNUMREPRESENT FLT_MIN |
#define | NUMEPSILON FLT_EPSILON |
#define | SFTYPE float |
#define | NUMSQRTEPSILON (sqrt(NUMEPSILON)) |
#define | NUMSQEPSILON (NUMEPSILON*NUMEPSILON) |
#define | MY1EM4 (1.0/(2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0)) |
#define | MY1EM5 (1.0/(2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0)) |
#define | MY1EM6 (1.0/(2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0)) |
#define | PFTYPE signed int |
#define | PFTYPEHEADERONEOUT "%d" |
#define | PFTYPEHEADERONEIN "%d" |
#define | NUMENERVAR (6+NPR+NPR+3) |
#define | VERYBIG (1.e37) |
#define | BIG (1.e+30) |
#define | SMALL (1.e-35) |
#define | KINDASMALL (1.e-30) |
#define | SLEPSILON (1.e-6) |
#define | HSTEP (1.e-5) |
#define | SFTYPEHEADERONEIN "%f" |
#define | HEADERONEIN "%f" |
#define | HEADER2IN "%f %f" |
#define | HEADER3IN "%f %f %f" |
#define | HEADER4IN "%f %f %f %f" |
#define | HEADER5IN "%f %f %f %f %f" |
#define | HEADER6IN "%f %f %f %f %f %f" |
#define | HEADER7IN "%f %f %f %f %f %f %f" |
#define | HEADER8IN "%f %f %f %f %f %f %f %f" |
#define | HEADER9IN "%f %f %f %f %f %f %f %f %f" |
#define | HEADER10IN "%f %f %f %f %f %f %f %f %f %f" |
#define | HEADER14IN "%f %f %f %f %f %f %f %f %f %f %f %f %f %f" |
#define | HEADER17IN "%f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f" |
#define | HEADER18IN "%f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f" |
#define | HEADER19IN "%f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f" |
#define | HEADER21IN "%f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f" |
#define | RESTARTHEADER |
#define | WRITERESTARTHEADER |
#define | HEADERONEOUT "%26.20g" |
#define | SFTYPEHEADERONEOUT "%31.26g" |
General code definitions of dependent quantities.
MNEMONICS or other things that should rarely change, or things that on depend on the above items (e.g. if statements, loops, etc.)
Definition in file global.depmnemonics.h.
#define BIG (1.e+30) |
Definition at line 621 of file global.depmnemonics.h.
Definition at line 123 of file global.depmnemonics.h.
#define CHECKRHONEGZERORESTART 1 |
whether to check if rho<=0 or u<=0 when restarting.
Definition at line 46 of file global.depmnemonics.h.
#define CMAX 1 |
Definition at line 460 of file global.depmnemonics.h.
#define CMIN 0 |
Definition at line 459 of file global.depmnemonics.h.
#define COMPUTE4FIELDatALL (COMPUTE4FIELDforFLUX || LIMITDTWITHSOURCETERM || ANALYTICSOURCE || PLINEWITHFIELD || VLINEWITHGDETRHO || TRUEFAST==1) |
OPTMARK: Should remove use of b^ b_.
Definition at line 173 of file global.depmnemonics.h.
#define COMPUTE4FIELDforFLUX (MAXWELL==GENMAXWELL || USEGLOBALWAVE==0) |
OPTMARK: Should remove use of b^ b_.
Definition at line 170 of file global.depmnemonics.h.
#define DBL_EPSILON (2.2204460492503131e-16L) |
Definition at line 549 of file global.depmnemonics.h.
Definition at line 132 of file global.depmnemonics.h.
#define DIVPLDIR1 (SHOCKRADPLDIR3+1) |
below only for DIVERGENCEMETHOD==DIVMETHODPREFLUX
Definition at line 81 of file global.depmnemonics.h.
#define DIVPLDIR2 (DIVPLDIR1+1) |
Definition at line 82 of file global.depmnemonics.h.
#define DIVPLDIR3 (DIVPLDIR2+1) |
Definition at line 83 of file global.depmnemonics.h.
#define DIVRADPLDIR1 (DIVPLDIR3+1) |
Definition at line 84 of file global.depmnemonics.h.
#define DIVRADPLDIR2 (DIVRADPLDIR1+1) |
Definition at line 85 of file global.depmnemonics.h.
#define DIVRADPLDIR3 (DIVRADPLDIR2+1) |
Definition at line 86 of file global.depmnemonics.h.
#define DOALLPL 0 |
Definition at line 118 of file global.depmnemonics.h.
#define DOBPL 1 |
Definition at line 119 of file global.depmnemonics.h.
#define DOEVOLVERHO 1 |
Definition at line 32 of file global.depmnemonics.h.
#define DOEVOLVEUU 1 |
Definition at line 38 of file global.depmnemonics.h.
#define DONONBPL 2 |
Definition at line 120 of file global.depmnemonics.h.
#define DOSPECIALPL 3 |
Definition at line 121 of file global.depmnemonics.h.
#define DOUBLETYPE 1 |
Definition at line 535 of file global.depmnemonics.h.
#define EOMFUNCASSIGN | ( | pl | ) | (*gdet) |
Definition at line 191 of file global.depmnemonics.h.
#define EOMFUNCMAC | ( | pl | ) | gdet |
Definition at line 193 of file global.depmnemonics.h.
#define EOMFUNCNAME gdet |
this should be only place eomfunc[] or ieomfuncnosing[] are referred to! special cases: =GLOBALMETMACP1A0(eomfunc,loc,i,j,k); one regexp to use: eomfunc[([_>a-zA-Z0-9+-\ ()]+)] -> EOMFUNCMAC(\1) one regexp to use: ieomfuncnosing[([_>a-zA-Z0-9+-\ ()]+)] -> IEOMFUNCNOSINGMAC(\1)
Definition at line 190 of file global.depmnemonics.h.
#define EOMFUNCPTR &gdet |
Definition at line 192 of file global.depmnemonics.h.
#define EOMSETMHD 0 |
Definition at line 62 of file global.depmnemonics.h.
#define EOMSETRAD 1 |
Definition at line 63 of file global.depmnemonics.h.
#define EOMSETRADFORDT 2 |
Definition at line 64 of file global.depmnemonics.h.
#define FLOATTYPE 0 |
GLOBAL ARRAY SECTION.
size of data type used for all floats
Definition at line 534 of file global.depmnemonics.h.
#define FLT_EPSILON (1.19209290e-07F) |
Definition at line 545 of file global.depmnemonics.h.
#define FLUXESTOSAVEPL | ( | pl | ) | (pl==RHO || pl==UU || pl==U3 || pl==URAD0 || pl==URAD3 || YFLPL(pl) || pl==YL || pl==YNU) |
Definition at line 491 of file global.depmnemonics.h.
#define FLUXSPLITPEM | ( | dir | ) | (-100) |
Definition at line 158 of file global.depmnemonics.h.
#define FLUXSPLITPMA | ( | dir | ) | (-100) |
Definition at line 151 of file global.depmnemonics.h.
#define HEADER10IN "%f %f %f %f %f %f %f %f %f %f" |
Definition at line 776 of file global.depmnemonics.h.
#define HEADER14IN "%f %f %f %f %f %f %f %f %f %f %f %f %f %f" |
Definition at line 777 of file global.depmnemonics.h.
#define HEADER17IN "%f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f" |
Definition at line 778 of file global.depmnemonics.h.
#define HEADER18IN "%f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f" |
Definition at line 779 of file global.depmnemonics.h.
#define HEADER19IN "%f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f" |
Definition at line 780 of file global.depmnemonics.h.
#define HEADER21IN "%f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f" |
Definition at line 781 of file global.depmnemonics.h.
#define HEADER2IN "%f %f" |
Definition at line 768 of file global.depmnemonics.h.
#define HEADER3IN "%f %f %f" |
Definition at line 769 of file global.depmnemonics.h.
#define HEADER4IN "%f %f %f %f" |
Definition at line 770 of file global.depmnemonics.h.
#define HEADER5IN "%f %f %f %f %f" |
Definition at line 771 of file global.depmnemonics.h.
#define HEADER6IN "%f %f %f %f %f %f" |
Definition at line 772 of file global.depmnemonics.h.
#define HEADER7IN "%f %f %f %f %f %f %f" |
Definition at line 773 of file global.depmnemonics.h.
#define HEADER8IN "%f %f %f %f %f %f %f %f" |
Definition at line 774 of file global.depmnemonics.h.
#define HEADER9IN "%f %f %f %f %f %f %f %f %f" |
Definition at line 775 of file global.depmnemonics.h.
#define HEADERONEIN "%f" |
Definition at line 767 of file global.depmnemonics.h.
#define HEADERONEOUT "%26.20g" |
Definition at line 809 of file global.depmnemonics.h.
#define HSTEP (1.e-5) |
Definition at line 636 of file global.depmnemonics.h.
#define IEOMFUNCNOSINGMAC | ( | pl | ) | igdetnosing |
Definition at line 195 of file global.depmnemonics.h.
setup for various boundary situations so doesn't produce differences in irrelevant directions, whether boundary zones or not mac(?) macros are for use in definitions of other macros since macro with args needs to be directly a function of what's hardcoded, not some "replacement" since nothing is replaced, not to be used inside code for USING a macro.
Commented out non-macro versios of (e.g.) im1 since want to enforce correct macro expansion when used with macrofication of array accesses described in global.storage.h
Definition at line 231 of file global.depmnemonics.h.
#define INBOUNDHI1 (-1) |
Definition at line 313 of file global.depmnemonics.h.
#define INBOUNDHI2 (-1) |
Definition at line 353 of file global.depmnemonics.h.
#define INBOUNDHI3 (-1) |
Definition at line 393 of file global.depmnemonics.h.
#define INBOUNDLO1 (-N1BND) |
unlike other loops limits that should reduce to 0 when the N=1 to as if like dimension didn't exist, this one should force loop to not happen at all when N=1 since acts on boundary zones don't exist
Definition at line 312 of file global.depmnemonics.h.
#define INBOUNDLO2 (-N2BND) |
unlike other loops limits that should reduce to 0 when the N=1 to as if like dimension didn't exist, this one should force loop to not happen at all when N=1 since acts on boundary zones don't exist
Definition at line 352 of file global.depmnemonics.h.
#define INBOUNDLO3 (-N3BND) |
unlike other loops limits that should reduce to 0 when the N=1 to as if like dimension didn't exist, this one should force loop to not happen at all when N=1 since acts on boundary zones don't exist
Definition at line 392 of file global.depmnemonics.h.
#define INFACEBOUNDHI1 (-1) |
Definition at line 324 of file global.depmnemonics.h.
#define INFACEBOUNDHI2 (-1) |
Definition at line 364 of file global.depmnemonics.h.
#define INFACEBOUNDHI3 (-1) |
Definition at line 404 of file global.depmnemonics.h.
#define INFACEBOUNDLO1 (-N1BND) |
up to -1 since 0 is actually defined with original primitives generalize (expand) a bit:
Definition at line 323 of file global.depmnemonics.h.
#define INFACEBOUNDLO2 (-N2BND) |
generalize (expand) a bit:
Definition at line 363 of file global.depmnemonics.h.
#define INFACEBOUNDLO3 (-N3BND) |
generalize (expand) a bit:
Definition at line 403 of file global.depmnemonics.h.
#define INFULL1 (-N1BND) |
Definition at line 297 of file global.depmnemonics.h.
#define INFULL2 (-N2BND) |
Definition at line 337 of file global.depmnemonics.h.
#define INFULL3 (-N3BND) |
Definition at line 377 of file global.depmnemonics.h.
Definition at line 298 of file global.depmnemonics.h.
Definition at line 338 of file global.depmnemonics.h.
Definition at line 378 of file global.depmnemonics.h.
#define INHALF1 (-N1BND/2) |
Definition at line 303 of file global.depmnemonics.h.
#define INHALF2 (-N2BND/2) |
Definition at line 343 of file global.depmnemonics.h.
#define INHALF3 (-N3BND/2) |
Definition at line 383 of file global.depmnemonics.h.
#define INM1 -SHIFT1 |
Definition at line 307 of file global.depmnemonics.h.
#define INM2 -SHIFT2 |
Definition at line 347 of file global.depmnemonics.h.
#define INM3 -SHIFT3 |
Definition at line 387 of file global.depmnemonics.h.
Definition at line 305 of file global.depmnemonics.h.
Definition at line 345 of file global.depmnemonics.h.
Definition at line 385 of file global.depmnemonics.h.
Definition at line 233 of file global.depmnemonics.h.
Definition at line 236 of file global.depmnemonics.h.
Definition at line 249 of file global.depmnemonics.h.
Definition at line 251 of file global.depmnemonics.h.
Definition at line 253 of file global.depmnemonics.h.
#define KINDASMALL (1.e-30) |
Definition at line 623 of file global.depmnemonics.h.
#define km1mac | ( | k | ) | (k) |
Definition at line 265 of file global.depmnemonics.h.
#define kp1mac | ( | k | ) | (k) |
Definition at line 267 of file global.depmnemonics.h.
#define krefshiftmac | ( | k | ) | (k) |
Definition at line 269 of file global.depmnemonics.h.
#define LDBL_EPSILON (1.08420217248550443401e-19L) |
Definition at line 553 of file global.depmnemonics.h.
#define LOCALEOMFUNCMAC | ( | pl | ) | localgdet[0] |
Definition at line 194 of file global.depmnemonics.h.
#define LONGDOUBLETYPE 2 |
Definition at line 536 of file global.depmnemonics.h.
#define LONGLONGINTTYPE 3 |
Definition at line 537 of file global.depmnemonics.h.
#define MAXNUMPFLAGBND (MAX(MAX(NUMPFLAGBND1,NUMPFLAGBND2),NUMPFLAGBND3)) |
Definition at line 447 of file global.depmnemonics.h.
Definition at line 462 of file global.depmnemonics.h.
#define MINNUMREPRESENT FLT_MIN |
Definition at line 559 of file global.depmnemonics.h.
#define MY1EM4 (1.0/(2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0)) |
Definition at line 584 of file global.depmnemonics.h.
#define MY1EM5 (1.0/(2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0)) |
Definition at line 586 of file global.depmnemonics.h.
#define MY1EM6 (1.0/(2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0*2.0)) |
Definition at line 588 of file global.depmnemonics.h.
Definition at line 295 of file global.depmnemonics.h.
#define N1NOT1 ((N1>1) ? 1 : 0) |
Definition at line 274 of file global.depmnemonics.h.
Definition at line 335 of file global.depmnemonics.h.
#define N2NOT1 ((N2>1) ? 1 : 0) |
Definition at line 275 of file global.depmnemonics.h.
Definition at line 375 of file global.depmnemonics.h.
#define N3NOT1 ((N3>1) ? 1 : 0) |
Definition at line 276 of file global.depmnemonics.h.
Definition at line 422 of file global.depmnemonics.h.
Definition at line 421 of file global.depmnemonics.h.
#define NMAXBOUND ((NPRBOUND>NFLUXBOUND) ? NPRBOUND : NFLUXBOUND) |
processed version of npr definition since no immediate evaluation in standard c preprocessor this "global.defnprs.h" is generated by the program generatenprs.c
Definition at line 482 of file global.depmnemonics.h.
#define NONRADFULLPL | ( | pl | ) | (!RADFULLPL(pl)) |
Definition at line 137 of file global.depmnemonics.h.
#define NSPECIAL 6 |
Definition at line 100 of file global.depmnemonics.h.
#define NUM_CVT_TYPES 4 |
Definition at line 27 of file global.depmnemonics.h.
#define NUMCOND 2 |
Definition at line 67 of file global.depmnemonics.h.
#define NUMCORNINTERP 4 |
GODMARK: Could make a volume that is not NBIGBND*NBIGSM but may be smaller? used in init_mpi.c for workbc and workbc_int.
number of interpolation variables for staggered field method per B and v each
Definition at line 455 of file global.depmnemonics.h.
#define NUMCS 2 |
for wavespeeds.c and fluxcompute.c
Definition at line 458 of file global.depmnemonics.h.
#define NUMCURRENTSLOTS 5 |
Definition at line 142 of file global.depmnemonics.h.
#define NUMENERVAR (6+NPR+NPR+3) |
Definition at line 615 of file global.depmnemonics.h.
#define NUMEOMSETS (NUMTRUEEOMSETS) |
Definition at line 59 of file global.depmnemonics.h.
#define NUMEPSILON FLT_EPSILON |
Definition at line 560 of file global.depmnemonics.h.
#define NUMFARADAY 6 |
for above see diag.c and set_varstavg()
Definition at line 522 of file global.depmnemonics.h.
#define NUMFLUXDUMP (1) |
Definition at line 494 of file global.depmnemonics.h.
#define NUMFLUXESTOSAVE (1 + 2 + (EOMRADTYPE!=EOMRADNONE)*2 + NUMYFL*(DOYFL!=0) + (DOYL!=0) + (DOYNU!=0) ) |
Definition at line 490 of file global.depmnemonics.h.
#define NUMNORMDUMP (NPR+1+4*4+6) |
size of certain dumped tavg quantities was 29 =>
Definition at line 520 of file global.depmnemonics.h.
#define NUMOTHER 1 |
Definition at line 523 of file global.depmnemonics.h.
#define NUMPFLAGBND1 N1BND |
Definition at line 444 of file global.depmnemonics.h.
#define NUMPFLAGBND2 N2BND |
Definition at line 445 of file global.depmnemonics.h.
#define NUMPFLAGBND3 N3BND |
Definition at line 446 of file global.depmnemonics.h.
#define NUMPFLAGSBOUND (1+FLAGUTOPRIMFAIL) |
N?OFF and N?NOT1 are a bit redundant.
Definition at line 439 of file global.depmnemonics.h.
#define NUMPHYSICALFLUXTERMS (1 + 1+1+1 + (EOMRADTYPE!=EOMRADNONE)) |
Definition at line 489 of file global.depmnemonics.h.
#define NUMSHOCKPLS (3*(NUMTRUEEOMSETS*NUMCOND)) |
for STORESHOCKINDICATOR
Definition at line 73 of file global.depmnemonics.h.
#define NUMSQEPSILON (NUMEPSILON*NUMEPSILON) |
Definition at line 580 of file global.depmnemonics.h.
#define NUMSQRTEPSILON (sqrt(NUMEPSILON)) |
Definition at line 579 of file global.depmnemonics.h.
#define NUMSTRESSTERMS (NUMFLUXTERMS*NDIM*NDIM) |
Definition at line 524 of file global.depmnemonics.h.
#define NUMTRUEEOMSETS (1) |
how many sets of EOMs (MHD or MHD+RAD)
Definition at line 58 of file global.depmnemonics.h.
#define NUMVPOT (NDIM*4) |
4 space-time directions with only spatial parts used for now vpotarrayglobal holds vpot, vpot0, vpotlast, vpotcum
Definition at line 510 of file global.depmnemonics.h.
#define NUMVPOTDUMP (NDIM) |
Definition at line 511 of file global.depmnemonics.h.
#define NUMYFL (1 + 2 + 2*(EOMRADTYPE!=EOMRADNONE)) |
Definition at line 126 of file global.depmnemonics.h.
Definition at line 316 of file global.depmnemonics.h.
Definition at line 356 of file global.depmnemonics.h.
Definition at line 396 of file global.depmnemonics.h.
#define OUTBOUNDLO1 (N1) |
Definition at line 315 of file global.depmnemonics.h.
#define OUTBOUNDLO2 (N2) |
Definition at line 355 of file global.depmnemonics.h.
#define OUTBOUNDLO3 (N3) |
Definition at line 395 of file global.depmnemonics.h.
Definition at line 331 of file global.depmnemonics.h.
Definition at line 370 of file global.depmnemonics.h.
Definition at line 410 of file global.depmnemonics.h.
#define OUTFACEBOUNDLO1 (N1) |
from N1+1 since N1 is actually defined with original primitives (only true if not FLUXCTSTAG) generalize (expand) a bit:
Definition at line 330 of file global.depmnemonics.h.
#define OUTFACEBOUNDLO2 (N2) |
generalize (expand) a bit:
Definition at line 369 of file global.depmnemonics.h.
#define OUTFACEBOUNDLO3 (N3) |
generalize (expand) a bit:
Definition at line 409 of file global.depmnemonics.h.
Definition at line 299 of file global.depmnemonics.h.
Definition at line 339 of file global.depmnemonics.h.
Definition at line 379 of file global.depmnemonics.h.
Definition at line 300 of file global.depmnemonics.h.
Definition at line 340 of file global.depmnemonics.h.
Definition at line 380 of file global.depmnemonics.h.
Definition at line 301 of file global.depmnemonics.h.
Definition at line 341 of file global.depmnemonics.h.
Definition at line 381 of file global.depmnemonics.h.
Definition at line 304 of file global.depmnemonics.h.
Definition at line 344 of file global.depmnemonics.h.
Definition at line 384 of file global.depmnemonics.h.
Definition at line 308 of file global.depmnemonics.h.
Definition at line 348 of file global.depmnemonics.h.
Definition at line 388 of file global.depmnemonics.h.
Definition at line 306 of file global.depmnemonics.h.
Definition at line 346 of file global.depmnemonics.h.
Definition at line 386 of file global.depmnemonics.h.
#define PFTYPE signed int |
Definition at line 603 of file global.depmnemonics.h.
#define PFTYPEHEADERONEIN "%d" |
Definition at line 605 of file global.depmnemonics.h.
#define PFTYPEHEADERONEOUT "%d" |
Definition at line 604 of file global.depmnemonics.h.
Definition at line 128 of file global.depmnemonics.h.
#define RADFULLPL | ( | pl | ) | (pl==PRAD0 || pl==PRAD1 || pl==PRAD2 || pl==PRAD3 || pl==YFL4 || pl==YFL5) |
Definition at line 135 of file global.depmnemonics.h.
#define RADPL | ( | pl | ) | (pl==PRAD0 || pl==PRAD1 || pl==PRAD2 || pl==PRAD3) |
Definition at line 134 of file global.depmnemonics.h.
#define RESTARTHEADER |
Definition at line 782 of file global.depmnemonics.h.
#define SCALARPL | ( | pl | ) | (YFLPL(pl) || pl==YL || pl==YNU) |
Definition at line 130 of file global.depmnemonics.h.
#define SFTYPE float |
Definition at line 570 of file global.depmnemonics.h.
#define SFTYPEHEADERONEIN "%f" |
Definition at line 762 of file global.depmnemonics.h.
#define SFTYPEHEADERONEOUT "%31.26g" |
Definition at line 812 of file global.depmnemonics.h.
#define SHIFT1 N1NOT1 |
x1
Definition at line 294 of file global.depmnemonics.h.
#define SHIFT2 N2NOT1 |
x2
Definition at line 334 of file global.depmnemonics.h.
#define SHIFT3 N3NOT1 |
x3
Definition at line 374 of file global.depmnemonics.h.
#define SHOCKPLDIR1 (0) |
Definition at line 74 of file global.depmnemonics.h.
#define SHOCKPLDIR2 (SHOCKPLDIR1+1) |
Definition at line 75 of file global.depmnemonics.h.
#define SHOCKPLDIR3 (SHOCKPLDIR2+1) |
Definition at line 76 of file global.depmnemonics.h.
#define SHOCKPLSTOREPTOT (0) |
for STORESHOCKINDICATOR for temp storage assumes no more than NDIM*NUMTRUEEOMSETS in list!
Definition at line 90 of file global.depmnemonics.h.
#define SHOCKPLSTOREVEL1 (1) |
Definition at line 91 of file global.depmnemonics.h.
#define SHOCKPLSTOREVEL2 (SHOCKPLSTOREVEL1+1) |
Definition at line 92 of file global.depmnemonics.h.
#define SHOCKPLSTOREVEL3 (SHOCKPLSTOREVEL2+1) |
Definition at line 93 of file global.depmnemonics.h.
#define SHOCKRADPLDIR1 (SHOCKPLDIR3+1) |
Definition at line 77 of file global.depmnemonics.h.
#define SHOCKRADPLDIR2 (SHOCKRADPLDIR1+1) |
Definition at line 78 of file global.depmnemonics.h.
#define SHOCKRADPLDIR3 (SHOCKRADPLDIR2+1) |
Definition at line 79 of file global.depmnemonics.h.
#define SHOCKRADPLSTOREPTOT (SHOCKPLSTOREVEL3+1) |
Definition at line 94 of file global.depmnemonics.h.
#define SHOCKRADPLSTOREVEL1 (SHOCKRADPLSTOREPTOT+1) |
Definition at line 95 of file global.depmnemonics.h.
#define SHOCKRADPLSTOREVEL2 (SHOCKRADPLSTOREVEL1+1) |
Definition at line 96 of file global.depmnemonics.h.
#define SHOCKRADPLSTOREVEL3 (SHOCKRADPLSTOREVEL2+1) |
Definition at line 97 of file global.depmnemonics.h.
#define SIGNFLIPB1 (FLIPB1AXIS==0 ? 1.0 : -1.0) |
Definition at line 204 of file global.depmnemonics.h.
#define SIGNFLIPB2 (FLIPB2AXIS==0 ? 1.0 : -1.0) |
Definition at line 207 of file global.depmnemonics.h.
#define SIGNFLIPB3 (FLIPB3AXIS==0 ? 1.0 : -1.0) |
Definition at line 210 of file global.depmnemonics.h.
#define SIGNFLIPGDET (FLIPGDETAXIS==0 ? 1.0 : -1.0) |
used by mpi_init.c for some bound types to set sign of copy for polar BCs
Definition at line 200 of file global.depmnemonics.h.
#define SIGNFLIPU1 (FLIPU1AXIS==0 ? 1.0 : -1.0) |
used to set sign of U1,B1 across axis
Definition at line 203 of file global.depmnemonics.h.
#define SIGNFLIPU2 (FLIPU2AXIS==0 ? 1.0 : -1.0) |
used to set sign of U2,B2 across axis
Definition at line 206 of file global.depmnemonics.h.
#define SIGNFLIPU3 (FLIPU3AXIS==0 ? 1.0 : -1.0) |
used to set sign of U3,B3 across axis
Definition at line 209 of file global.depmnemonics.h.
#define SLEPSILON (1.e-6) |
Definition at line 632 of file global.depmnemonics.h.
#define SMALL (1.e-35) |
Definition at line 622 of file global.depmnemonics.h.
#define SPECIALPL1 RHO |
choose SPECIALPL
Definition at line 102 of file global.depmnemonics.h.
#define SPECIALPL2 UU |
Definition at line 103 of file global.depmnemonics.h.
#define SPECIALPL3 B1 |
Definition at line 104 of file global.depmnemonics.h.
#define SPECIALPL4 B2 |
Definition at line 105 of file global.depmnemonics.h.
#define SPECIALPL5 B3 |
Definition at line 106 of file global.depmnemonics.h.
#define SPECIALPL6 URAD0 |
Definition at line 107 of file global.depmnemonics.h.
#define STORE_GAMMA_PRIM_REDUCTION_FRACTION (WENO_USE_PRIM_REDUCTION && (VARTOINTERP == PRIMTOINTERP_3VEL_GAMMA || VARTOINTERP == PRIMTOINTERP_RHOV_GAMMA || VARTOINTERP == PRIMTOINTERP_3VELREL_GAMMAREL || VARTOINTERP == PRIMTOINTERP_3VELREL_GAMMAREL_DXDXP) ) |
RK-related macros Doesn't even depend upon N?, N?M, or N?BND, etc.
But does depend upon MAXTIMEORDER equals to unity if the interpolation of gamma is performed and if requested to use prim. reduction
Definition at line 16 of file global.depmnemonics.h.
#define USEGLOBALWAVE 0 |
Definition at line 163 of file global.depmnemonics.h.
#define VERYBIG (1.e37) |
Definition at line 620 of file global.depmnemonics.h.
#define WRITERESTARTHEADER |
Definition at line 802 of file global.depmnemonics.h.
#define YFLPL | ( | pl | ) | (pl==YFL1 || pl==YFL2 || pl==YFL3 || pl==YFL4 || pl==YFL5) |
Definition at line 127 of file global.depmnemonics.h.