FV3 Bundle
grid_mod Module Reference

Data Types

interface  get_grid_cell_area
 
interface  get_grid_cell_centers
 
interface  get_grid_cell_vertices
 
interface  get_grid_comp_area
 
interface  get_grid_size
 

Functions/Subroutines

integer function get_grid_version ()
 
subroutine, public get_grid_ntiles (component, ntiles)
 
subroutine get_grid_size_for_all_tiles (component, nx, ny)
 
subroutine get_grid_size_for_one_tile (component, tile, nx, ny)
 
subroutine get_grid_cell_area_sg (component, tile, cellarea, domain)
 
subroutine get_grid_comp_area_sg (component, tile, area, domain)
 
subroutine get_grid_cell_area_ug (component, tile, cellarea, SG_domain, UG_domain)
 
subroutine get_grid_comp_area_ug (component, tile, area, SG_domain, UG_domain)
 
subroutine get_grid_cell_vertices_1d (component, tile, glonb, glatb)
 
subroutine get_grid_cell_vertices_2d (component, tile, lonb, latb, domain)
 
subroutine get_grid_cell_vertices_ug (component, tile, lonb, latb, SG_domain, UG_domain)
 
subroutine get_grid_cell_centers_1d (component, tile, glon, glat)
 
subroutine get_grid_cell_centers_2d (component, tile, lon, lat, domain)
 
subroutine get_grid_cell_centers_ug (component, tile, lon, lat, SG_domain, UG_domain)
 
subroutine, public define_cube_mosaic (component, domain, layout, halo, maskmap)
 

Variables

character(len= *), parameter module_name = 'grid_mod'
 
character(len= *), parameter grid_dir = 'INPUT/'
 
character(len= *), parameter grid_file = 'INPUT/grid_spec.nc'
 
integer, parameter max_name = 256
 
integer, parameter max_file = 1024
 
integer, parameter version_0 = 0
 
integer, parameter version_1 = 1
 
integer, parameter version_2 = 2
 
integer, parameter bufsize = 1048576
 
integer grid_version = -1
 
logical great_circle_algorithm = .FALSE.
 
logical first_call = .TRUE.
 

Function/Subroutine Documentation

◆ define_cube_mosaic()

subroutine, public grid_mod::define_cube_mosaic ( character(len=*), intent(in)  component,
type(domain2d), intent(inout)  domain,
integer, dimension(2), intent(in)  layout,
integer, intent(in), optional  halo,
logical, dimension(:,:,:), intent(in), optional  maskmap 
)

Definition at line 963 of file grid.F90.

Here is the call graph for this function:

◆ get_grid_cell_area_sg()

subroutine grid_mod::get_grid_cell_area_sg ( character(len=*), intent(in)  component,
integer, intent(in)  tile,
real, dimension(:,:), intent(inout)  cellarea,
type(domain2d), intent(in), optional  domain 
)
private

Definition at line 207 of file grid.F90.

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

◆ get_grid_cell_area_ug()

subroutine grid_mod::get_grid_cell_area_ug ( character(len=*), intent(in)  component,
integer, intent(in)  tile,
real, dimension(:), intent(inout)  cellarea,
type(domain2d), intent(in)  SG_domain,
type(domainug), intent(in)  UG_domain 
)
private

Definition at line 415 of file grid.F90.

Here is the call graph for this function:

◆ get_grid_cell_centers_1d()

subroutine grid_mod::get_grid_cell_centers_1d ( character(len=*), intent(in)  component,
integer, intent(in)  tile,
real, dimension(:), intent(inout)  glon,
real, dimension(:), intent(inout)  glat 
)
private

Definition at line 736 of file grid.F90.

Here is the call graph for this function:

◆ get_grid_cell_centers_2d()

subroutine grid_mod::get_grid_cell_centers_2d ( character(len=*), intent(in)  component,
integer, intent(in)  tile,
real, dimension(:,:), intent(inout)  lon,
real, dimension(:,:), intent(inout)  lat,
type(domain2d), intent(in), optional  domain 
)
private

Definition at line 806 of file grid.F90.

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

◆ get_grid_cell_centers_ug()

subroutine grid_mod::get_grid_cell_centers_ug ( character(len=*), intent(in)  component,
integer, intent(in)  tile,
real, dimension(:), intent(inout)  lon,
real, dimension(:), intent(inout)  lat,
type(domain2d), intent(in)  SG_domain,
type(domainug), intent(in)  UG_domain 
)
private

