FV3 Bundle
fv_sg_nlm_mod Module Reference

Functions/Subroutines

subroutine, public fv_subgrid_z (isd, ied, jsd, jed, is, ie, js, je, km, nq, dt, tau, nwat, delp, pe, peln, pkz, ta, qa, ua, va, hydrostatic, w, delz, u_dt, v_dt, t_dt, q_dt, k_bot)
 
subroutine qsmith_init
 
subroutine, public qsmith (im, km, k1, t, p, q, qs, dqdt)
 
subroutine qs_table (n, table)
 
subroutine qs_table_m (n, table)
 
subroutine, public neg_adj3 (is, ie, js, je, ng, kbot, hydrostatic, peln, delz, pt, dp, qv, ql, qr, qi, qs, qg, qa, check_negative)
 
subroutine fillq (im, km, q, dp)
 
subroutine prt_negative (qname, q, is, ie, js, je, n_g, km, threshold)
 

Variables

real, parameter esl = 0.621971831
 
real, parameter tice = 273.16
 
real, parameter c_ice = 1972.
 
real, parameter c_liq = 4.1855e+3
 
real, parameter cv_vap = cp_vapor - rvgas
 
real, parameter c_con = c_ice
 
real, parameter dc_vap = cv_vap - c_liq
 
real, parameter dc_ice = c_liq - c_ice
 
real, parameter hlv0 = 2.5e6
 
real, parameter hlf0 = 3.3358e5
 
real, parameter t_ice = 273.16
 
real, parameter ri_max = 1.
 
real, parameter ri_min = 0.25
 
real, parameter t1_min = 160.
 
real, parameter t2_min = 165.
 
real, parameter t2_max = 315.
 
real, parameter t3_max = 325.
 
real, parameter lv0 = hlv0 - dc_vap*t_ice
 
real, parameter li0 = hlf0 - dc_ice*t_ice
 
real, parameter zvir = rvgas/rdgas - 1.
 
real, dimension(:), allocatable table
 
real, dimension(:), allocatable des
 
real lv00
 
real d0_vap
 

Function/Subroutine Documentation

◆ fillq()

subroutine fv_sg_nlm_mod::fillq ( integer, intent(in)  im,
integer, intent(in)  km,
real, dimension(im,km), intent(inout)  q,
real, dimension(im,km), intent(inout)  dp 
)
private

Definition at line 1486 of file fv_sg_nlm.F90.

Here is the caller graph for this function:

◆ fv_subgrid_z()

subroutine, public fv_sg_nlm_mod::fv_subgrid_z ( integer, intent(in)  isd,
integer, intent(in)  ied,
integer, intent(in)  jsd,
integer, intent(in)  jed,
integer, intent(in)  is,
integer, intent(in)  ie,
integer, intent(in)  js,
integer, intent(in)  je,
integer, intent(in)  km,
integer, intent(in)  nq,
real, intent(in)  dt,
integer, intent(in)  tau,
integer, intent(in)  nwat,
real, dimension(isd:ied,jsd:jed,km), intent(in)  delp,
real, dimension(is-1:ie+1,km+1,js-1:je+1), intent(in)  pe,
real, dimension(is :ie, km+1,js :je), intent(in)  peln,
real, dimension(is:ie,js:je,km), intent(in)  pkz,
real, dimension(isd:ied,jsd:jed,km), intent(inout)  ta,
real, dimension(isd:ied,jsd:jed,km,nq), intent(inout)  qa,
real, dimension(isd:ied,jsd:jed,km), intent(inout)  ua,
real, dimension(isd:ied,jsd:jed,km), intent(inout)  va,
logical, intent(in)  hydrostatic,
real, dimension(isd:,jsd:,1:), intent(inout)  w,
real, dimension(isd:,jsd:,1:), intent(in)  delz,
real, dimension(isd:ied,jsd:jed,km), intent(inout)  u_dt,
real, dimension(isd:ied,jsd:jed,km), intent(inout)  v_dt,
real, dimension(is:ie,js:je,km), intent(inout)  t_dt,
real, dimension(is:ie,js:je,km,nq), intent(inout)  q_dt,
integer, intent(in), optional  k_bot 
)

Definition at line 515 of file fv_sg_nlm.F90.

Here is the call graph for this function:

◆ neg_adj3()

subroutine, public fv_sg_nlm_mod::neg_adj3 ( integer, intent(in)  is,
integer, intent(in)  ie,
integer, intent(in)  js,
integer, intent(in)  je,
integer, intent(in)  ng,
integer, intent(in)  kbot,
logical, intent(in)  hydrostatic,
real, dimension(is:ie,kbot+1,js:je), intent(in)  peln,
real, dimension(is-ng:,js-ng:,1:), intent(in)  delz,
real, dimension(is-ng:ie+ng,js-ng:je+ng,kbot), intent(inout)  pt,
real, dimension(is-ng:ie+ng,js-ng:je+ng,kbot), intent(in)  dp,
real, dimension(is-ng:ie+ng,js-ng:je+ng,kbot), intent(inout)  qv,
real, dimension(is-ng:ie+ng,js-ng:je+ng,kbot), intent(inout)  ql,
real, dimension(is-ng:ie+ng,js-ng:je+ng,kbot), intent(inout)  qr,
real, dimension(is-ng:ie+ng,js-ng:je+ng,kbot), intent(inout)  qi,
real, dimension(is-ng:ie+ng,js-ng:je+ng,kbot), intent(inout)  qs,
real, dimension(is-ng:ie+ng,js-ng:je+ng,kbot), intent(inout)  qg,
real, dimension(is-ng:ie+ng,js-ng:je+ng,kbot), intent(inout), optional  qa,
logical, intent(in), optional  check_negative 
)

