1 #ifndef ERF_INTERPOLATE_WENO_Z_H_
2 #define ERF_INTERPOLATE_WENO_Z_H_
11 WENO_Z3 (
const amrex::Array4<const amrex::Real>& phi,
23 amrex::Real upw_lo)
const
26 amrex::Real sp1 =
m_phi(i+1, j , k , qty_index);
27 amrex::Real s =
m_phi(i , j , k , qty_index);
28 amrex::Real sm1 =
m_phi(i-1, j , k , qty_index);
29 amrex::Real sm2 =
m_phi(i-2, j , k , qty_index);
33 }
else if (upw_lo < -
tol) {
36 val_lo = 0.5 * (s + sm1);
48 amrex::Real upw_lo)
const
51 amrex::Real sp1 =
m_phi(i , j+1, k , qty_index);
52 amrex::Real s =
m_phi(i , j , k , qty_index);
53 amrex::Real sm1 =
m_phi(i , j-1, k , qty_index);
54 amrex::Real sm2 =
m_phi(i , j-2, k , qty_index);
58 }
else if (upw_lo < -
tol) {
61 val_lo = 0.5 * (s + sm1);
73 amrex::Real upw_lo)
const
76 amrex::Real sp1 =
m_phi(i , j , k+1, qty_index);
77 amrex::Real s =
m_phi(i , j , k , qty_index);
78 amrex::Real sm1 =
m_phi(i , j , k-1, qty_index);
79 amrex::Real sm2 =
m_phi(i , j , k-2, qty_index);
83 }
else if (upw_lo < -
tol) {
86 val_lo = 0.5 * (s + sm1);
94 const amrex::Real& s ,
95 const amrex::Real& sp1)
const
98 amrex::Real b1 = (s - sm1) * (s - sm1);
99 amrex::Real b2 = (sp1 - s) * (sp1 - s);
102 amrex::Real t5 = std::abs(b2 - b1);
103 amrex::Real w1 =
g1 * ( 1.0 + (t5*t5) / ((
eps + b1) * (
eps + b1)) );
104 amrex::Real w2 =
g2 * ( 1.0 + (t5*t5) / ((
eps + b2) * (
eps + b2)) );
107 amrex::Real wsum = w1 + w2;
110 amrex::Real v1 = -sm1 + 3.0 * s;
111 amrex::Real v2 = s + sp1;
114 return ( (w1 * v1 + w2 * v2) / (2.0 * wsum) );
118 amrex::Array4<const amrex::Real>
m_phi;
119 const amrex::Real
eps=1.0e-6;
120 const amrex::Real
tol=1.0e-12;
121 static constexpr amrex::Real
g1=(1.0/3.0);
122 static constexpr amrex::Real
g2=(2.0/3.0);
140 const int& qty_index,
142 amrex::Real upw_lo)
const
145 amrex::Real sp1 =
m_phi(i+1, j , k , qty_index);
146 amrex::Real s =
m_phi(i , j , k , qty_index);
147 amrex::Real sm1 =
m_phi(i-1, j , k , qty_index);
148 amrex::Real sm2 =
m_phi(i-2, j , k , qty_index);
152 }
else if (upw_lo < -
tol) {
155 val_lo = 0.5 * (s + sm1);
165 const int& qty_index,
167 amrex::Real upw_lo)
const
170 amrex::Real sp1 =
m_phi(i , j+1, k , qty_index);
171 amrex::Real s =
m_phi(i , j , k , qty_index);
172 amrex::Real sm1 =
m_phi(i , j-1, k , qty_index);
173 amrex::Real sm2 =
m_phi(i , j-2, k , qty_index);
177 }
else if (upw_lo < -
tol) {
180 val_lo = 0.5 * (s + sm1);
190 const int& qty_index,
192 amrex::Real upw_lo)
const
195 amrex::Real sp1 =
m_phi(i , j , k+1, qty_index);
196 amrex::Real s =
m_phi(i , j , k , qty_index);
197 amrex::Real sm1 =
m_phi(i , j , k-1, qty_index);
198 amrex::Real sm2 =
m_phi(i , j , k-2, qty_index);
202 }
else if (upw_lo < -
tol) {
205 val_lo = 0.5 * (s + sm1);
213 const amrex::Real& s ,
214 const amrex::Real& sp1)
const
217 amrex::Real b1 = (s - sm1) * (s - sm1);
218 amrex::Real b2 = (sp1 - s) * (sp1 - s);
219 amrex::Real b3 = ( (13.0 / 12.0) * ((sm1 - 2.0*s + sp1)*(sm1 - 2.0*s + sp1)) ) + ( ((sp1 - sm1)*(sp1 - sm1)) / 4.0 );
222 amrex::Real t5 = ( std::abs(b3 - b1) + std::abs(b3 - b2) ) / 32.0;
223 amrex::Real a1 =
g1 * ( 1.0 + (t5*t5) / ((
eps + b1) * (
eps + b1)) );
224 amrex::Real a2 =
g2 * ( 1.0 + (t5*t5) / ((
eps + b2) * (
eps + b2)) );
225 amrex::Real a3 =
g3 * ( 1.0 + (t5*t5) / ((
eps + b3) * (
eps + b3)) );
226 amrex::Real asum = a1 + a2 + a3;
227 amrex::Real w1 = a1 / asum;
228 amrex::Real w2 = a2 / asum;
229 amrex::Real w3 = a3 / asum;
232 amrex::Real v1 = (-sm1 + 3.0 * s) / 2.0;
233 amrex::Real v2 = ( s + sp1) / 2.0;
234 amrex::Real v3 = (-sm1 + 5.0 * s + 2.0 * sp1) / 6.0;
237 return ( (w3 /
g3) * (v3 -
g1 * v1 -
g2 * v2) + w1 * v1 + w2 * v2 );
241 amrex::Array4<const amrex::Real>
m_phi;
242 const amrex::Real
eps=1.0e-6;
243 const amrex::Real
tol=1.0e-12;
244 static constexpr amrex::Real
g1=(1.0/3.0);
245 static constexpr amrex::Real
g2=(1.0/3.0);
246 static constexpr amrex::Real
g3=(1.0/3.0);
254 WENO_Z5 (
const amrex::Array4<const amrex::Real>& phi,
264 const int& qty_index,
266 amrex::Real upw_lo)
const
269 amrex::Real sp2 =
m_phi(i+2, j , k , qty_index);
270 amrex::Real sp1 =
m_phi(i+1, j , k , qty_index);
271 amrex::Real s =
m_phi(i , j , k , qty_index);
272 amrex::Real sm1 =
m_phi(i-1, j , k , qty_index);
273 amrex::Real sm2 =
m_phi(i-2, j , k , qty_index);
274 amrex::Real sm3 =
m_phi(i-3, j , k , qty_index);
277 val_lo =
Evaluate(sm3,sm2,sm1,s ,sp1);
278 }
else if (upw_lo < -
tol) {
279 val_lo =
Evaluate(sp2,sp1,s,sm1,sm2);
281 val_lo = 0.5 * (s + sm1);
291 const int& qty_index,
293 amrex::Real upw_lo)
const
296 amrex::Real sp2 =
m_phi(i , j+2, k , qty_index);
297 amrex::Real sp1 =
m_phi(i , j+1, k , qty_index);
298 amrex::Real s =
m_phi(i , j , k , qty_index);
299 amrex::Real sm1 =
m_phi(i , j-1, k , qty_index);
300 amrex::Real sm2 =
m_phi(i , j-2, k , qty_index);
301 amrex::Real sm3 =
m_phi(i , j-3, k , qty_index);
304 val_lo =
Evaluate(sm3,sm2,sm1,s ,sp1);
305 }
else if (upw_lo < -
tol) {
306 val_lo =
Evaluate(sp2,sp1,s,sm1,sm2);
308 val_lo = 0.5 * (s + sm1);
318 const int& qty_index,
320 amrex::Real upw_lo)
const
323 amrex::Real sp2 =
m_phi(i , j , k+2, qty_index);
324 amrex::Real sp1 =
m_phi(i , j , k+1, qty_index);
325 amrex::Real s =
m_phi(i , j , k , qty_index);
326 amrex::Real sm1 =
m_phi(i , j , k-1, qty_index);
327 amrex::Real sm2 =
m_phi(i , j , k-2, qty_index);
328 amrex::Real sm3 =
m_phi(i , j , k-3, qty_index);
331 val_lo =
Evaluate(sm3,sm2,sm1,s ,sp1);
332 }
else if (upw_lo < -
tol) {
333 val_lo =
Evaluate(sp2,sp1,s,sm1,sm2);
335 val_lo = 0.5 * (s + sm1);
343 const amrex::Real& sm1,
344 const amrex::Real& s ,
345 const amrex::Real& sp1,
346 const amrex::Real& sp2)
const
349 amrex::Real b1 =
c1 * (sm2 - 2.0 * sm1 + s) * (sm2 - 2.0 * sm1 + s) +
350 0.25 * (sm2 - 4.0 * sm1 + 3.0 * s) * (sm2 - 4.0 * sm1 + 3.0 * s);
351 amrex::Real b2 =
c1 * (sm1 - 2.0 * s + sp1) * (sm1 - 2.0 * s + sp1) +
352 0.25 * (sm1 - sp1) * (sm1 - sp1);
353 amrex::Real b3 =
c1 * (s - 2.0 * sp1 + sp2) * (s - 2.0 * sp1 + sp2) +
354 0.25 * (3.0 * s - 4.0 * sp1 + sp2) * (3.0 * s - 4.0 * sp1 + sp2);
357 amrex::Real t5 = std::abs(b3 - b1);
358 amrex::Real w1 =
g1 * ( 1.0 + (t5*t5) / ((
eps + b1) * (
eps + b1)) );
359 amrex::Real w2 =
g2 * ( 1.0 + (t5*t5) / ((
eps + b2) * (
eps + b2)) );
360 amrex::Real w3 =
g3 * ( 1.0 + (t5*t5) / ((
eps + b3) * (
eps + b3)) );
363 amrex::Real wsum = w1 + w2 + w3;
366 amrex::Real v1 = 2.0 * sm2 - 7.0 * sm1 + 11.0 * s;
367 amrex::Real v2 = -sm1 + 5.0 * s + 2.0 * sp1;
368 amrex::Real v3 = 2.0 * s + 5.0 * sp1 - sp2;
371 return ( (w1 * v1 + w2 * v2 + w3 * v3) / (6.0 * wsum) );
375 amrex::Array4<const amrex::Real>
m_phi;
376 const amrex::Real
eps=1.0e-6;
377 const amrex::Real
tol=1.0e-12;
378 static constexpr amrex::Real
c1=(13.0/12.0);
379 static constexpr amrex::Real
g1=(1.0/10.0);
380 static constexpr amrex::Real
g2=(3.0/5.0);
381 static constexpr amrex::Real
g3=(3.0/10.0);
389 WENO_Z7 (
const amrex::Array4<const amrex::Real>& phi,
399 const int& qty_index,
401 amrex::Real upw_lo)
const
404 amrex::Real sp3 =
m_phi(i+3, j , k , qty_index);
405 amrex::Real sp2 =
m_phi(i+2, j , k , qty_index);
406 amrex::Real sp1 =
m_phi(i+1, j , k , qty_index);
407 amrex::Real s =
m_phi(i , j , k , qty_index);
408 amrex::Real sm1 =
m_phi(i-1, j , k , qty_index);
409 amrex::Real sm2 =
m_phi(i-2, j , k , qty_index);
410 amrex::Real sm3 =
m_phi(i-3, j , k , qty_index);
411 amrex::Real sm4 =
m_phi(i-4, j , k , qty_index);
414 val_lo =
Evaluate(sm4,sm3,sm2,sm1,s ,sp1,sp2);
415 }
else if (upw_lo < -
tol) {
416 val_lo =
Evaluate(sp3,sp2,sp1,s ,sm1,sm2,sm3);
418 val_lo = 0.5 * (s + sm1);
428 const int& qty_index,
430 amrex::Real upw_lo)
const
433 amrex::Real sp3 =
m_phi(i , j+3, k , qty_index);
434 amrex::Real sp2 =
m_phi(i , j+2, k , qty_index);
435 amrex::Real sp1 =
m_phi(i , j+1, k , qty_index);
436 amrex::Real s =
m_phi(i , j , k , qty_index);
437 amrex::Real sm1 =
m_phi(i , j-1, k , qty_index);
438 amrex::Real sm2 =
m_phi(i , j-2, k , qty_index);
439 amrex::Real sm3 =
m_phi(i , j-3, k , qty_index);
440 amrex::Real sm4 =
m_phi(i , j-4, k , qty_index);
443 val_lo =
Evaluate(sm4,sm3,sm2,sm1,s ,sp1,sp2);
444 }
else if (upw_lo < -
tol) {
445 val_lo =
Evaluate(sp3,sp2,sp1,s ,sm1,sm2,sm3);
447 val_lo = 0.5 * (s + sm1);
457 const int& qty_index,
459 amrex::Real upw_lo)
const
462 amrex::Real sp3 =
m_phi(i , j , k+2, qty_index);
463 amrex::Real sp2 =
m_phi(i , j , k+2, qty_index);
464 amrex::Real sp1 =
m_phi(i , j , k+1, qty_index);
465 amrex::Real s =
m_phi(i , j , k , qty_index);
466 amrex::Real sm1 =
m_phi(i , j , k-1, qty_index);
467 amrex::Real sm2 =
m_phi(i , j , k-2, qty_index);
468 amrex::Real sm3 =
m_phi(i , j , k-3, qty_index);
469 amrex::Real sm4 =
m_phi(i , j , k-3, qty_index);
472 val_lo =
Evaluate(sm4,sm3,sm2,sm1,s ,sp1,sp2);
473 }
else if (upw_lo < -
tol) {
474 val_lo =
Evaluate(sp3,sp2,sp1,s ,sm1,sm2,sm3);
476 val_lo = 0.5 * (s + sm1);
484 const amrex::Real& sm2,
485 const amrex::Real& sm1,
486 const amrex::Real& s ,
487 const amrex::Real& sp1,
488 const amrex::Real& sp2,
489 const amrex::Real& sp3)
const
492 amrex::Real b1 = ( sm3 * sm3 * 6649./2880.0
493 - sm3 * sm2 * 2623./160.0
494 + sm3 * sm1 * 9449./480.0
495 - sm3 * s * 11389./1440.0
496 + sm2 * sm2 * 28547./960.0
497 - sm2 * sm1 * 35047./480.0
498 + sm2 * s * 14369./480.0
499 + sm1 * sm1 * 44747./960.0
500 - sm1 * s * 6383./160.0
501 + s * s * 25729./2880.0 );
502 amrex::Real b2 = ( sm2 * sm2 * 3169/2880.0
503 - sm2 * sm1 * 3229/480.0
504 + sm2 * s * 3169/480.0
505 - sm2 * sp1 * 2989/1440.0
506 + sm1 * sm1 * 11147/960.0
507 - sm1 * s * 11767/480.0
508 + sm1 * sp1 * 1283/160.0
509 + s * s * 13667/960.0
510 - s * sp1 * 5069/480.0
511 + sp1 * sp1 * 6649/2880.0 );
512 amrex::Real b3 = ( sm1 * sm1 * 6649./2880.0
513 - sm1 * s * 5069./480.0
514 + sm1 * sp1 * 1283./160.0
515 - sm1 * sp2 * 2989./1440.0
516 + s * s * 13667./960.0
517 - s * sp1 * 11767./480.0
518 + s * sp2 * 3169./480.0
519 + sp1 * sp1 * 11147./960.0
520 - sp1 * sp2 * 3229./480.0
521 + sp2 * sp2 * 3169./2880.0 );
522 amrex::Real b4 = ( s * s * 25729./2880.
523 - s * sp1 * 6383./160.
524 + s * sp2 * 14369./480.
525 - s * sp3 * 11389./1440.
526 + sp1 * sp1 * 44747./960.
527 - sp1 * sp2 * 35047./480.
528 + sp1 * sp3 * 9449./480.
529 + sp2 * sp2 * 28547./960.
530 - sp2 * sp3 * 2623./160.
531 + sp3 * sp3 * 6649./2880. );
534 amrex::Real t5 = std::abs(b1 - b2 - b3 + b4);
535 amrex::Real w1 =
g1 * ( 1.0 + (t5*t5) / ((
eps + b1) * (
eps + b1)) );
536 amrex::Real w2 =
g2 * ( 1.0 + (t5*t5) / ((
eps + b2) * (
eps + b2)) );
537 amrex::Real w3 =
g3 * ( 1.0 + (t5*t5) / ((
eps + b3) * (
eps + b3)) );
538 amrex::Real w4 =
g4 * ( 1.0 + (t5*t5) / ((
eps + b3) * (
eps + b3)) );
541 amrex::Real wsum = w1 + w2 + w3 + w4;
544 amrex::Real v1 = (-0.3125)*sm3 + ( 1.3125)*sm2 + (-2.1875)*sm1 + ( 2.1875)*s;
545 amrex::Real v2 = ( 0.0625)*sm2 + (-0.3125)*sm1 + ( 0.9375)*s + ( 0.3125)*sp1;
546 amrex::Real v3 = (-0.0625)*sm1 + ( 0.5625)*s + ( 0.5625)*sp1 + (-0.0625)*sp2;
547 amrex::Real v4 = ( 0.3125)*s + ( 0.9375)*sp1 + (-0.3125)*sp2 + ( 0.0625)*sp3;
550 return ( (w1 * v1 + w2 * v2 + w3 * v3 + w4 * v4) / (wsum) );
554 amrex::Array4<const amrex::Real>
m_phi;
555 const amrex::Real
eps=1.0e-40;
556 const amrex::Real
tol=1.0e-12;
557 static constexpr amrex::Real
g1=( 1.0/64.0);
558 static constexpr amrex::Real
g2=(21.0/64.0);
559 static constexpr amrex::Real
g3=(35.0/64.0);
560 static constexpr amrex::Real
g4=( 7.0/64.0);
Definition: ERF_Interpolation_WENO_Z.H:129
static constexpr amrex::Real g2
Definition: ERF_Interpolation_WENO_Z.H:245
amrex::Array4< const amrex::Real > m_phi
Definition: ERF_Interpolation_WENO_Z.H:241
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void InterpolateInZ(const int &i, const int &j, const int &k, const int &qty_index, amrex::Real &val_lo, amrex::Real upw_lo) const
Definition: ERF_Interpolation_WENO_Z.H:187
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Evaluate(const amrex::Real &sm1, const amrex::Real &s, const amrex::Real &sp1) const
Definition: ERF_Interpolation_WENO_Z.H:212
static constexpr amrex::Real g3
Definition: ERF_Interpolation_WENO_Z.H:246
WENO_MZQ3(const amrex::Array4< const amrex::Real > &phi, const amrex::Real)
Definition: ERF_Interpolation_WENO_Z.H:130
const amrex::Real eps
Definition: ERF_Interpolation_WENO_Z.H:242
static constexpr amrex::Real g1
Definition: ERF_Interpolation_WENO_Z.H:244
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void InterpolateInX(const int &i, const int &j, const int &k, const int &qty_index, amrex::Real &val_lo, amrex::Real upw_lo) const
Definition: ERF_Interpolation_WENO_Z.H:137
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void InterpolateInY(const int &i, const int &j, const int &k, const int &qty_index, amrex::Real &val_lo, amrex::Real upw_lo) const
Definition: ERF_Interpolation_WENO_Z.H:162
const amrex::Real tol
Definition: ERF_Interpolation_WENO_Z.H:243
Definition: ERF_Interpolation_WENO_Z.H:10
const amrex::Real eps
Definition: ERF_Interpolation_WENO_Z.H:119
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void InterpolateInZ(const int &i, const int &j, const int &k, const int &qty_index, amrex::Real &val_lo, amrex::Real upw_lo) const
Definition: ERF_Interpolation_WENO_Z.H:68
amrex::Array4< const amrex::Real > m_phi
Definition: ERF_Interpolation_WENO_Z.H:118
WENO_Z3(const amrex::Array4< const amrex::Real > &phi, const amrex::Real)
Definition: ERF_Interpolation_WENO_Z.H:11
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Evaluate(const amrex::Real &sm1, const amrex::Real &s, const amrex::Real &sp1) const
Definition: ERF_Interpolation_WENO_Z.H:93
static constexpr amrex::Real g2
Definition: ERF_Interpolation_WENO_Z.H:122
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void InterpolateInX(const int &i, const int &j, const int &k, const int &qty_index, amrex::Real &val_lo, amrex::Real upw_lo) const
Definition: ERF_Interpolation_WENO_Z.H:18
static constexpr amrex::Real g1
Definition: ERF_Interpolation_WENO_Z.H:121
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void InterpolateInY(const int &i, const int &j, const int &k, const int &qty_index, amrex::Real &val_lo, amrex::Real upw_lo) const
Definition: ERF_Interpolation_WENO_Z.H:43
const amrex::Real tol
Definition: ERF_Interpolation_WENO_Z.H:120
Definition: ERF_Interpolation_WENO_Z.H:253
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Evaluate(const amrex::Real &sm2, const amrex::Real &sm1, const amrex::Real &s, const amrex::Real &sp1, const amrex::Real &sp2) const
Definition: ERF_Interpolation_WENO_Z.H:342
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void InterpolateInZ(const int &i, const int &j, const int &k, const int &qty_index, amrex::Real &val_lo, amrex::Real upw_lo) const
Definition: ERF_Interpolation_WENO_Z.H:315
static constexpr amrex::Real g3
Definition: ERF_Interpolation_WENO_Z.H:381
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void InterpolateInY(const int &i, const int &j, const int &k, const int &qty_index, amrex::Real &val_lo, amrex::Real upw_lo) const
Definition: ERF_Interpolation_WENO_Z.H:288
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void InterpolateInX(const int &i, const int &j, const int &k, const int &qty_index, amrex::Real &val_lo, amrex::Real upw_lo) const
Definition: ERF_Interpolation_WENO_Z.H:261
static constexpr amrex::Real g1
Definition: ERF_Interpolation_WENO_Z.H:379
amrex::Array4< const amrex::Real > m_phi
Definition: ERF_Interpolation_WENO_Z.H:375
static constexpr amrex::Real c1
Definition: ERF_Interpolation_WENO_Z.H:378
const amrex::Real eps
Definition: ERF_Interpolation_WENO_Z.H:376
static constexpr amrex::Real g2
Definition: ERF_Interpolation_WENO_Z.H:380
const amrex::Real tol
Definition: ERF_Interpolation_WENO_Z.H:377
WENO_Z5(const amrex::Array4< const amrex::Real > &phi, const amrex::Real)
Definition: ERF_Interpolation_WENO_Z.H:254
Definition: ERF_Interpolation_WENO_Z.H:388
static constexpr amrex::Real g1
Definition: ERF_Interpolation_WENO_Z.H:557
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Evaluate(const amrex::Real &sm3, const amrex::Real &sm2, const amrex::Real &sm1, const amrex::Real &s, const amrex::Real &sp1, const amrex::Real &sp2, const amrex::Real &sp3) const
Definition: ERF_Interpolation_WENO_Z.H:483
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void InterpolateInX(const int &i, const int &j, const int &k, const int &qty_index, amrex::Real &val_lo, amrex::Real upw_lo) const
Definition: ERF_Interpolation_WENO_Z.H:396
amrex::Array4< const amrex::Real > m_phi
Definition: ERF_Interpolation_WENO_Z.H:554
const amrex::Real eps
Definition: ERF_Interpolation_WENO_Z.H:555
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void InterpolateInZ(const int &i, const int &j, const int &k, const int &qty_index, amrex::Real &val_lo, amrex::Real upw_lo) const
Definition: ERF_Interpolation_WENO_Z.H:454
WENO_Z7(const amrex::Array4< const amrex::Real > &phi, const amrex::Real)
Definition: ERF_Interpolation_WENO_Z.H:389
static constexpr amrex::Real g4
Definition: ERF_Interpolation_WENO_Z.H:560
static constexpr amrex::Real g2
Definition: ERF_Interpolation_WENO_Z.H:558
const amrex::Real tol
Definition: ERF_Interpolation_WENO_Z.H:556
static constexpr amrex::Real g3
Definition: ERF_Interpolation_WENO_Z.H:559
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void InterpolateInY(const int &i, const int &j, const int &k, const int &qty_index, amrex::Real &val_lo, amrex::Real upw_lo) const
Definition: ERF_Interpolation_WENO_Z.H:425