CAM
dyn_grid Module Reference

Data Types

type  block_global_data
 

Functions/Subroutines

subroutine, public dyn_grid_init ()
 
subroutine, public get_block_bounds_d (block_first, block_last)
 
subroutine, public get_block_gcol_d (blockid, size, cdex)
 
integer function, public get_block_gcol_cnt_d (blockid)
 
integer function, public get_block_lvl_cnt_d (blockid, bcid)
 
subroutine, public get_block_levels_d (blockid, bcid, lvlsiz, levels)
 
subroutine, public get_gcol_block_d (gcol, cnt, blockid, bcid, localblockid)
 
integer function, public get_gcol_block_cnt_d (gcol)
 
integer function, public get_block_owner_d (blockid)
 
subroutine, public get_horiz_grid_dim_d (hdim1_d, hdim2_d)
 
subroutine, public set_horiz_grid_cnt_d (NumUniqueCols)
 
subroutine, public get_horiz_grid_d (nxy, clat_d_out, clon_d_out, area_d_out, wght_d_out, lat_d_out, lon_d_out)
 
subroutine, public define_cam_grids ()
 
subroutine, public physgrid_copy_attributes_d (gridname, grid_attribute_names)
 
subroutine gblocks_init ()
 
subroutine compute_global_area (area_d)
 
subroutine compute_global_coords (clat, clon, lat_out, lon_out)
 
real(r8) function, dimension(:,:), pointer, public get_dyn_grid_parm_real2d (name)
 
real(r8) function, dimension(:), pointer, public get_dyn_grid_parm_real1d (name)
 
integer function, public get_dyn_grid_parm (name)
 
subroutine, public dyn_grid_get_pref (pref_edge, pref_mid, num_pr_lev)
 
subroutine, public dyn_grid_find_gcols (lat, lon, nclosest, owners, col, lbk, rlat, rlon, idyn_dists)
 
subroutine, public dyn_grid_get_colndx (igcol, nclosest, owners, col, lbk)
 
subroutine, public dyn_grid_get_elem_coords (ie, rlon, rlat, cdex)
 

Variables

integer, parameter, public dyn_decomp = 101
 
integer ngcols_d = 0
 
integer, parameter, public ptimelevels = 2
 
logical gblocks_need_initialized = .true.
 
real(r8), parameter rad2deg = 180.0_r8 / SHR_CONST_PI
 
type(block_global_data), dimension(:), allocatable gblocks
 
type(element_t), dimension(:), pointer, public elem => null()
 
integer(kind=imap), dimension(:,:), pointer fdofp_local => null()
 
real(r8), dimension(:), pointer, public w => null()
 
real(r8), dimension(:), pointer pelat_deg => null()
 
real(r8), dimension(:), pointer pelon_deg => null()
 
real(r8), dimension(:), pointer pearea => null()
 
integer(imap), dimension(:), pointer pemap => null()
 

Function/Subroutine Documentation

◆ compute_global_area()

subroutine dyn_grid::compute_global_area ( real(r8), dimension(:), pointer  area_d)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ compute_global_coords()

