Canoe
Comprehensive Atmosphere N' Ocean Engine
qe_moist_convection_mod Module Reference

Functions/Subroutines

subroutine compute_geopotential (t, q, p_half, p_full, z_full, z_half)
 
subroutine, public qsat (T, p, qs)
 
subroutine dqsatdt (T, p, dqs)
 
subroutine rsat (T, p, rs)
 
subroutine drsatdt (T, p, drs)
 
subroutine ff (dT, dp1, dp2, p1, p2, Dry_m, kini, x, val, lmass1, lmass2)
 
subroutine newtsolve_ff (dT, dp1, dp2, q1, q2, T1, T2, p1, p2, T1new, T2new, lmass1, lmass2)
 
subroutine, public compute_k (tin, qin, phalf, k)
 
subroutine dlnpdlnt_initial (lnT, lnp, slope)
 
subroutine rk4_f (x0, y0, dx, nx, x, y)
 
subroutine, public warm_start (ts, pd, nx, psg, tt, lnpp, qs)
 
subroutine dlnpdlnt (T, p, slope)
 
subroutine convec (T1, P1, P2, PH, T2)
 
subroutine, public moist_convection (tin, qin, p_full_in, p_half_in, rain, Tref, qref, p_full, p_half, Ep, rain_profile)
 
subroutine cold_trap (t, q, phalf, pfull, nc)
 

Variables

real(8), parameter, public d622 = rdgas/rvgas
 
real(8), parameter, public d378 = 1.-d622
 
real(8), parameter, public d608 = d378/d622
 

Function/Subroutine Documentation

◆ compute_geopotential()

subroutine qe_moist_convection_mod::compute_geopotential ( real(8), dimension(:), intent(in)  t,
real(8), dimension(:), intent(in)  q,
real(8), dimension(:), intent(in)  p_half,
real(8), dimension(:), intent(in)  p_full,
real(8), dimension(:), intent(out)  z_full,
real(8), dimension(:), intent(out)  z_half 
)
private

Definition at line 24 of file qe_moist_convection.f90.

◆ qsat()

subroutine, public qe_moist_convection_mod::qsat ( real(8), intent(in)  T,
real(8), intent(in)  p,
real(8), intent(out)  qs 
)

Definition at line 57 of file qe_moist_convection.f90.

◆ dqsatdt()

subroutine qe_moist_convection_mod::dqsatdt ( real(8), intent(in)  T,
real(8), intent(in)  p,
real(8), intent(out)  dqs 
)
private

Definition at line 68 of file qe_moist_convection.f90.

◆ rsat()

subroutine qe_moist_convection_mod::rsat ( real(8), intent(in)  T,
real(8), intent(in)  p,
real(8), intent(out)  rs 
)
private

Definition at line 80 of file qe_moist_convection.f90.

◆ drsatdt()

subroutine qe_moist_convection_mod::drsatdt ( real(8), intent(in)  T,
real(8), intent(in)  p,
real(8), intent(out)  drs 
)
private

Definition at line 90 of file qe_moist_convection.f90.

◆ ff()

subroutine qe_moist_convection_mod::ff ( real(8), intent(in)  dT,
real(8), intent(in)  dp1,
real(8), intent(in)  dp2,
real(8), intent(in)  p1,
real(8), intent(in)  p2,
real(8), intent(in)  Dry_m,
real(8), intent(in)  kini,
real(8), intent(in)  x,
real(8), intent(out)  val,
real(8), intent(out)  lmass1,
real(8), intent(out)  lmass2 
)
private

Definition at line 100 of file qe_moist_convection.f90.

◆ newtsolve_ff()

subroutine qe_moist_convection_mod::newtsolve_ff ( real(8), intent(in)  dT,
real(8), intent(in)  dp1,
real(8), intent(in)  dp2,
real(8), intent(in)  q1,
real(8), intent(in)  q2,
real(8), intent(in)  T1,
real(8), intent(in)  T2,
real(8), intent(in)  p1,
real(8), intent(in)  p2,
real(8), intent(out)  T1new,
real(8), intent(out)  T2new,
real(8), intent(out)  lmass1,
real(8), intent(out)  lmass2 
)
private