Definition at line 939 of file grid.F90.

Here is the call graph for this function:

◆ get_grid_cell_vertices_1d()

subroutine grid_mod::get_grid_cell_vertices_1d ( character(len=*), intent(in)  component,
integer, intent(in)  tile,
real, dimension(:), intent(inout)  glonb,
real, dimension(:), intent(inout)  glatb 
)
private

Definition at line 457 of file grid.F90.

Here is the call graph for this function:

◆ get_grid_cell_vertices_2d()

subroutine grid_mod::get_grid_cell_vertices_2d ( character(len=*), intent(in)  component,
integer, intent(in)  tile,
real, dimension(:,:), intent(inout)  lonb,
real, dimension(:,:), intent(inout)  latb,
type(domain2d), intent(in), optional  domain 
)
private

Definition at line 541 of file grid.F90.

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

◆ get_grid_cell_vertices_ug()

subroutine grid_mod::get_grid_cell_vertices_ug ( character(len=*), intent(in)  component,
integer, intent(in)  tile,
real, dimension(:,:), intent(inout)  lonb,
real, dimension(:,:), intent(inout)  latb,
type(domain2d), intent(in)  SG_domain,
type(domainug), intent(in)  UG_domain 
)
private

Definition at line 692 of file grid.F90.

Here is the call graph for this function:

◆ get_grid_comp_area_sg()

subroutine grid_mod::get_grid_comp_area_sg ( character(len=*)  component,
integer, intent(in)  tile,
real, dimension(:,:), intent(inout)  area,
type(domain2d), intent(in), optional  domain 
)
private

Definition at line 254 of file grid.F90.

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

◆ get_grid_comp_area_ug()

subroutine grid_mod::get_grid_comp_area_ug ( character(len=*), intent(in)  component,
integer, intent(in)  tile,
real, dimension(:), intent(inout)  area,
type(domain2d), intent(in)  SG_domain,
type(domainug), intent(in)  UG_domain 
)
private

Definition at line 432 of file grid.F90.

Here is the call graph for this function:

◆ get_grid_ntiles()

subroutine, public grid_mod::get_grid_ntiles ( character(len=*)  component,
integer, intent(out)  ntiles 
)

Definition at line 136 of file grid.F90.

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

◆ get_grid_size_for_all_tiles()

subroutine grid_mod::get_grid_size_for_all_tiles ( character(len=*)  component,
integer, dimension(:), intent(inout)  nx,
integer, dimension(:), intent(inout)  ny 
)
private

Definition at line 156 of file grid.F90.

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

◆ get_grid_size_for_one_tile()

subroutine grid_mod::get_grid_size_for_one_tile ( character(len=*)  component,
integer, intent(in)  tile,
integer, intent(inout)  nx,
integer, intent(inout)  ny 
)
private

Definition at line 182 of file grid.F90.

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

◆ get_grid_version()

integer function grid_mod::get_grid_version ( )
private

Definition at line 108 of file grid.F90.

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

Variable Documentation

◆ bufsize

integer, parameter grid_mod::bufsize = 1048576
private

Definition at line 96 of file grid.F90.

◆ first_call

logical grid_mod::first_call = .TRUE.
private

Definition at line 102 of file grid.F90.

◆ great_circle_algorithm

logical grid_mod::great_circle_algorithm = .FALSE.
private

Definition at line 101 of file grid.F90.

◆ grid_dir

character(len=*), parameter grid_mod::grid_dir = 'INPUT/'
private

Definition at line 85 of file grid.F90.

◆ grid_file

character(len=*), parameter grid_mod::grid_file = 'INPUT/grid_spec.nc'
private

Definition at line 85 of file grid.F90.

◆ grid_version

integer grid_mod::grid_version = -1
private

Definition at line 100 of file grid.F90.

◆ max_file

integer, parameter grid_mod::max_file = 1024
private

Definition at line 89 of file grid.F90.

◆ max_name

integer, parameter grid_mod::max_name = 256
private

Definition at line 89 of file grid.F90.

◆ module_name

character(len=*), parameter grid_mod::module_name = 'grid_mod'
private

Definition at line 79 of file grid.F90.

◆ version_0

integer, parameter grid_mod::version_0 = 0
private

Definition at line 89 of file grid.F90.

◆ version_1

integer, parameter grid_mod::version_1 = 1
private

Definition at line 89 of file grid.F90.

◆ version_2

integer, parameter grid_mod::version_2 = 2
private

Definition at line 89 of file grid.F90.