Commit 73fce27
authored
Initialize shear squared and Richardson number to zeroes outside of turbulence region in the HB PBL scheme (ESCOMP#314)
Originator(s): @jimmielin @peverwhee
Description (include issue title and the keyword ['closes', 'fixes',
'resolves'] and issue number):
- Proposed fix for ESCOMP/CAM-SIMA#429
List all namelist files that were added or changed: N/A
List all files eliminated and why: N/A
List all files added and what they do: N/A
List all existing files that have been modified, and describe the
changes:
(Helpful git command: `git diff --name-status
development...<your_branch_name>`)
```
M schemes/holtslag_boville/holtslag_boville_diff.F90
- fix initialization outside of turbulence region for s2, ri
```
List all automated tests that failed, as well as an explanation for why
they weren't fixed:
Is this an answer-changing PR? If so, is it a new physics package,
algorithm change, tuning change, etc?
Uninitialized regions in HB_ri should now be zeroes
If yes to the above question, describe how this code was validated with
the new/modified features:
- create test
`SMS_D_Ln2.ne3pg3_ne3pg3_mg37.FPHYStest.derecho_gnu.cam-outfrq_hb_vdiff_derecho`
run twice to check consistency
- observe outside of turbulence region (basically just at `pver`) that
values are now correctly zero vs. garbage1 parent 72632b9 commit 73fce27
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
217 | 221 | | |
218 | 222 | | |
219 | 223 | | |
| |||
0 commit comments