UFO
esg_grid_mod Module Reference

Fortran module of helper functions for FV3-LAM ESG grid domain configuration These routines are borrowed from regional_esg_grid.fd from the RRFS Regional Workflow / UFS_UTILS repository Credit goes to R. Jim Purser for original source of these subroutines. More...

Data Types

interface  gtoxm_ak_rr
 
interface  gtoxm_ak_dd
 
interface  grtoc
 

Functions/Subroutines

subroutine gtoxm_ak_rr_m (A, K, plat, plon, pazi, lat, lon, xm, ff)
 
subroutine gtoxm_ak_rr_g (A, K, plat, plon, pazi, delx, dely, lat, lon, xm, ff)
 
subroutine gtoxm_ak_dd_g (A, K, pdlat, pdlon, pdazi, delx, dely, dlat, dlon, xm, ff)
 
subroutine xctoxm_ak (a, k, xc, xm, ff)
 
subroutine xctoxs (xc, xs)
 
subroutine xstoxt (k, xs, xt, ff)
 
subroutine xttoxm (a, xt, xm, ff)
 
subroutine zttozm (a, zt, zm, ff)
 
subroutine dgrtoc (rlat, rlon, xe)
 

Variables

logical, parameter t =.true.
 
logical, parameter f =.false.
 

Detailed Description

Fortran module of helper functions for FV3-LAM ESG grid domain configuration These routines are borrowed from regional_esg_grid.fd from the RRFS Regional Workflow / UFS_UTILS repository Credit goes to R. Jim Purser for original source of these subroutines.

Function/Subroutine Documentation

◆ dgrtoc()

subroutine esg_grid_mod::dgrtoc ( real(kind_real), intent(in)  rlat,
real(kind_real), intent(in)  rlon,
real(kind_real), dimension(3), intent(out)  xe 
)
private

Definition at line 187 of file esg_grid_mod.F90.

◆ gtoxm_ak_dd_g()

subroutine esg_grid_mod::gtoxm_ak_dd_g ( real(kind_real), intent(in)  A,
real(kind_real), intent(in)  K,
real(kind_real), intent(in)  pdlat,
real(kind_real), intent(in)  pdlon,
real(kind_real), intent(in)  pdazi,
real(kind_real), intent(in)  delx,
real(kind_real), intent(in)  dely,
real(kind_real), intent(in)  dlat,
real(kind_real), intent(in)  dlon,
real(kind_real), dimension(2), intent(out)  xm,
logical, intent(out)  ff 
)
private

Definition at line 83 of file esg_grid_mod.F90.

◆ gtoxm_ak_rr_g()

subroutine esg_grid_mod::gtoxm_ak_rr_g ( real(kind_real), intent(in)  A,
real(kind_real), intent(in)  K,
real(kind_real), intent(in)  plat,
real(kind_real), intent(in)  plon,
real(kind_real), intent(in)  pazi,
real(kind_real), intent(in)  delx,
real(kind_real), intent(in)  dely,
real(kind_real), intent(in)  lat,
real(kind_real), intent(in)  lon,
real(kind_real), dimension(2), intent(out)  xm,
logical, intent(out)  ff 
)
private

Definition at line 65 of file esg_grid_mod.F90.

Here is the caller graph for this function:

◆ gtoxm_ak_rr_m()

subroutine esg_grid_mod::gtoxm_ak_rr_m ( real(kind_real), intent(in)  A,
real(kind_real), intent(in)  K,
real(kind_real), intent(in)  plat,
real(kind_real), intent(in)  plon,
real(kind_real), intent(in)  pazi,
real(kind_real), intent(in)  lat,
real(kind_real), intent(in)  lon,
real(kind_real), dimension(2), intent(out)  xm,
logical, intent(out)  ff 
)
private

Definition at line 32 of file esg_grid_mod.F90.

Here is the caller graph for this function:

◆ xctoxm_ak()

subroutine esg_grid_mod::xctoxm_ak ( real(kind_real), intent(in)  a,
real(kind_real), intent(in)  k,
real(kind_real), dimension(3), intent(in)  xc,
real(kind_real), dimension(2), intent(out)  xm,
logical, intent(out)  ff 
)
private

Definition at line 103 of file esg_grid_mod.F90.

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

◆ xctoxs()

subroutine esg_grid_mod::xctoxs ( real(kind_real), dimension(3), intent(in)  xc,
real(kind_real), dimension(2), intent(out)  xs 
)
private

Definition at line 123 of file esg_grid_mod.F90.

Here is the caller graph for this function:

◆ xstoxt()

subroutine esg_grid_mod::xstoxt ( real(kind_real), intent(in)  k,
real(kind_real), dimension(2), intent(in)  xs,
real(kind_real), dimension(2), intent(out)  xt,
logical, intent(out)  ff 
)
private

Definition at line 136 of file esg_grid_mod.F90.

Here is the caller graph for this function:

◆ xttoxm()

subroutine esg_grid_mod::xttoxm ( real(kind_real), intent(in)  a,
real(kind_real), dimension(2), intent(in)  xt,
real(kind_real), dimension(2), intent(out)  xm,
logical, intent(out)  ff 
)
private

Definition at line 153 of file esg_grid_mod.F90.

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

◆ zttozm()

subroutine esg_grid_mod::zttozm ( real(kind_real), intent(in)  a,
real(kind_real), intent(in)  zt,
real(kind_real), intent(out)  zm,
logical, intent(out)  ff 
)
private

Definition at line 168 of file esg_grid_mod.F90.

Here is the caller graph for this function:

Variable Documentation

◆ f

logical, parameter esg_grid_mod::f =.false.
private
  • for pain-relief in logical ops

Definition at line 27 of file esg_grid_mod.F90.

◆ t

logical, parameter esg_grid_mod::t =.true.
private

Definition at line 27 of file esg_grid_mod.F90.