CAM
cam_grid_support Module Reference

Data Types

type  cam_grid_attr_ptr_t
 
type  cam_grid_attribute_0d_char_t
 
type  cam_grid_attribute_0d_int_t
 
type  cam_grid_attribute_1d_int_t
 
type  cam_grid_attribute_1d_r8_t
 
interface  cam_grid_attribute_register
 
type  cam_grid_attribute_t
 
interface  cam_grid_dimensions
 
type  cam_grid_header_info_t
 
type  cam_grid_patch_t
 
interface  cam_grid_read_dist_array
 
type  cam_grid_t
 
interface  cam_grid_write_dist_array
 
interface  get_cam_grid_index
 
type  horiz_coord_t
 
interface  print_attr_spec
 
interface  write_cam_grid_attr
 

Functions/Subroutines

integer function horiz_coord_find_size (this, dimname)
 
integer function horiz_coord_num_elem (this)
 
subroutine horiz_coord_len (this, clen)
 
subroutine horiz_coord_name (this, name)
 
subroutine horiz_coord_dim_name (this, dimname)
 
subroutine horiz_coord_long_name (this, name)
 
subroutine horiz_coord_units (this, units)
 
type(horiz_coord_t) function, pointer, public horiz_coord_create (name, dimname, dimsize, long_name, units, lbound, ubound, values, map)
 
subroutine write_horiz_coord_attr (this, File, dimid_out)
 
subroutine write_horiz_coord_var (this, File)
 
integer function get_cam_grid_index_char (gridname)
 
integer function get_cam_grid_index_int (gridid)
 
subroutine find_cam_grid_attr (gridind, name, attr)
 
integer function num_cam_grid_attrs (gridind)
 
subroutine, public cam_grid_register (name, id, lat_coord, lon_coord, map, unstruct, block_indexed, src_in, dest_in)
 
subroutine print_cam_grid (this)
 
integer function, public cam_grid_num_grids ()
 
logical function, public cam_grid_check (id)
 
integer function, public cam_grid_id (name)
 
integer function, public cam_grid_get_local_size (id, nlev)
 
subroutine, public cam_grid_get_file_dimids (id, File, dimids)
 
subroutine, public cam_grid_get_decomp (id, field_lens, file_lens, dtype, iodesc, field_dnames, file_dnames)
 
subroutine cam_grid_read_dist_array_2d_int (File, id, adims, fdims, hbuf, varid)
 
subroutine cam_grid_read_dist_array_3d_int (File, id, adims, fdims, hbuf, varid)
 
subroutine cam_grid_read_dist_array_2d_double (File, id, adims, fdims, hbuf, varid)
 
subroutine cam_grid_read_dist_array_3d_double (File, id, adims, fdims, hbuf, varid)
 
subroutine cam_grid_read_dist_array_2d_real (File, id, adims, fdims, hbuf, varid)
 
subroutine cam_grid_read_dist_array_3d_real (File, id, adims, fdims, hbuf, varid)
 
subroutine cam_grid_write_dist_array_2d_int (File, id, adims, fdims, hbuf, varid)
 
subroutine cam_grid_write_dist_array_3d_int (File, id, adims, fdims, hbuf, varid)
 
subroutine cam_grid_write_dist_array_2d_double (File, id, adims, fdims, hbuf, varid)
 
subroutine cam_grid_write_dist_array_3d_double (File, id, adims, fdims, hbuf, varid)
 
subroutine cam_grid_write_dist_array_2d_real (File, id, adims, fdims, hbuf, varid)
 
subroutine cam_grid_write_dist_array_3d_real (File, id, adims, fdims, hbuf, varid)
 
subroutine, public cam_grid_get_gcid (id, gcid)
 
subroutine, public cam_grid_get_array_bounds (id, dims)
 
subroutine, public cam_grid_get_coord_names (id, name1, name2)
 
subroutine, public cam_grid_get_dim_names (id, name1, name2)
 
logical function, public cam_grid_has_blocksize (id)
 
integer function, public cam_grid_get_block_count (id, block_id)
 
real(r8) function, dimension(:), pointer, public cam_grid_get_latvals (id)
 
real(r8) function, dimension(:), pointer, public cam_grid_get_lonvals (id)
 
logical function, public cam_grid_is_unstructured (id)
 
logical function, public cam_grid_is_block_indexed (id)
 
subroutine, public cam_grid_compute_patch (id, patch, lonl, lonu, latl, latu)
 
subroutine cam_grid_attr_init (this, name, long_name, next)
 
subroutine print_attr_base (this)
 
subroutine cam_grid_attr_init_0d_int (this, name, long_name, val)
 
subroutine print_attr_0d_int (this)
 
subroutine cam_grid_attr_init_0d_char (this, name, long_name, val)
 
subroutine print_attr_0d_char (this)
 
subroutine cam_grid_attr_init_1d_int (this, name, long_name, dimname, dimsize, values, map)
 
subroutine cam_grid_attr_init_1d_r8 (this, name, long_name, dimname, dimsize, values, map)
 
subroutine print_attr_1d_int (this)
 
subroutine print_attr_1d_r8 (this)
 
subroutine insert_grid_attribute (gridind, attr)
 
subroutine add_cam_grid_attribute_0d_int (gridname, name, long_name, val)
 
subroutine add_cam_grid_attribute_0d_char (gridname, name, val)
 
subroutine add_cam_grid_attribute_1d_int (gridname, name, long_name, dimname, values, map)
 
subroutine add_cam_grid_attribute_1d_r8 (gridname, name, long_name, dimname, values, map)
 
subroutine initializeattrptr (this, attr)
 
class(cam_grid_attribute_t) function, pointer getattrptrattr (this)
 
type(cam_grid_attr_ptr_t) function, pointer getattrptrnext (this)
 
subroutine setattrptrnext (this, next)
 