Definition at line 132 of file qe_moist_convection.f90.

◆ compute_k()

subroutine, public qe_moist_convection_mod::compute_k ( real(8), dimension(:), intent(in)  tin,
real(8), dimension(:), intent(in)  qin,
real(8), dimension(:), intent(in)  phalf,
real(8), intent(out)  k 
)

Definition at line 188 of file qe_moist_convection.f90.

◆ dlnpdlnt_initial()

subroutine qe_moist_convection_mod::dlnpdlnt_initial ( real(8), intent(in)  lnT,
real(8), intent(in)  lnp,
real(8), intent(out)  slope 
)
private

Definition at line 204 of file qe_moist_convection.f90.

◆ rk4_f()

subroutine qe_moist_convection_mod::rk4_f ( real(8), intent(in)  x0,
real(8), intent(in)  y0,
real(8), intent(in)  dx,
integer, intent(in)  nx,
real(8), dimension(nx+1), intent(out)  x,
real(8), dimension(nx+1), intent(out)  y 
)
private

Definition at line 233 of file qe_moist_convection.f90.

◆ warm_start()

subroutine, public qe_moist_convection_mod::warm_start ( real(8), intent(in)  ts,
real(8), intent(in)  pd,
integer, intent(in)  nx,
real(8), intent(out)  psg,
real(8), dimension(nx+1), intent(out)  tt,
real(8), dimension(nx+1), intent(out)  lnpp,
real(8), dimension(nx+1), intent(out)  qs 
)

Definition at line 254 of file qe_moist_convection.f90.

◆ dlnpdlnt()

subroutine qe_moist_convection_mod::dlnpdlnt ( real(8), intent(in)  T,
real(8), intent(in)  p,
real(8), intent(out)  slope 
)
private

Definition at line 301 of file qe_moist_convection.f90.

◆ convec()

subroutine qe_moist_convection_mod::convec ( real(8), intent(in)  T1,
real(8), intent(in)  P1,
real(8), intent(in)  P2,
real(8), intent(in)  PH,
real(8), intent(out)  T2 
)
private

Definition at line 325 of file qe_moist_convection.f90.

◆ moist_convection()

subroutine, public qe_moist_convection_mod::moist_convection ( real(8), dimension(:), intent(in)  tin,
real(8), dimension(:), intent(in)  qin,
real(8), dimension(:), intent(in)  p_full_in,
real(8), dimension(:), intent(in)  p_half_in,
real(8), intent(out)  rain,
real(8), dimension(:), intent(out)  Tref,
real(8), dimension(:), intent(out)  qref,
real(8), dimension(:), intent(out)  p_full,
real(8), dimension(:), intent(out)  p_half,
real(8), intent(out)  Ep,
real(8), dimension(:), intent(out)  rain_profile 
)

Definition at line 340 of file qe_moist_convection.f90.

◆ cold_trap()

subroutine qe_moist_convection_mod::cold_trap ( real(8), dimension(:), intent(inout)  t,
real(8), dimension(:), intent(inout)  q,
real(8), dimension(:), intent(in)  phalf,
real(8), dimension(:), intent(in)  pfull,
integer, intent(in)  nc 
)
private

Definition at line 528 of file qe_moist_convection.f90.

Variable Documentation

◆ d622

real(8), parameter, public qe_moist_convection_mod::d622 = rdgas/rvgas

Definition at line 17 of file qe_moist_convection.f90.

◆ d378

real(8), parameter, public qe_moist_convection_mod::d378 = 1.-d622

Definition at line 18 of file qe_moist_convection.f90.

◆ d608

real(8), parameter, public qe_moist_convection_mod::d608 = d378/d622

Definition at line 19 of file qe_moist_convection.f90.