File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -203,18 +203,19 @@ def __get_sim_fpp(self, print: bool) -> str:
203203 wenojs = 0 if (mapped_weno or wenoz or teno ) else 1
204204 igr = 1 if self .params .get ("igr" , 'F' ) == 'T' else 0
205205
206- if self .params .get ("igr" , "F" ) == 'T' :
207- weno_order = 5
208- weno_polyn = 3
209-
210206 recon_type = self .params .get ("recon_type" , 1 )
207+
211208 # This fixes a bug on Frontier to do with allocating 0:0 arrays
212209 weno_order = int (self .params .get ("weno_order" , 0 ))
213210 if recon_type == 1 :
214211 weno_polyn = int ((weno_order - 1 ) / 2 )
215212 else :
216213 weno_polyn = 1
217214
215+ if self .params .get ("igr" , "F" ) == 'T' :
216+ weno_order = 5
217+ weno_polyn = 3
218+
218219 if teno :
219220 weno_num_stencils = weno_order - 3
220221 else :
You can’t perform that action at this time.
0 commit comments