Definition at line 1132 of file fv_sg_nlm.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ prt_negative()

subroutine fv_sg_nlm_mod::prt_negative ( character(len=*), intent(in)  qname,
real, dimension(is-n_g:ie+n_g, js-n_g:je+n_g, km), intent(in)  q,
integer, intent(in)  is,
integer, intent(in)  ie,
integer, intent(in)  js,
integer, intent(in)  je,
integer, intent(in)  n_g,
integer, intent(in)  km,
real, intent(in)  threshold 
)
private

Definition at line 1521 of file fv_sg_nlm.F90.

Here is the caller graph for this function:

◆ qs_table()

subroutine fv_sg_nlm_mod::qs_table ( integer, intent(in)  n,
real, dimension (n)  table 
)
private

Definition at line 1046 of file fv_sg_nlm.F90.

Here is the caller graph for this function:

◆ qs_table_m()

subroutine fv_sg_nlm_mod::qs_table_m ( integer, intent(in)  n,
real, dimension (n)  table 
)
private

Definition at line 1072 of file fv_sg_nlm.F90.

◆ qsmith()

subroutine, public fv_sg_nlm_mod::qsmith ( integer, intent(in)  im,
integer, intent(in)  km,
integer, intent(in)  k1,
real, dimension(im,km), intent(in)  t,
real, dimension(im,km), intent(in)  p,
real, dimension(im,km), intent(in)  q,
real, dimension(im,km), intent(out)  qs,
real, dimension(im,km), intent(out), optional  dqdt 
)

Definition at line 1005 of file fv_sg_nlm.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ qsmith_init()

subroutine fv_sg_nlm_mod::qsmith_init ( )
private

Definition at line 984 of file fv_sg_nlm.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ c_con

real, parameter fv_sg_nlm_mod::c_con = c_ice
private

Definition at line 43 of file fv_sg_nlm.F90.

◆ c_ice

real, parameter fv_sg_nlm_mod::c_ice = 1972.
private

Definition at line 39 of file fv_sg_nlm.F90.

◆ c_liq

real, parameter fv_sg_nlm_mod::c_liq = 4.1855e+3
private

Definition at line 40 of file fv_sg_nlm.F90.

◆ cv_vap

real, parameter fv_sg_nlm_mod::cv_vap = cp_vapor - rvgas
private

Definition at line 42 of file fv_sg_nlm.F90.

◆ d0_vap

real fv_sg_nlm_mod::d0_vap
private

Definition at line 65 of file fv_sg_nlm.F90.

◆ dc_ice

real, parameter fv_sg_nlm_mod::dc_ice = c_liq - c_ice
private

Definition at line 47 of file fv_sg_nlm.F90.

◆ dc_vap

real, parameter fv_sg_nlm_mod::dc_vap = cv_vap - c_liq
private

Definition at line 46 of file fv_sg_nlm.F90.

◆ des

real, dimension(:), allocatable fv_sg_nlm_mod::des
private

Definition at line 64 of file fv_sg_nlm.F90.

◆ esl

real, parameter fv_sg_nlm_mod::esl = 0.621971831
private

Definition at line 36 of file fv_sg_nlm.F90.

◆ hlf0

real, parameter fv_sg_nlm_mod::hlf0 = 3.3358e5
private

Definition at line 50 of file fv_sg_nlm.F90.

◆ hlv0

real, parameter fv_sg_nlm_mod::hlv0 = 2.5e6
private

Definition at line 49 of file fv_sg_nlm.F90.

◆ li0

real, parameter fv_sg_nlm_mod::li0 = hlf0 - dc_ice*t_ice
private

Definition at line 61 of file fv_sg_nlm.F90.

◆ lv0

real, parameter fv_sg_nlm_mod::lv0 = hlv0 - dc_vap*t_ice
private

Definition at line 60 of file fv_sg_nlm.F90.

◆ lv00

real fv_sg_nlm_mod::lv00
private

Definition at line 65 of file fv_sg_nlm.F90.

◆ ri_max

real, parameter fv_sg_nlm_mod::ri_max = 1.
private

Definition at line 54 of file fv_sg_nlm.F90.

◆ ri_min

real, parameter fv_sg_nlm_mod::ri_min = 0.25
private

Definition at line 55 of file fv_sg_nlm.F90.

◆ t1_min

real, parameter fv_sg_nlm_mod::t1_min = 160.
private

Definition at line 56 of file fv_sg_nlm.F90.

◆ t2_max

real, parameter fv_sg_nlm_mod::t2_max = 315.
private

Definition at line 58 of file fv_sg_nlm.F90.

◆ t2_min

real, parameter fv_sg_nlm_mod::t2_min = 165.
private

Definition at line 57 of file fv_sg_nlm.F90.

◆ t3_max

real, parameter fv_sg_nlm_mod::t3_max = 325.
private

Definition at line 59 of file fv_sg_nlm.F90.

◆ t_ice

real, parameter fv_sg_nlm_mod::t_ice = 273.16
private

Definition at line 53 of file fv_sg_nlm.F90.

◆ table

real, dimension(:), allocatable fv_sg_nlm_mod::table
private

Definition at line 64 of file fv_sg_nlm.F90.

◆ tice

real, parameter fv_sg_nlm_mod::tice = 273.16
private

Definition at line 37 of file fv_sg_nlm.F90.

◆ zvir

real, parameter fv_sg_nlm_mod::zvir = rvgas/rdgas - 1.
private

Definition at line 63 of file fv_sg_nlm.F90.