subroutine dyn_grid::compute_global_coords ( real(r8), dimension(:), intent(out)  clat,
real(r8), dimension(:), intent(out)  clon,
real(r8), dimension(:), intent(out), optional  lat_out,
real(r8), dimension(:), intent(out), optional  lon_out 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ define_cam_grids()

subroutine, public dyn_grid::define_cam_grids ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dyn_grid_find_gcols()

subroutine, public dyn_grid::dyn_grid_find_gcols ( real(r8), intent(in)  lat,
real(r8), intent(in)  lon,
integer, intent(in)  nclosest,
integer, dimension(nclosest), intent(out)  owners,
integer, dimension(nclosest), intent(out)  col,
integer, dimension(nclosest), intent(out)  lbk,
real(r8), dimension(nclosest), intent(out), optional  rlat,
real(r8), dimension(nclosest), intent(out), optional  rlon,
real(r8), dimension(nclosest), intent(out), optional  idyn_dists 
)
Here is the call graph for this function:

◆ dyn_grid_get_colndx()

subroutine, public dyn_grid::dyn_grid_get_colndx ( integer, dimension(nclosest), intent(in)  igcol,
integer, intent(in)  nclosest,
integer, dimension(nclosest), intent(out)  owners,
integer, dimension(nclosest), intent(out)  col,
integer, dimension(nclosest), intent(out)  lbk 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dyn_grid_get_elem_coords()

subroutine, public dyn_grid::dyn_grid_get_elem_coords ( integer, intent(in)  ie,
real(r8), dimension(:), intent(out), optional  rlon,
real(r8), dimension(:), intent(out), optional  rlat,
integer, dimension(:), intent(out), optional  cdex 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dyn_grid_get_pref()

subroutine, public dyn_grid::dyn_grid_get_pref ( real(r8), dimension(:), intent(out)  pref_edge,
real(r8), dimension(:), intent(out)  pref_mid,
integer, intent(out)  num_pr_lev 
)
Here is the caller graph for this function:

◆ dyn_grid_init()

subroutine, public dyn_grid::dyn_grid_init ( )
Here is the caller graph for this function:

◆ gblocks_init()

subroutine dyn_grid::gblocks_init ( )
Here is the caller graph for this function:

◆ get_block_bounds_d()

subroutine, public dyn_grid::get_block_bounds_d ( integer, intent(out)  block_first,
integer, intent(out)  block_last 
)
Here is the caller graph for this function:

◆ get_block_gcol_cnt_d()

integer function, public dyn_grid::get_block_gcol_cnt_d ( integer, intent(in)  blockid)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_block_gcol_d()

subroutine, public dyn_grid::get_block_gcol_d ( integer, intent(in)  blockid,
integer, intent(in)  size,
integer, dimension(size), intent(out)  cdex 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_block_levels_d()

subroutine, public dyn_grid::get_block_levels_d ( integer, intent(in)  blockid,
integer, intent(in)  bcid,
integer, intent(in)  lvlsiz,
integer, dimension(lvlsiz), intent(out)  levels 
)
Here is the caller graph for this function:

◆ get_block_lvl_cnt_d()

integer function, public dyn_grid::get_block_lvl_cnt_d ( integer, intent(in)  blockid,
integer, intent(in)  bcid 
)
Here is the caller graph for this function:

◆ get_block_owner_d()

integer function, public dyn_grid::get_block_owner_d ( integer, intent(in)  blockid)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_dyn_grid_parm()

integer function, public dyn_grid::get_dyn_grid_parm ( character(len=*), intent(in)  name)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_dyn_grid_parm_real1d()

real(r8) function, dimension(:), pointer, public dyn_grid::get_dyn_grid_parm_real1d ( character(len=*), intent(in)  name)
Here is the caller graph for this function:

◆ get_dyn_grid_parm_real2d()

real(r8) function, dimension(:,:), pointer, public dyn_grid::get_dyn_grid_parm_real2d ( character(len=*), intent(in)  name)

◆ get_gcol_block_cnt_d()

integer function, public dyn_grid::get_gcol_block_cnt_d ( integer, intent(in)  gcol)
Here is the caller graph for this function:

◆ get_gcol_block_d()

subroutine, public dyn_grid::get_gcol_block_d ( integer, intent(in)  gcol,
integer, intent(in)  cnt,
integer, dimension(cnt), intent(out)  blockid,
integer, dimension(cnt), intent(out)  bcid,
integer, dimension(cnt), intent(out), optional  localblockid 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_horiz_grid_d()

subroutine, public dyn_grid::get_horiz_grid_d ( integer, intent(in)  nxy,
real(r8), dimension(:), intent(out), optional  clat_d_out,
real(r8), dimension(:), intent(out), optional  clon_d_out,
real(r8), dimension(:), intent(out), optional, target  area_d_out,
real(r8), dimension(:), intent(out), optional, target  wght_d_out,
real(r8), dimension(:), intent(out), optional  lat_d_out,
real(r8), dimension(:), intent(out), optional  lon_d_out 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_horiz_grid_dim_d()

subroutine, public dyn_grid::get_horiz_grid_dim_d ( integer, intent(out)  hdim1_d,
integer, intent(out), optional  hdim2_d 
)
Here is the caller graph for this function:

◆ physgrid_copy_attributes_d()

subroutine, public dyn_grid::physgrid_copy_attributes_d ( character(len=max_hcoordname_len), intent(out)  gridname,
character(len=max_hcoordname_len), dimension(:), intent(out), pointer  grid_attribute_names 
)
Here is the caller graph for this function:

◆ set_horiz_grid_cnt_d()

subroutine, public dyn_grid::set_horiz_grid_cnt_d ( integer, intent(in)  NumUniqueCols)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ dyn_decomp

integer, parameter, public dyn_grid::dyn_decomp = 101

◆ elem

type(element_t), dimension(:), pointer, public dyn_grid::elem => null()

◆ fdofp_local

integer(kind=imap), dimension(:,:), pointer dyn_grid::fdofp_local => null()
private

◆ gblocks

type(block_global_data), dimension(:), allocatable dyn_grid::gblocks
private

◆ gblocks_need_initialized

logical dyn_grid::gblocks_need_initialized = .true.
private

◆ ngcols_d

integer dyn_grid::ngcols_d = 0
private

◆ pearea

real(r8), dimension(:), pointer dyn_grid::pearea => null()
private

◆ pelat_deg

real(r8), dimension(:), pointer dyn_grid::pelat_deg => null()
private

◆ pelon_deg

real(r8), dimension(:), pointer dyn_grid::pelon_deg => null()
private

◆ pemap

integer(imap), dimension(:), pointer dyn_grid::pemap => null()
private

◆ ptimelevels

integer, parameter, public dyn_grid::ptimelevels = 2

◆ rad2deg

real(r8), parameter dyn_grid::rad2deg = 180.0_r8 / SHR_CONST_PI
private

◆ w

real(r8), dimension(:), pointer, public dyn_grid::w => null()