FV3DYCORE  Version 1.1.0
init_hydro_mod Module Reference

Functions/Subroutines

subroutine, public p_var (km, ifirst, ilast, jfirst, jlast, ptop, ptop_min, delp, delz, pt, ps, pe, peln, pk, pkz, cappa, q, ng, nq, area, dry_mass, adjust_dry_mass, mountain, moist_phys, hydrostatic, nwat, domain, make_nh)
 the subroutine 'p_var' computes auxiliary pressure variables for a hydrostatic state. More...
 
subroutine drymadj (km, ifirst, ilast, jfirst, jlast, ng, cappa, ptop, ps, delp, q, nq, area, nwat, dry_mass, adjust_dry_mass, moist_phys, dpd, domain)
 
subroutine, public hydro_eq (km, is, ie, js, je, ps, hs, drym, delp, ak, bk, pt, delz, area, ng, mountain, hydrostatic, hybrid_z, domain)
 The subroutine 'hydro_eq' computes a hydrostatically balanced and isothermal basic state from input heights. More...
 

Function/Subroutine Documentation

◆ drymadj()

subroutine init_hydro_mod::drymadj ( integer  km,
integer  ifirst,
integer  ilast,
integer  jfirst,
integer  jlast,
integer  ng,
real, intent(in)  cappa,
real, intent(in)  ptop,
real, dimension(ifirst-ng:ilast+ng,jfirst-ng:jlast+ng), intent(inout)  ps,
real, dimension(ifirst-ng:ilast+ng,jfirst-ng:jlast+ng,km), intent(in)  delp,
real, dimension(ifirst-ng:ilast+ng,jfirst-ng:jlast+ng,km,nq), intent(in)  q,
integer  nq,
real(kind=r_grid), dimension(ifirst-ng:ilast+ng, jfirst-ng:jlast+ng), intent(in)  area,
integer  nwat,
real, intent(in)  dry_mass,
logical, intent(in)  adjust_dry_mass,
logical, intent(in)  moist_phys,
real, intent(out)  dpd,
type(domain2d), intent(in)  domain 
)
private
Parameters
ilastLongitude strip
jlastLatitude strip
[in,out]pssurface pressure

Definition at line 249 of file init_hydro.F90.

◆ hydro_eq()

subroutine, public init_hydro_mod::hydro_eq ( integer, intent(in)  km,
integer, intent(in)  is,
integer, intent(in)  ie,
integer, intent(in)  js,
integer, intent(in)  je,
real, dimension(is-ng:ie+ng,js-ng:je+ng), intent(out)  ps,
real, dimension(is-ng:ie+ng,js-ng:je+ng), intent(in)  hs,
real, intent(in)  drym,
real, dimension(is-ng:ie+ng,js-ng:je+ng,km), intent(out)  delp,
real, dimension(km+1), intent(in)  ak,
real, dimension(km+1), intent(in)  bk,
real, dimension(is-ng:ie+ng,js-ng:je+ng,km), intent(out)  pt,
real, dimension(is-ng:ie+ng,js-ng:je+ng,km), intent(inout)  delz,
real(kind=r_grid), dimension(is-ng:ie+ng,js-ng:je+ng), intent(in)  area,
integer, intent(in)  ng,
logical, intent(in)  mountain,
logical, intent(in)  hydrostatic,
logical, intent(in)  hybrid_z,
type(domain2d), intent(in)  domain 
)

The subroutine 'hydro_eq' computes a hydrostatically balanced and isothermal basic state from input heights.

Definition at line 330 of file init_hydro.F90.

◆ p_var()

subroutine, public init_hydro_mod::p_var ( integer, intent(in)  km,
integer, intent(in)  ifirst,
integer, intent(in)  ilast,
integer, intent(in)  jfirst,
integer, intent(in)  jlast,
real, intent(in)  ptop,
real, intent(in)  ptop_min,
real, dimension(ifirst-ng:ilast+ng,jfirst-ng:jlast+ng, km), intent(inout)  delp,
real, dimension(ifirst-ng:ilast+ng,jfirst-ng:jlast+ng, km), intent(inout)  delz,
real, dimension(ifirst-ng:ilast+ng,jfirst-ng:jlast+ng, km), intent(in)  pt,
real, dimension(ifirst-ng:ilast+ng, jfirst-ng:jlast+ng), intent(out)  ps,
real, dimension(ifirst-1:ilast+1,km+1,jfirst-1:jlast+1), intent(out)  pe,
real, dimension(ifirst:ilast, km+1, jfirst:jlast), intent(out)  peln,
real, dimension(ifirst:ilast, jfirst:jlast, km+1), intent(out)  pk,
real, dimension(ifirst:ilast, jfirst:jlast, km), intent(out)  pkz,
real, intent(in)  cappa,
real, dimension(ifirst-ng:ilast+ng,jfirst-ng:jlast+ng, km, nq), intent(inout)  q,
integer, intent(in)  ng,
integer, intent(in)  nq,
real(kind=r_grid), dimension(ifirst-ng:ilast+ng,jfirst-ng:jlast+ng), intent(in)  area,
real, intent(in)  dry_mass,
logical, intent(in)  adjust_dry_mass,
logical, intent(in)  mountain,
logical, intent(in)  moist_phys,
logical, intent(in)  hydrostatic,
integer, intent(in)  nwat,
type(domain2d), intent(in)  domain,
logical, optional  make_nh 
)

the subroutine 'p_var' computes auxiliary pressure variables for a hydrostatic state.

The variables are: surfce, interface, layer-mean pressure, exener function Given (ptop, delp) computes (ps, pk, pe, peln, pkz)

Parameters
[in]ilastLongitude strip
[in]jlastLatitude strip
[out]peGhosted Edge pressure
[out]pelnEdge pressure

Definition at line 87 of file init_hydro.F90.