FV3DYCORE  Version 2.0.0
fv_fill_mod Module Reference

Functions/Subroutines

subroutine, public fillz (im, km, nq, q, dp)
 The subroutine 'fillz' is for mass-conservative filling of nonphysical negative values in the tracers. More...
 
subroutine, public fill_gfs (im, km, pe2, q, q_min)
 The subroutine 'fill_gfs' is for mass-conservative filling of nonphysical negative values in the tracers. More...
 
subroutine, public fill2d (is, ie, js, je, ng, km, q, delp, area, domain, bounded_domain, npx, npy)
 The subroutine 'fill2D' fills in nonphysical negative values in a single scalar field using a two-dimensional diffusive approach which conserves mass. More...
 

Function/Subroutine Documentation

◆ fill2d()

subroutine, public fv_fill_mod::fill2d ( integer, intent(in)  is,
integer, intent(in)  ie,
integer, intent(in)  js,
integer, intent(in)  je,
integer, intent(in)  ng,
integer, intent(in)  km,
real, dimension(is-ng:ie+ng, js-ng:je+ng, km), intent(inout)  q,
real, dimension(is-ng:ie+ng, js-ng:je+ng, km), intent(in)  delp,
real, dimension(is-ng:ie+ng, js-ng:je+ng), intent(in)  area,
type(domain2d), intent(inout)  domain,
logical, intent(in)  bounded_domain,
integer, intent(in)  npx,
integer, intent(in)  npy 
)

The subroutine 'fill2D' fills in nonphysical negative values in a single scalar field using a two-dimensional diffusive approach which conserves mass.

Definition at line 207 of file fv_fill.F90.

◆ fill_gfs()

subroutine, public fv_fill_mod::fill_gfs ( integer, intent(in)  im,
integer, intent(in)  km,
real(kind=kind_phys), dimension(im,km+1), intent(in)  pe2,
real(kind=kind_phys), dimension(im,km), intent(inout)  q,
real(kind=kind_phys), intent(in)  q_min 
)

The subroutine 'fill_gfs' is for mass-conservative filling of nonphysical negative values in the tracers.

This routine is the same as 'fillz', but only fills one scalar field using specified q_min instead of 0 with the k-index flipped as in the GFS physics. It accepts edge pressure instead of delp.

Parameters
[in]pe2pressure interface

Definition at line 163 of file fv_fill.F90.

◆ fillz()

subroutine, public fv_fill_mod::fillz ( integer, intent(in)  im,
integer, intent(in)  km,
integer, intent(in)  nq,
real, dimension(im,km,nq), intent(inout)  q,
real, dimension(im,km), intent(in)  dp 
)

The subroutine 'fillz' is for mass-conservative filling of nonphysical negative values in the tracers.

This routine takes mass from adjacent cells in the same column to fill negatives, if possible.

Parameters
[in]imNo. of longitudes
[in]kmNo. of levels
[in]nqTotal number of tracers
[in]dppressure thickness
[in,out]qtracer mixing ratio

Definition at line 52 of file fv_fill.F90.