Currently gravity values are passed to stencils through a 3D field, which will either have all elements set to a constant gravity value, or will have adjusted gravity values if enable_wam has been passed as part of the DynamicalCoreConfig.
A method should be introduced to enable selection between using the field-adjusted structure when whole atmosphere calculations are selected and just scalar gravity when they are not, to reduce memory overhead.
Incoming whole atmosphere variable gravity changes in PR 140
Currently gravity values are passed to stencils through a 3D field, which will either have all elements set to a constant gravity value, or will have adjusted gravity values if
enable_wamhas been passed as part of theDynamicalCoreConfig.A method should be introduced to enable selection between using the field-adjusted structure when whole atmosphere calculations are selected and just scalar gravity when they are not, to reduce memory overhead.
Incoming whole atmosphere variable gravity changes in PR 140