@@ -604,42 +604,42 @@ subroutine FV_Setup(GC,LAYOUT_FILE, RC)
604604 FV_Atm(1 )% flagstruct% RF_fast = .false.
605605 endif
606606 if (FV_Atm(1 )% flagstruct% npx* CEILING (FV_Atm(1 )% flagstruct% stretch_fac) >= 1120 ) then
607- FV_Atm(1 )% flagstruct% hydrostatic = .false.
607+ FV_Atm(1 )% flagstruct% hydrostatic = .false.
608608 FV_Atm(1 )% flagstruct% k_split = CEILING (DT/ 60.0 )
609609 if (FV_Atm(1 )% flagstruct% stretch_fac > 1 ) FV_Atm(1 )% flagstruct% k_split = CEILING (DT/ 90.0 )
610610 FV_Atm(1 )% flagstruct% tau = 2.5
611611 FV_Atm(1 )% flagstruct% RF_fast = .false.
612612 endif
613613 if (FV_Atm(1 )% flagstruct% npx* CEILING (FV_Atm(1 )% flagstruct% stretch_fac) >= 1440 ) then
614- FV_Atm(1 )% flagstruct% hydrostatic = .false.
614+ FV_Atm(1 )% flagstruct% hydrostatic = .false.
615615 FV_Atm(1 )% flagstruct% k_split = CEILING (DT/ 37.5 )
616616 if (FV_Atm(1 )% flagstruct% stretch_fac > 1 ) FV_Atm(1 )% flagstruct% k_split = CEILING (DT/ 60.0 )
617617 FV_Atm(1 )% flagstruct% tau = 2.0
618618 FV_Atm(1 )% flagstruct% RF_fast = .true.
619619 endif
620620 if (FV_Atm(1 )% flagstruct% npx* CEILING (FV_Atm(1 )% flagstruct% stretch_fac) >= 2880 ) then
621- FV_Atm(1 )% flagstruct% hydrostatic = .false.
621+ FV_Atm(1 )% flagstruct% hydrostatic = .false.
622622 FV_Atm(1 )% flagstruct% k_split = CEILING (DT/ 18.75 )
623623 if (FV_Atm(1 )% flagstruct% stretch_fac > 1 ) FV_Atm(1 )% flagstruct% k_split = CEILING (DT/ 30.0 )
624624 FV_Atm(1 )% flagstruct% tau = 1.5
625625 FV_Atm(1 )% flagstruct% RF_fast = .true.
626626 endif
627627 if (FV_Atm(1 )% flagstruct% npx* CEILING (FV_Atm(1 )% flagstruct% stretch_fac) >= 4320 ) then
628- FV_Atm(1 )% flagstruct% hydrostatic = .false.
628+ FV_Atm(1 )% flagstruct% hydrostatic = .false.
629629 FV_Atm(1 )% flagstruct% k_split = CEILING (DT/ 15.0 )
630630 if (FV_Atm(1 )% flagstruct% stretch_fac > 1 ) FV_Atm(1 )% flagstruct% k_split = CEILING (DT/ 15.0 )
631631 FV_Atm(1 )% flagstruct% tau = 1.0
632632 FV_Atm(1 )% flagstruct% RF_fast = .true.
633633 endif
634634 if (FV_Atm(1 )% flagstruct% npx* CEILING (FV_Atm(1 )% flagstruct% stretch_fac) >= 5760 ) then
635- FV_Atm(1 )% flagstruct% hydrostatic = .false.
635+ FV_Atm(1 )% flagstruct% hydrostatic = .false.
636636 FV_Atm(1 )% flagstruct% k_split = CEILING (DT/ 9.375 )
637637 if (FV_Atm(1 )% flagstruct% stretch_fac > 1 ) FV_Atm(1 )% flagstruct% k_split = CEILING (DT/ 7.5 )
638638 FV_Atm(1 )% flagstruct% tau = 1.0
639639 FV_Atm(1 )% flagstruct% RF_fast = .true.
640640 endif
641641 if (FV_Atm(1 )% flagstruct% npx* CEILING (FV_Atm(1 )% flagstruct% stretch_fac) >= 10800 ) then
642- FV_Atm(1 )% flagstruct% hydrostatic = .false.
642+ FV_Atm(1 )% flagstruct% hydrostatic = .false.
643643 FV_Atm(1 )% flagstruct% k_split = CEILING (DT/ 4.6875 )
644644 if (FV_Atm(1 )% flagstruct% stretch_fac > 1 ) FV_Atm(1 )% flagstruct% k_split = CEILING (DT/ 3.25 )
645645 FV_Atm(1 )% flagstruct% tau = 1.0
@@ -668,7 +668,7 @@ subroutine FV_Setup(GC,LAYOUT_FILE, RC)
668668 FV_Atm(1 )% flagstruct% a_imp = 1.0
669669 ! dz_min is a NH delta-z limiter increasing may improve stability
670670 FV_Atm(1 )% flagstruct% dz_min = 2.0
671- ! p_fac is a NH pressure fraction limiter near model top (0:0.25)
671+ ! p_fac is a NH pressure fraction limiter near model top (0:0.25)
672672 FV_Atm(1 )% flagstruct% p_fac = 0.05
673673 ! General defaults
674674 FV_Atm(1 )% flagstruct% make_nh = .false.
@@ -4037,7 +4037,11 @@ subroutine fv_getDivergence(uc, vc, divg)
40374037end subroutine fv_getDivergence
40384038
40394039subroutine fv_getUpdraftHelicity (uh25 , uh03 , srh01 , srh03 , srh25 )
4040+ #if defined (SINGLE_FV)
4041+ use constantsr4 _mod, only: fms_grav= >grav
4042+ #else
40404043 use constants_mod, only: fms_grav= >grav
4044+ #endif
40414045! made this REAL4
40424046 real (REAL4), intent (OUT ) :: uh25(:,:)
40434047 real (REAL4), intent (OUT ) :: uh03(:,:)
0 commit comments