subroutine write_cam_grid_attr_0d_int (attr, File)
 
subroutine write_cam_grid_attr_0d_char (attr, File)
 
subroutine write_cam_grid_attr_1d_int (attr, File)
 
subroutine write_cam_grid_attr_1d_r8 (attr, File)
 
subroutine, public cam_grid_attribute_copy (src_grid, dest_grid, attribute_name)
 
subroutine, public cam_grid_write_attr (File, grid_id, header_info)
 
subroutine write_cam_grid_val_0d_int (attr, File)
 
subroutine write_cam_grid_val_0d_char (attr, File)
 
subroutine write_cam_grid_val_1d_int (attr, File)
 
subroutine write_cam_grid_val_1d_r8 (attr, File)
 
subroutine, public cam_grid_write_var (File, grid_id)
 
logical function cam_grid_block_indexed (this)
 
logical function cam_grid_unstructured (this)
 
subroutine cam_grid_get_dims (this, dims)
 
subroutine cam_grid_coord_names (this, name1, name2)
 
subroutine cam_grid_dim_names (this, name1, name2)
 
subroutine cam_grid_dimensions_id (gridid, dims, rank)
 
subroutine cam_grid_dimensions_name (gridname, dims, rank)
 
subroutine cam_grid_set_map (this, map, src, dest)
 
integer function cam_grid_local_size (this)
 
subroutine cam_grid_get_lon_lat (this, index, lon, lat, isMapped)
 
subroutine cam_grid_find_src_dims (this, field_dnames, src_out)
 
subroutine cam_grid_find_dest_dims (this, file_dnames, dest_out)
 
subroutine cam_grid_get_pio_decomp (this, field_lens, file_lens, dtype, iodesc, field_dnames, file_dnames)
 
subroutine cam_grid_find_dimids (this, File, dimids)
 
subroutine cam_grid_read_darray_2d_int (this, File, adims, fdims, hbuf, varid)
 
subroutine cam_grid_read_darray_3d_int (this, File, adims, fdims, hbuf, varid)
 
subroutine cam_grid_read_darray_2d_double (this, File, adims, fdims, hbuf, varid)
 
subroutine cam_grid_read_darray_3d_double (this, File, adims, fdims, hbuf, varid)
 
subroutine cam_grid_read_darray_2d_real (this, File, adims, fdims, hbuf, varid)
 
subroutine cam_grid_read_darray_3d_real (this, File, adims, fdims, hbuf, varid)
 
subroutine cam_grid_write_darray_2d_int (this, File, adims, fdims, hbuf, varid)
 
subroutine cam_grid_write_darray_3d_int (this, File, adims, fdims, hbuf, varid)
 
subroutine cam_grid_write_darray_2d_double (this, File, adims, fdims, hbuf, varid)
 
subroutine cam_grid_write_darray_3d_double (this, File, adims, fdims, hbuf, varid)
 
subroutine cam_grid_write_darray_2d_real (this, File, adims, fdims, hbuf, varid)
 
subroutine cam_grid_write_darray_3d_real (this, File, adims, fdims, hbuf, varid)
 
subroutine cam_grid_get_patch_mask (this, lonl, lonu, latl, latu, patch)
 
integer function cam_grid_patch_get_id (this)
 
subroutine cam_grid_patch_get_global_size_map (this, gsize)
 
subroutine cam_grid_patch_get_global_size_axes (this, latsize, lonsize)
 
subroutine cam_grid_patch_get_axis_names (this, lat_name, lon_name, col_name, col_output)
 
subroutine cam_grid_patch_get_coord_long_name (this, axis, name)
 
subroutine cam_grid_patch_get_coord_units (this, axis, units)
 
subroutine cam_grid_patch_set_patch (this, lonl, lonu, latl, latu, id, map)
 
subroutine cam_grid_patch_get_decomp (this, field_lens, file_lens, dtype, iodesc, file_dest_in)
 
subroutine cam_grid_patch_compact (this, collected_output)
 
subroutine cam_grid_patch_get_active_cols (this, lchnk, active, srcdim_in)
 
subroutine cam_grid_patch_write_vals (this, File, header_info)
 
integer function cam_grid_patch_get_grid_index (this)
 
subroutine cam_grid_patch_deallocate (this)
 
integer function cam_grid_header_info_get_gridid (this)
 
subroutine cam_grid_header_info_set_gridid (this, id)
 
subroutine cam_grid_header_info_set_hdims (this, hdim1, hdim2)
 
integer function cam_grid_header_info_num_hdims (this)
 
integer function cam_grid_header_info_hdim (this, index)
 
subroutine cam_grid_header_info_set_varids (this, lon_varid, lat_varid)
 
type(var_desc_t) function, pointer cam_grid_header_info_lon_varid (this)
 
type(var_desc_t) function, pointer cam_grid_header_info_lat_varid (this)
 
subroutine cam_grid_header_info_deallocate (this)
 

Variables

integer, parameter, public max_hcoordname_len = 16
 
integer, parameter maxhgrids = 16
 
integer, save registeredhgrids = 0
 
type(cam_grid_t), dimension(maxhgrids), save cam_grids
 

Function/Subroutine Documentation

◆ add_cam_grid_attribute_0d_char()

subroutine cam_grid_support::add_cam_grid_attribute_0d_char ( character(len=*), intent(in)  gridname,
character(len=*), intent(in)  name,
character(len=*), intent(in)  val 
)
private
Here is the call graph for this function:

◆ add_cam_grid_attribute_0d_int()

subroutine cam_grid_support::add_cam_grid_attribute_0d_int ( character(len=*), intent(in)  gridname,
character(len=*), intent(in)  name,
character(len=*), intent(in)  long_name,
integer, intent(in)  val 
)
private
Here is the call graph for this function:

◆ add_cam_grid_attribute_1d_int()

