HARM
harm and utilities
 All Data Structures Files Functions Variables Typedefs Macros Pages
para_and_paraenohybrid.h
Go to the documentation of this file.
1 
6 //
7 // PARA settings:
8 //
9 
10 #define PMC 100
11 // PMC: originally used in PPM paper -- Xiaoyue says fails on nonlinear tests since has no limiter -- but they used it, right?
12 
13 #define MINM_STEEPENER 101
14 
16 #define PARALINE2EXTREME 1
17 #define PARALINE2LIM MC
18 
19 #if(WHICHPARA==PARA2)
20 #define PARA2LIM VANL
21 
22 
23 
24 
25 #elif(WHICHPARA==PARA3)
26 
27 #define PARA2LIM MC
28 #elif(WHICHPARA==PARA4)
29 
30 #define PARA2LIM MC
31 
32 #endif
33 
37 #define JONPARASMOOTH 0 // default 0
38 
40 //
41 //
42 // HYBRID PPM SETTINGS (only used when lim=WENO5*)
43 //
45 
46 
47 // whether to use para with WENO
48 // CHANGINGMARK: Not correct with MPI -- e.g. produces monopoles for any FLUXB
49 //#define PARAMODWENO 1 // default: 1 // now global variable
50 
52 #define FULLHYBRID 1 // default: 1
53 
56 #define DOPPMCONTACTSTEEPMODWENO 0 // default: 0
57 
58 #define DOPPMSTEEPVARTYPEMODWENO 0 // default: 0
59 #define DOPPMREDUCEMODWENO 1 // default: 0 (stay speculative) -- well, causes problems. In general strong shock will be too oscillatory so need to keep and hope that shock indicator only activates in strong shocks
60 
64 #define USEMCFORLOWERORDERWENO 0 // default: 0
65 
66 
67 
68 
69 
70 
71 
72 
73 
74 
76 //
77 // PPM settings for para4gen() used by *all* para methods (lim=PARA,PARAFLAT,PARALINE)
78 //
80 
81 #define JONPARAREDUCE 0 // default: 0
82 
85 #define JONPARASTEEP 0 // default: 0
86 
88 #define AVGINPUT 0 // default: 0
89 
92 #define WHICHLIMITERTOUSEFORLR 0 // default: 0
93 
98 #define PARAGENDQALLOWEXTREMUM 0 // default: 0 // bit too speculative in general -- and with new JONPARASMOOTH==1 not necessary really
99 
100 
101 
103 //
104 // PPM SETTINGS for checkparamonotonicity()
105 //
107 
111 #define NONMONOLIM 0 // default: 0
112 
113 
114 
115 
117 //
118 // FOR PARAPL (i.e. lim=PARAFLAT) only
119 //
121 
123 #define DOPPMREDUCE 1 // default: 1
124 
125 #define DOPPMCONTACTSTEEP 0 // default: 0
126 
127 
129 //
130 // PPM SETTINGS for ftilde() (lim=PARAFLAT and PARALINE only)
131 //
133 
134 //#define SP0 0.65 // for strong shocks
135 #define SP0 0.75 // FLASH
136 
137 #define SPSMOOTH 0.5 // default: 0.5
138 
139 #define SV0 (0.0)
140 
142 //
143 //
144 // PPM SETTINGS for parasteep() (only for lim=PARAFLAT and PARALINE)
145 //
147 
149 #define DOPPMSTEEPVARTYPE 0 // default: 0
150 
151 
152 
153 
154