You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to answer changes in multiple production experiments, this patch
introduces a new parameter, USE_HUYNH_STENCIL_BUG, which sets the tracer
advection stencil width to its previous incorrect value. This parameter
replicates the previous method, which keeps `stencil` at 2 when PPM:H3
is used.
----
The logical parameters are
* P = CS%usePPM
* H = CS%useHuynh
* E = USE_HUYNH_STENCIL_BUG
* R = CS%useHuynhStencilBug
The three expressions of interest:
1. P & ~H
2. P
3. P & ~R
(1) is the original incorrect expression, (2) is the fixed expression,
and (3) is the proposed update.
What we want:
If E is false, then (3) should reduce to (2). If E is true, then (3)
should reduce to (1).
R is computed as follows:
* R = False (from derived type initialization)
* if (H) R = E (from get_param call)
This is equivalent to R = H & E, and (3) is P & ~(H & E).
* If E is False, then P & ~(H & False) = P.
* If E is True, then P & ~(H & True) = P & ~H
So this flag should replicate both the previous and current behavior.
0 commit comments