subroutine cam_grid_support::add_cam_grid_attribute_1d_int ( character(len=*), intent(in)  gridname,
character(len=*), intent(in)  name,
character(len=*), intent(in)  long_name,
character(len=*), intent(in)  dimname,
integer, dimension(:), intent(in), target  values,
integer(imap), dimension(:), intent(in), optional, target  map 
)
private
Here is the call graph for this function:

◆ add_cam_grid_attribute_1d_r8()

subroutine cam_grid_support::add_cam_grid_attribute_1d_r8 ( character(len=*), intent(in)  gridname,
character(len=*), intent(in)  name,
character(len=*), intent(in)  long_name,
character(len=*), intent(in)  dimname,
real(r8), dimension(:), intent(in), target  values,
integer(imap), dimension(:), intent(in), optional, target  map 
)
private
Here is the call graph for this function:

◆ cam_grid_attr_init()

subroutine cam_grid_support::cam_grid_attr_init ( class(cam_grid_attribute_t this,
character(len=*), intent(in)  name,
character(len=*), intent(in)  long_name,
class(cam_grid_attribute_t), pointer  next 
)
private

◆ cam_grid_attr_init_0d_char()

subroutine cam_grid_support::cam_grid_attr_init_0d_char ( class(cam_grid_attribute_0d_char_t this,
character(len=*), intent(in)  name,
character(len=*), intent(in)  long_name,
character(len=*), intent(in)  val 
)
private

◆ cam_grid_attr_init_0d_int()

subroutine cam_grid_support::cam_grid_attr_init_0d_int ( class(cam_grid_attribute_0d_int_t this,
character(len=*), intent(in)  name,
character(len=*), intent(in)  long_name,
integer, intent(in)  val 
)
private

◆ cam_grid_attr_init_1d_int()

subroutine cam_grid_support::cam_grid_attr_init_1d_int ( class(cam_grid_attribute_1d_int_t this,
character(len=*), intent(in)  name,
character(len=*), intent(in)  long_name,
character(len=*), intent(in)  dimname,
integer, intent(in)  dimsize,
integer, dimension(:), intent(in), target  values,
integer(imap), dimension(:), intent(in), optional, target  map 
)
private

◆ cam_grid_attr_init_1d_r8()

subroutine cam_grid_support::cam_grid_attr_init_1d_r8 ( class(cam_grid_attribute_1d_r8_t this,
character(len=*), intent(in)  name,
character(len=*), intent(in)  long_name,
character(len=*), intent(in)  dimname,
integer, intent(in)  dimsize,
real(r8), dimension(:), intent(in), target  values,
integer(imap), dimension(:), intent(in), optional, target  map 
)
private

◆ cam_grid_attribute_copy()

subroutine, public cam_grid_support::cam_grid_attribute_copy ( character(len=*), intent(in)  src_grid,
character(len=*), intent(in)  dest_grid,
character(len=*), intent(in)  attribute_name 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cam_grid_block_indexed()

logical function cam_grid_support::cam_grid_block_indexed ( class(cam_grid_t this)

◆ cam_grid_check()

logical function, public cam_grid_support::cam_grid_check ( integer, intent(in)  id)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cam_grid_compute_patch()

subroutine, public cam_grid_support::cam_grid_compute_patch ( integer, intent(in)  id,
type(cam_grid_patch_t), intent(inout)  patch,
real(r8), intent(in)  lonl,
real(r8), intent(in)  lonu,
real(r8), intent(in)  latl,
real(r8), intent(in)  latu 
)
Here is the caller graph for this function:

◆ cam_grid_coord_names()

subroutine cam_grid_support::cam_grid_coord_names ( class(cam_grid_t this,
character(len=*), intent(out)  name1,
character(len=*), intent(out)  name2 
)
private

◆ cam_grid_dim_names()

subroutine cam_grid_support::cam_grid_dim_names ( class(cam_grid_t this,
character(len=*), intent(out)  name1,
character(len=*), intent(out)  name2 
)
private

◆ cam_grid_dimensions_id()

subroutine cam_grid_support::cam_grid_dimensions_id ( integer, intent(in)  gridid,
integer, dimension(2), intent(inout)  dims,
integer, intent(out), optional  rank 
)
private

◆ cam_grid_dimensions_name()

subroutine cam_grid_support::cam_grid_dimensions_name ( character(len=*), intent(in)  gridname,
integer, dimension(2), intent(inout)  dims,
integer, intent(out), optional  rank 
)
private

◆ cam_grid_find_dest_dims()

subroutine cam_grid_support::cam_grid_find_dest_dims ( class(cam_grid_t this,
character(len=*), dimension(:), intent(in)  file_dnames,
integer, dimension(:), pointer  dest_out 
)
private

◆ cam_grid_find_dimids()

subroutine cam_grid_support::cam_grid_find_dimids ( class(cam_grid_t this,
type(file_desc_t), intent(inout)  File,
integer, dimension(:), intent(out)  dimids 
)

◆ cam_grid_find_src_dims()

subroutine cam_grid_support::cam_grid_find_src_dims ( class(cam_grid_t this,
character(len=*), dimension(:), intent(in)  field_dnames,
integer, dimension(:), pointer  src_out 
)
private

◆ cam_grid_get_array_bounds()

subroutine, public cam_grid_support::cam_grid_get_array_bounds ( integer, intent(in)  id,
integer, dimension(:,:), intent(inout)  dims 
)
Here is the caller graph for this function:

◆ cam_grid_get_block_count()

integer function, public cam_grid_support::cam_grid_get_block_count ( integer, intent(in)  id,
integer, intent(in)  block_id 
)
Here is the caller graph for this function:

◆ cam_grid_get_coord_names()

subroutine, public cam_grid_support::cam_grid_get_coord_names ( integer, intent(in)  id,
character(len=*), intent(out)  name1,
character(len=*), intent(out)  name2 
)

◆ cam_grid_get_decomp()

subroutine, public cam_grid_support::cam_grid_get_decomp ( integer, intent(in)  id,
integer, dimension(:), intent(in)  field_lens,
integer, dimension(:), intent(in)  file_lens,
integer, intent(in)  dtype,
type(io_desc_t), intent(out), pointer  iodesc,
character(len=*), dimension(:), intent(in), optional  field_dnames,
character(len=*), dimension(:), intent(in), optional  file_dnames 
)
Here is the caller graph for this function:

◆ cam_grid_get_dim_names()

subroutine, public cam_grid_support::cam_grid_get_dim_names ( integer, intent(in)  id,
character(len=*), intent(out)  name1,
character(len=*), intent(out)  name2 
)
Here is the caller graph for this function:

◆ cam_grid_get_dims()

subroutine cam_grid_support::cam_grid_get_dims ( class(cam_grid_t this,
integer, dimension(2), intent(inout)  dims 
)
private

◆ cam_grid_get_file_dimids()

subroutine, public cam_grid_support::cam_grid_get_file_dimids ( integer, intent(in)  id,
type(file_desc_t), intent(inout)  File,
integer, dimension(:), intent(out)  dimids 
)
Here is the caller graph for this function:

◆ cam_grid_get_gcid()

subroutine, public cam_grid_support::cam_grid_get_gcid ( integer, intent(in)  id,
integer(imap), dimension(:), pointer  gcid 
)
Here is the caller graph for this function:

◆ cam_grid_get_latvals()

real(r8) function, dimension(:), pointer, public cam_grid_support::cam_grid_get_latvals ( integer, intent(in)  id)
Here is the caller graph for this function:

◆ cam_grid_get_local_size()

integer function, public cam_grid_support::cam_grid_get_local_size ( integer, intent(in)  id,
integer, intent(in), optional  nlev 
)
Here is the caller graph for this function:

◆ cam_grid_get_lon_lat()

subroutine cam_grid_support::cam_grid_get_lon_lat ( class(cam_grid_t this,
integer, intent(in)  index,
real(r8), intent(out)  lon,
real(r8), intent(out)  lat,
logical, intent(out)  isMapped 
)
private

◆ cam_grid_get_lonvals()

real(r8) function, dimension(:), pointer, public cam_grid_support::cam_grid_get_lonvals ( integer, intent(in)  id)
Here is the caller graph for this function:

◆ cam_grid_get_patch_mask()

subroutine cam_grid_support::cam_grid_get_patch_mask ( class(cam_grid_t this,
real(r8), intent(in)  lonl,
real(r8), intent(in)  lonu,
real(r8), intent(in)  latl,
real(r8), intent(in)  latu,
type(cam_grid_patch_t), intent(inout)  patch 
)

◆ cam_grid_get_pio_decomp()

subroutine cam_grid_support::cam_grid_get_pio_decomp ( class(cam_grid_t this,
integer, dimension(:), intent(in)  field_lens,
integer, dimension(:), intent(in)  file_lens,
integer, intent(in)  dtype,
type(io_desc_t), intent(out), pointer  iodesc,
character(len=*), dimension(:), intent(in), optional  field_dnames,
character(len=*), dimension(:), intent(in), optional  file_dnames 
)
private
Here is the call graph for this function:

◆ cam_grid_has_blocksize()

logical function, public cam_grid_support::cam_grid_has_blocksize ( integer, intent(in)  id)

◆ cam_grid_header_info_deallocate()

subroutine cam_grid_support::cam_grid_header_info_deallocate ( class(cam_grid_header_info_t this)
private

◆ cam_grid_header_info_get_gridid()

integer function cam_grid_support::cam_grid_header_info_get_gridid ( class(cam_grid_header_info_t this)
private

◆ cam_grid_header_info_hdim()

integer function cam_grid_support::cam_grid_header_info_hdim ( class(cam_grid_header_info_t this,
integer, intent(in)  index 
)
private

◆ cam_grid_header_info_lat_varid()

type(var_desc_t) function, pointer cam_grid_support::cam_grid_header_info_lat_varid ( class(cam_grid_header_info_t this)
private

◆ cam_grid_header_info_lon_varid()

type(var_desc_t) function, pointer cam_grid_support::cam_grid_header_info_lon_varid ( class(cam_grid_header_info_t this)
private

◆ cam_grid_header_info_num_hdims()

integer function cam_grid_support::cam_grid_header_info_num_hdims ( class(cam_grid_header_info_t this)
private

◆ cam_grid_header_info_set_gridid()

subroutine cam_grid_support::cam_grid_header_info_set_gridid ( class(cam_grid_header_info_t this,
integer, intent(in)  id 
)
private

◆ cam_grid_header_info_set_hdims()

subroutine cam_grid_support::cam_grid_header_info_set_hdims ( class(cam_grid_header_info_t this,
integer, intent(in)  hdim1,
integer, intent(in), optional  hdim2 
)
private

◆ cam_grid_header_info_set_varids()

subroutine cam_grid_support::cam_grid_header_info_set_varids ( class(cam_grid_header_info_t this,
type(var_desc_t), pointer  lon_varid,
type(var_desc_t), pointer  lat_varid 
)
private

◆ cam_grid_id()

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

◆ cam_grid_is_block_indexed()

logical function, public cam_grid_support::cam_grid_is_block_indexed ( integer, intent(in)  id)
Here is the caller graph for this function:

◆ cam_grid_is_unstructured()

logical function, public cam_grid_support::cam_grid_is_unstructured ( integer, intent(in)  id)
Here is the caller graph for this function:

◆ cam_grid_local_size()

integer function cam_grid_support::cam_grid_local_size ( class(cam_grid_t this)

◆ cam_grid_num_grids()

integer function, public cam_grid_support::cam_grid_num_grids ( )
Here is the caller graph for this function:

◆ cam_grid_patch_compact()

subroutine cam_grid_support::cam_grid_patch_compact ( class(cam_grid_patch_t this,
logical, intent(in), optional  collected_output 
)

◆ cam_grid_patch_deallocate()

subroutine cam_grid_support::cam_grid_patch_deallocate ( class(cam_grid_patch_t this)
private

◆ cam_grid_patch_get_active_cols()

subroutine cam_grid_support::cam_grid_patch_get_active_cols ( class(cam_grid_patch_t this,
integer, intent(in)  lchnk,
logical, dimension(:), intent(out)  active,
integer, intent(in), optional  srcdim_in 
)

◆ cam_grid_patch_get_axis_names()

subroutine cam_grid_support::cam_grid_patch_get_axis_names ( class(cam_grid_patch_t this,
character(len=*), intent(out)  lat_name,
character(len=*), intent(out)  lon_name,
character(len=*), intent(out)  col_name,
logical, intent(in)  col_output 
)
private
Here is the call graph for this function:

◆ cam_grid_patch_get_coord_long_name()

subroutine cam_grid_support::cam_grid_patch_get_coord_long_name ( class(cam_grid_patch_t this,
character(len=*), intent(in)  axis,
character(len=*), intent(out)  name 
)
private
Here is the call graph for this function:

◆ cam_grid_patch_get_coord_units()

subroutine cam_grid_support::cam_grid_patch_get_coord_units ( class(cam_grid_patch_t this,
character(len=*), intent(in)  axis,
character(len=*), intent(out)  units 
)
private
Here is the call graph for this function:

◆ cam_grid_patch_get_decomp()

subroutine cam_grid_support::cam_grid_patch_get_decomp ( class(cam_grid_patch_t this,
integer, dimension(:), intent(in)  field_lens,
integer, dimension(:), intent(in)  file_lens,
integer, intent(in)  dtype,
type(io_desc_t), intent(out), pointer  iodesc,
integer, dimension(:), intent(in), optional  file_dest_in 
)
private
Here is the call graph for this function:

◆ cam_grid_patch_get_global_size_axes()

subroutine cam_grid_support::cam_grid_patch_get_global_size_axes ( class(cam_grid_patch_t), intent(in)  this,
integer, intent(out)  latsize,
integer, intent(out)  lonsize 
)
private

◆ cam_grid_patch_get_global_size_map()

subroutine cam_grid_support::cam_grid_patch_get_global_size_map ( class(cam_grid_patch_t), intent(in)  this,
integer, intent(out)  gsize 
)
private

◆ cam_grid_patch_get_grid_index()

integer function cam_grid_support::cam_grid_patch_get_grid_index ( class(cam_grid_patch_t this)
Here is the call graph for this function:

◆ cam_grid_patch_get_id()

integer function cam_grid_support::cam_grid_patch_get_id ( class(cam_grid_patch_t this)

◆ cam_grid_patch_set_patch()

subroutine cam_grid_support::cam_grid_patch_set_patch ( class(cam_grid_patch_t this,
real(r8), intent(in)  lonl,
real(r8), intent(in)  lonu,
real(r8), intent(in)  latl,
real(r8), intent(in)  latu,
integer, intent(in)  id,
type(cam_filemap_t), intent(in)  map 
)
private

◆ cam_grid_patch_write_vals()

subroutine cam_grid_support::cam_grid_patch_write_vals ( class(cam_grid_patch_t this,
type(file_desc_t), intent(inout)  File,
type(cam_grid_header_info_t), intent(inout)  header_info 
)
private
Here is the call graph for this function:

◆ cam_grid_read_darray_2d_double()

subroutine cam_grid_support::cam_grid_read_darray_2d_double ( class(cam_grid_t this,
type(file_desc_t), intent(inout)  File,
integer, dimension(:), intent(in)  adims,
integer, dimension(:), intent(in)  fdims,
real(r8), dimension(:,:), intent(out)  hbuf,
type(var_desc_t), intent(inout)  varid 
)
Here is the call graph for this function:

◆ cam_grid_read_darray_2d_int()

subroutine cam_grid_support::cam_grid_read_darray_2d_int ( class(cam_grid_t this,
type(file_desc_t), intent(inout)  File,
integer, dimension(:), intent(in)  adims,
integer, dimension(:), intent(in)  fdims,
integer, dimension(:,:), intent(out)  hbuf,
type(var_desc_t), intent(inout)  varid 
)
Here is the call graph for this function:

◆ cam_grid_read_darray_2d_real()

subroutine cam_grid_support::cam_grid_read_darray_2d_real ( class(cam_grid_t this,
type(file_desc_t), intent(inout)  File,
integer, dimension(:), intent(in)  adims,
integer, dimension(:), intent(in)  fdims,
real(r4), dimension(:,:), intent(out)  hbuf,
type(var_desc_t), intent(inout)  varid 
)
Here is the call graph for this function:

◆ cam_grid_read_darray_3d_double()

subroutine cam_grid_support::cam_grid_read_darray_3d_double ( class(cam_grid_t this,
type(file_desc_t), intent(inout)  File,
integer, dimension(:), intent(in)  adims,
integer, dimension(:), intent(in)  fdims,
real(r8), dimension(:,:,:), intent(out)  hbuf,
type(var_desc_t), intent(inout)  varid 
)
Here is the call graph for this function:

◆ cam_grid_read_darray_3d_int()

subroutine cam_grid_support::cam_grid_read_darray_3d_int ( class(cam_grid_t this,
type(file_desc_t), intent(inout)  File,
integer, dimension(:), intent(in)  adims,
integer, dimension(:), intent(in)  fdims,
integer, dimension(:,:,:), intent(out)  hbuf,
type(var_desc_t), intent(inout)  varid 
)
Here is the call graph for this function:

◆ cam_grid_read_darray_3d_real()

subroutine cam_grid_support::cam_grid_read_darray_3d_real ( class(cam_grid_t this,
type(file_desc_t), intent(inout)  File,
integer, dimension(:), intent(in)  adims,
integer, dimension(:), intent(in)  fdims,
real(r4), dimension(:,:,:), intent(out)  hbuf,
type(var_desc_t), intent(inout)  varid 
)
Here is the call graph for this function:

◆ cam_grid_read_dist_array_2d_double()

subroutine cam_grid_support::cam_grid_read_dist_array_2d_double ( type(file_desc_t), intent(inout)  File,
integer, intent(in)  id,
integer, dimension(:), intent(in)  adims,
integer, dimension(:), intent(in)  fdims,
real(r8), dimension(:,:), intent(out)  hbuf,
type(var_desc_t), intent(inout)  varid 
)

◆ cam_grid_read_dist_array_2d_int()

subroutine cam_grid_support::cam_grid_read_dist_array_2d_int ( type(file_desc_t), intent(inout)  File,
integer, intent(in)  id,
integer, dimension(:), intent(in)  adims,
integer, dimension(:), intent(in)  fdims,
integer, dimension(:,:), intent(out)  hbuf,
type(var_desc_t), intent(inout)  varid 
)

◆ cam_grid_read_dist_array_2d_real()

subroutine cam_grid_support::cam_grid_read_dist_array_2d_real ( type(file_desc_t), intent(inout)  File,
integer, intent(in)  id,
integer, dimension(:), intent(in)  adims,
integer, dimension(:), intent(in)  fdims,
real(r4), dimension(:,:), intent(out)  hbuf,
type(var_desc_t), intent(inout)  varid 
)

◆ cam_grid_read_dist_array_3d_double()

subroutine cam_grid_support::cam_grid_read_dist_array_3d_double ( type(file_desc_t), intent(inout)  File,
integer, intent(in)  id,
integer, dimension(:), intent(in)  adims,
integer, dimension(:), intent(in)  fdims,
real(r8), dimension(:,:,:), intent(out)  hbuf,
type(var_desc_t), intent(inout)  varid 
)

◆ cam_grid_read_dist_array_3d_int()

subroutine cam_grid_support::cam_grid_read_dist_array_3d_int ( type(file_desc_t), intent(inout)  File,
integer, intent(in)  id,
integer, dimension(:), intent(in)  adims,
integer, dimension(:), intent(in)  fdims,
integer, dimension(:,:,:), intent(out)  hbuf,
type(var_desc_t), intent(inout)  varid 
)

◆ cam_grid_read_dist_array_3d_real()

subroutine cam_grid_support::cam_grid_read_dist_array_3d_real ( type(file_desc_t), intent(inout)  File,
integer, intent(in)  id,
integer, dimension(:), intent(in)  adims,
integer, dimension(:), intent(in)  fdims,
real(r4), dimension(:,:,:), intent(out)  hbuf,
type(var_desc_t), intent(inout)  varid 
)

◆ cam_grid_register()

subroutine, public cam_grid_support::cam_grid_register ( character(len=*), intent(in)  name,
integer, intent(in)  id,
type(horiz_coord_t), intent(in), pointer  lat_coord,
type(horiz_coord_t), intent(in), pointer  lon_coord,
integer(imap), dimension(:,:), intent(in), pointer  map,
logical, intent(in), optional  unstruct,
logical, intent(in), optional  block_indexed,
integer, dimension(2), intent(in), optional  src_in,
integer, dimension(2), intent(in), optional  dest_in 
)
Here is the caller graph for this function:

◆ cam_grid_set_map()

subroutine cam_grid_support::cam_grid_set_map ( class(cam_grid_t this,
integer(imap), dimension(:,:), pointer  map,
integer, dimension(2), intent(in)  src,
integer, dimension(2), intent(in)  dest 
)
private

◆ cam_grid_unstructured()

logical function cam_grid_support::cam_grid_unstructured ( class(cam_grid_t this)
private

◆ cam_grid_write_attr()

subroutine, public cam_grid_support::cam_grid_write_attr ( type(file_desc_t), intent(inout)  File,
integer, intent(in)  grid_id,
type(cam_grid_header_info_t), intent(inout)  header_info 
)
Here is the caller graph for this function:

◆ cam_grid_write_darray_2d_double()

subroutine cam_grid_support::cam_grid_write_darray_2d_double ( class(cam_grid_t this,
type(file_desc_t), intent(inout)  File,
integer, dimension(:), intent(in)  adims,
integer, dimension(:), intent(in)  fdims,
real(r8), dimension(:,:), intent(in)  hbuf,
type(var_desc_t), intent(inout)  varid 
)
Here is the call graph for this function:

◆ cam_grid_write_darray_2d_int()

subroutine cam_grid_support::cam_grid_write_darray_2d_int ( class(cam_grid_t this,
type(file_desc_t), intent(inout)  File,
integer, dimension(:), intent(in)  adims,
integer, dimension(:), intent(in)  fdims,
integer, dimension(:,:), intent(in)  hbuf,
type(var_desc_t), intent(inout)  varid 
)
Here is the call graph for this function:

◆ cam_grid_write_darray_2d_real()

subroutine cam_grid_support::cam_grid_write_darray_2d_real ( class(cam_grid_t this,
type(file_desc_t), intent(inout)  File,
integer, dimension(:), intent(in)  adims,
integer, dimension(:), intent(in)  fdims,
real(r4), dimension(:,:), intent(in)  hbuf,
type(var_desc_t), intent(inout)  varid 
)
Here is the call graph for this function:

◆ cam_grid_write_darray_3d_double()

subroutine cam_grid_support::cam_grid_write_darray_3d_double ( class(cam_grid_t this,
type(file_desc_t), intent(inout)  File,
integer, dimension(:), intent(in)  adims,
integer, dimension(:), intent(in)  fdims,
real(r8), dimension(:,:,:), intent(in)  hbuf,
type(var_desc_t), intent(inout)  varid 
)
Here is the call graph for this function:

◆ cam_grid_write_darray_3d_int()

subroutine cam_grid_support::cam_grid_write_darray_3d_int ( class(cam_grid_t this,
type(file_desc_t), intent(inout)  File,
integer, dimension(:), intent(in)  adims,
integer, dimension(:), intent(in)  fdims,
integer, dimension(:,:,:), intent(in)  hbuf,
type(var_desc_t), intent(inout)  varid 
)
Here is the call graph for this function:

◆ cam_grid_write_darray_3d_real()

subroutine cam_grid_support::cam_grid_write_darray_3d_real ( class(cam_grid_t this,
type(file_desc_t), intent(inout)  File,
integer, dimension(:), intent(in)  adims,
integer, dimension(:), intent(in)  fdims,
real(r4), dimension(:,:,:), intent(in)  hbuf,
type(var_desc_t), intent(inout)  varid 
)
Here is the call graph for this function:

◆ cam_grid_write_dist_array_2d_double()

subroutine cam_grid_support::cam_grid_write_dist_array_2d_double ( type(file_desc_t), intent(inout)  File,
integer, intent(in)  id,
integer, dimension(:), intent(in)  adims,
integer, dimension(:), intent(in)  fdims,
real(r8), dimension(:,:), intent(in)  hbuf,
type(var_desc_t), intent(inout)  varid 
)

◆ cam_grid_write_dist_array_2d_int()

subroutine cam_grid_support::cam_grid_write_dist_array_2d_int ( type(file_desc_t), intent(inout)  File,
integer, intent(in)  id,
integer, dimension(:), intent(in)  adims,
integer, dimension(:), intent(in)  fdims,
integer, dimension(:,:), intent(in)  hbuf,
type(var_desc_t), intent(inout)  varid 
)

◆ cam_grid_write_dist_array_2d_real()

subroutine cam_grid_support::cam_grid_write_dist_array_2d_real ( type(file_desc_t), intent(inout)  File,
integer, intent(in)  id,
integer, dimension(:), intent(in)  adims,
integer, dimension(:), intent(in)  fdims,
real(r4), dimension(:,:), intent(in)  hbuf,
type(var_desc_t), intent(inout)  varid 
)

◆ cam_grid_write_dist_array_3d_double()

subroutine cam_grid_support::cam_grid_write_dist_array_3d_double ( type(file_desc_t), intent(inout)  File,
integer, intent(in)  id,
integer, dimension(:), intent(in)  adims,
integer, dimension(:), intent(in)  fdims,
real(r8), dimension(:,:,:), intent(in)  hbuf,
type(var_desc_t), intent(inout)  varid 
)

◆ cam_grid_write_dist_array_3d_int()

subroutine cam_grid_support::cam_grid_write_dist_array_3d_int ( type(file_desc_t), intent(inout)  File,
integer, intent(in)  id,
integer, dimension(:), intent(in)  adims,
integer, dimension(:), intent(in)  fdims,
integer, dimension(:,:,:), intent(in)  hbuf,
type(var_desc_t), intent(inout)  varid 
)

◆ cam_grid_write_dist_array_3d_real()

subroutine cam_grid_support::cam_grid_write_dist_array_3d_real ( type(file_desc_t), intent(inout)  File,
integer, intent(in)  id,
integer, dimension(:), intent(in)  adims,
integer, dimension(:), intent(in)  fdims,
real(r4), dimension(:,:,:), intent(in)  hbuf,
type(var_desc_t), intent(inout)  varid 
)

◆ cam_grid_write_var()

subroutine, public cam_grid_support::cam_grid_write_var ( type(file_desc_t), intent(inout)  File,
integer, intent(in)  grid_id 
)
Here is the caller graph for this function:

◆ find_cam_grid_attr()

subroutine cam_grid_support::find_cam_grid_attr ( integer, intent(in)  gridind,
character(len=*), intent(in)  name,
class(cam_grid_attribute_t), intent(out), pointer  attr 
)
private
Here is the caller graph for this function:

◆ get_cam_grid_index_char()

integer function cam_grid_support::get_cam_grid_index_char ( character(len=*), intent(in)  gridname)

◆ get_cam_grid_index_int()

integer function cam_grid_support::get_cam_grid_index_int ( integer, intent(in)  gridid)
private

◆ getattrptrattr()

class(cam_grid_attribute_t) function, pointer cam_grid_support::getattrptrattr ( class(cam_grid_attr_ptr_t this)
private

◆ getattrptrnext()

type(cam_grid_attr_ptr_t) function, pointer cam_grid_support::getattrptrnext ( class(cam_grid_attr_ptr_t this)
private

◆ horiz_coord_create()

type(horiz_coord_t) function, pointer, public cam_grid_support::horiz_coord_create ( character(len=*), intent(in)  name,
character(len=*), intent(in)  dimname,
integer, intent(in)  dimsize,
character(len=*), intent(in)  long_name,
character(len=*), intent(in)  units,
integer, intent(in)  lbound,
integer, intent(in)  ubound,
real(r8), dimension(lbound:ubound), intent(in)  values,
integer(imap), dimension(ubound-lbound+1), intent(in), optional  map 
)
Here is the caller graph for this function:

◆ horiz_coord_dim_name()

subroutine cam_grid_support::horiz_coord_dim_name ( class(horiz_coord_t), intent(in)  this,
character(len=*), intent(out)  dimname 
)
private

◆ horiz_coord_find_size()

integer function cam_grid_support::horiz_coord_find_size ( class(horiz_coord_t), intent(in)  this,
character(len=*), intent(in)  dimname 
)
private

◆ horiz_coord_len()

subroutine cam_grid_support::horiz_coord_len ( class(horiz_coord_t), intent(in)  this,
integer, intent(out)  clen 
)
private

◆ horiz_coord_long_name()

subroutine cam_grid_support::horiz_coord_long_name ( class(horiz_coord_t), intent(in)  this,
character(len=*), intent(out)  name 
)
private

◆ horiz_coord_name()

subroutine cam_grid_support::horiz_coord_name ( class(horiz_coord_t), intent(in)  this,
character(len=*), intent(out)  name 
)
private

◆ horiz_coord_num_elem()

integer function cam_grid_support::horiz_coord_num_elem ( class(horiz_coord_t), intent(in)  this)
private

◆ horiz_coord_units()

subroutine cam_grid_support::horiz_coord_units ( class(horiz_coord_t), intent(in)  this,
character(len=*), intent(out)  units 
)
private

◆ initializeattrptr()

subroutine cam_grid_support::initializeattrptr ( class(cam_grid_attr_ptr_t this,
class(cam_grid_attribute_t), target  attr 
)
private

◆ insert_grid_attribute()

subroutine cam_grid_support::insert_grid_attribute ( integer, intent(in)  gridind,
class(cam_grid_attribute_t), pointer  attr 
)
private
Here is the caller graph for this function:

◆ num_cam_grid_attrs()

integer function cam_grid_support::num_cam_grid_attrs ( integer, intent(in)  gridind)
private

◆ print_attr_0d_char()

subroutine cam_grid_support::print_attr_0d_char ( class(cam_grid_attribute_0d_char_t), intent(in)  this)
private

◆ print_attr_0d_int()

subroutine cam_grid_support::print_attr_0d_int ( class(cam_grid_attribute_0d_int_t), intent(in)  this)
private

◆ print_attr_1d_int()

subroutine cam_grid_support::print_attr_1d_int ( class(cam_grid_attribute_1d_int_t), intent(in)  this)
private

◆ print_attr_1d_r8()

subroutine cam_grid_support::print_attr_1d_r8 ( class(cam_grid_attribute_1d_r8_t), intent(in)  this)
private

◆ print_attr_base()

subroutine cam_grid_support::print_attr_base ( class(cam_grid_attribute_t), intent(in)  this)
private

◆ print_cam_grid()

subroutine cam_grid_support::print_cam_grid ( class(cam_grid_t this)
private

◆ setattrptrnext()

subroutine cam_grid_support::setattrptrnext ( class(cam_grid_attr_ptr_t this,
type(cam_grid_attr_ptr_t), pointer  next 
)
private

◆ write_cam_grid_attr_0d_char()

subroutine cam_grid_support::write_cam_grid_attr_0d_char ( class(cam_grid_attribute_0d_char_t), intent(inout)  attr,
type(file_desc_t), intent(inout)  File 
)
Here is the call graph for this function:

◆ write_cam_grid_attr_0d_int()

subroutine cam_grid_support::write_cam_grid_attr_0d_int ( class(cam_grid_attribute_0d_int_t), intent(inout)  attr,
type(file_desc_t), intent(inout)  File 
)
private

◆ write_cam_grid_attr_1d_int()

subroutine cam_grid_support::write_cam_grid_attr_1d_int ( class(cam_grid_attribute_1d_int_t), intent(inout)  attr,
type(file_desc_t), intent(inout)  File 
)

◆ write_cam_grid_attr_1d_r8()

subroutine cam_grid_support::write_cam_grid_attr_1d_r8 ( class(cam_grid_attribute_1d_r8_t), intent(inout)  attr,
type(file_desc_t), intent(inout)  File 
)

◆ write_cam_grid_val_0d_char()

subroutine cam_grid_support::write_cam_grid_val_0d_char ( class(cam_grid_attribute_0d_char_t), intent(inout)  attr,
type(file_desc_t), intent(inout)  File 
)

◆ write_cam_grid_val_0d_int()

subroutine cam_grid_support::write_cam_grid_val_0d_int ( class(cam_grid_attribute_0d_int_t), intent(inout)  attr,
type(file_desc_t), intent(inout)  File 
)
Here is the call graph for this function:

◆ write_cam_grid_val_1d_int()

subroutine cam_grid_support::write_cam_grid_val_1d_int ( class(cam_grid_attribute_1d_int_t), intent(inout)  attr,
type(file_desc_t), intent(inout)  File 
)
Here is the call graph for this function:

◆ write_cam_grid_val_1d_r8()

subroutine cam_grid_support::write_cam_grid_val_1d_r8 ( class(cam_grid_attribute_1d_r8_t), intent(inout)  attr,
type(file_desc_t), intent(inout)  File 
)
Here is the call graph for this function:

◆ write_horiz_coord_attr()

subroutine cam_grid_support::write_horiz_coord_attr ( class(horiz_coord_t), intent(inout)  this,
type(file_desc_t), intent(inout)  File,
integer, intent(out), optional  dimid_out 
)
private
Here is the call graph for this function:

◆ write_horiz_coord_var()

subroutine cam_grid_support::write_horiz_coord_var ( class(horiz_coord_t), intent(inout)  this,
type(file_desc_t), intent(inout)  File 
)
Here is the call graph for this function:

Variable Documentation

◆ cam_grids

type(cam_grid_t), dimension(maxhgrids), save cam_grid_support::cam_grids
private

◆ max_hcoordname_len

integer, parameter, public cam_grid_support::max_hcoordname_len = 16

◆ maxhgrids

integer, parameter cam_grid_support::maxhgrids = 16
private

◆ registeredhgrids

integer, save cam_grid_support::registeredhgrids = 0
private