Reduce computational patch size for intermediate domain for vertical nesting #37
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TYPE: bug fix
KEYWORDS: vertical refinement, intermediate domain, patch
SOURCE: internal
DESCRIPTION OF CHANGES:
The vertical refinement option rebalances the fine grid to
account for the horizontal and vertical interpolation. The
intermediate domain value are coupled with total column pressure.
When the allocated (but initialized to zero) portions of the patch
are part of the computations, floating point errors show up
when using the FPE traps. These values are never used, but the
uninitialized values throw FPEs when we are doing division.
The solution is to require that the computations be entirely
enclosed with the more restrictive of either the patch or domain dimensions
(for the intermediate domain, "patch" and "domain" sizes are not
as intuitive as on a parent or child domain).
LIST OF MODIFIED FILES:
external/RSL_LITE/module_dm.F
TESTS CONDUCTED:
steps with the FPE flags activated, and the code was not able to
do so without these mods.
restricted index computations are INDEED giving the same results). This
is a comparison of the 1798 regression tests (with and without vertical
nesting).
I WILL REMOVE THE FOLLOWING IN THE FINAL COMMIT: