Closed mathomp4 closed 4 months ago
NOTE: View changes with whitespace off:
https://github.com/GEOS-ESM/FVdycoreCubed_GridComp/pull/279/files?w=1
as my editor cleans up trailing spaces.
This PR fixes a small bug in FV_StateMod found by @atrayano where this:
FV_StateMod
if (FV_Atm(1)%flagstruct%npz == 1) SW_DYNAMICS = .true.
was being called before:
call MAPL_GetResource( MAPL, FV_Atm(1)%flagstruct%npz, 'AGCM_LM:', default= 72, RC=STATUS )
This is an obvious bug as you shouldn't refer to a variable before it's set.
I will test this along with https://github.com/GEOS-ESM/GFDL_atmos_cubed_sphere/pull/96 with both Intel and GCC to make sure it is zero diff.
NOTE: View changes with whitespace off:
https://github.com/GEOS-ESM/FVdycoreCubed_GridComp/pull/279/files?w=1
as my editor cleans up trailing spaces.
This PR fixes a small bug in
FV_StateMod
found by @atrayano where this:was being called before:
This is an obvious bug as you shouldn't refer to a variable before it's set.
I will test this along with https://github.com/GEOS-ESM/GFDL_atmos_cubed_sphere/pull/96 with both Intel and GCC to make sure it is zero diff.