31 real(kind=kind_real),
intent(in ) :: t (geom%isc:geom%iec,geom%jsc:geom%jec,1:geom%npz)
32 real(kind=kind_real),
intent(in ) :: q (geom%isc:geom%iec,geom%jsc:geom%jec,1:geom%npz)
33 real(kind=kind_real),
intent(out) :: tv(geom%isc:geom%iec,geom%jsc:geom%jec,1:geom%npz)
35 tv = t*(1.0_kind_real +
epsilon*q)
41 subroutine t_to_tv_tl(geom,T,T_tl,q,q_tl,Tv_tl)
45 real(kind=kind_real),
intent(in ) :: t (geom%isc:geom%iec,geom%jsc:geom%jec,1:geom%npz)
46 real(kind=kind_real),
intent(in ) :: t_tl(geom%isc:geom%iec,geom%jsc:geom%jec,1:geom%npz)
47 real(kind=kind_real),
intent(in ) :: q (geom%isc:geom%iec,geom%jsc:geom%jec,1:geom%npz)
48 real(kind=kind_real),
intent(in ) :: q_tl(geom%isc:geom%iec,geom%jsc:geom%jec,1:geom%npz)
49 real(kind=kind_real),
intent(out) :: tv_tl(geom%isc:geom%iec,geom%jsc:geom%jec,1:geom%npz)
57 subroutine t_to_tv_ad(geom,T,T_ad,q,q_ad,Tv_ad)
61 real(kind=kind_real),
intent(in ) :: t (geom%isc:geom%iec,geom%jsc:geom%jec,1:geom%npz)
62 real(kind=kind_real),
intent(inout) :: t_ad (geom%isc:geom%iec,geom%jsc:geom%jec,1:geom%npz)
63 real(kind=kind_real),
intent(in ) :: q (geom%isc:geom%iec,geom%jsc:geom%jec,1:geom%npz)
64 real(kind=kind_real),
intent(inout) :: q_ad (geom%isc:geom%iec,geom%jsc:geom%jec,1:geom%npz)
65 real(kind=kind_real),
intent(inout) :: tv_ad(geom%isc:geom%iec,geom%jsc:geom%jec,1:geom%npz)
67 t_ad = t_ad + tv_ad * (1.0_kind_real +
epsilon*q)
81 real(kind=kind_real),
intent(in ) :: tv(geom%isc:geom%iec,geom%jsc:geom%jec,1:geom%npz)
82 real(kind=kind_real),
intent(in ) :: q (geom%isc:geom%iec,geom%jsc:geom%jec,1:geom%npz)
83 real(kind=kind_real),
intent(out) :: t (geom%isc:geom%iec,geom%jsc:geom%jec,1:geom%npz)
85 t = tv/(1.0_kind_real +
epsilon*q)
91 subroutine tv_to_t_tl(geom,Tv,Tv_tl,q,q_tl,T_tl)
95 real(kind=kind_real),
intent(in ) :: tv (geom%isc:geom%iec,geom%jsc:geom%jec,1:geom%npz)
96 real(kind=kind_real),
intent(in ) :: tv_tl(geom%isc:geom%iec,geom%jsc:geom%jec,1:geom%npz)
97 real(kind=kind_real),
intent(in ) :: q (geom%isc:geom%iec,geom%jsc:geom%jec,1:geom%npz)
98 real(kind=kind_real),
intent(in ) :: q_tl (geom%isc:geom%iec,geom%jsc:geom%jec,1:geom%npz)
99 real(kind=kind_real),
intent(inout) :: t_tl (geom%isc:geom%iec,geom%jsc:geom%jec,1:geom%npz)
107 subroutine tv_to_t_ad(geom,Tv,Tv_ad,q,q_ad,T_ad)
111 real(kind=kind_real),
intent(in ) :: tv (geom%isc:geom%iec,geom%jsc:geom%jec,1:geom%npz)
112 real(kind=kind_real),
intent(inout) :: tv_ad(geom%isc:geom%iec,geom%jsc:geom%jec,1:geom%npz)
113 real(kind=kind_real),
intent(in ) :: q (geom%isc:geom%iec,geom%jsc:geom%jec,1:geom%npz)
114 real(kind=kind_real),
intent(inout) :: q_ad (geom%isc:geom%iec,geom%jsc:geom%jec,1:geom%npz)
115 real(kind=kind_real),
intent(inout) :: t_ad (geom%isc:geom%iec,geom%jsc:geom%jec,1:geom%npz)
117 real(kind=kind_real) :: temp(geom%isc:geom%iec,geom%jsc:geom%jec,1:geom%npz)
119 temp = t_ad/(
epsilon*q+1.0_kind_real)
real(kind=kind_real), parameter, public kappa
subroutine, public tv_to_t_tl(geom, Tv, Tv_tl, q, q_tl, T_tl)
Fortran derived type to hold geometry data for the FV3JEDI model.
subroutine, public t_to_tv_tl(geom, T, T_tl, q, q_tl, Tv_tl)
Variable transforms on temperature variables for fv3-jedi Daniel Holdaway, NASA/JCSDA.
subroutine, public t_to_tv(geom, T, q, Tv)
subroutine, public tv_to_t_ad(geom, Tv, Tv_ad, q, q_ad, T_ad)
Fortran module handling geometry for the FV3 model.
real(kind=kind_real), parameter, public epsilon
subroutine, public t_to_tv_ad(geom, T, T_ad, q, q_ad, Tv_ad)
integer, parameter, public kind_real
subroutine, public tv_to_t(geom, Tv, q, T)