FV3 Bundle
diag_grid_mod Module Reference

Data Types

type  diag_global_grid_type
 
type  point
 

Functions/Subroutines

subroutine, public diag_grid_init (domain, glo_lat, glo_lon, aglo_lat, aglo_lon)
 
subroutine, public diag_grid_end ()
 
subroutine, public get_local_indexes (latStart, latEnd, lonStart, lonEnd, istart, iend, jstart, jend)
 
subroutine, public get_local_indexes2 (lat, lon, iindex, jindex)
 
pure elemental real function rad2deg (angle)
 
pure elemental real function deg2rad (angle)
 
pure integer function, dimension(2) find_pole_index_agrid (lat, lon)
 
pure integer function, dimension(2) find_equator_index_agrid (lat, lon)
 
pure elemental type(point) function latlon2xyz (lat, lon)
 
pure elemental real function distancesqrd (pt1, pt2)
 
pure elemental real function gcirdistance (lat1, lon1, lat2, lon2)
 
subroutine find_nearest_agrid_index (lat, lon, minI, minJ, minimum_distance)
 

Variables

type(diag_global_grid_typediag_global_grid
 
logical diag_grid_initialized = .FALSE.
 

Function/Subroutine Documentation

◆ deg2rad()

pure elemental real function diag_grid_mod::deg2rad ( real, intent(in)  angle)
private

Definition at line 826 of file diag_grid.F90.

Here is the caller graph for this function:

◆ diag_grid_end()

subroutine, public diag_grid_mod::diag_grid_end ( )

Definition at line 400 of file diag_grid.F90.

Here is the call graph for this function:

◆ diag_grid_init()

subroutine, public diag_grid_mod::diag_grid_init ( type(domain2d), intent(in)  domain,
real, dimension(:,:), intent(in)  glo_lat,
real, dimension(:,:), intent(in)  glo_lon,
real, dimension(:,:), intent(in)  aglo_lat,
real, dimension(:,:), intent(in)  aglo_lon 
)

Definition at line 229 of file diag_grid.F90.

Here is the call graph for this function:

◆ distancesqrd()

pure elemental real function diag_grid_mod::distancesqrd ( type(point), intent(in)  pt1,
type(point), intent(in)  pt2 
)
private

Definition at line 1235 of file diag_grid.F90.

Here is the caller graph for this function:

◆ find_equator_index_agrid()

pure integer function, dimension(2) diag_grid_mod::find_equator_index_agrid ( real, intent(in)  lat,
real, intent(in)  lon 
)
private

Definition at line 1034 of file diag_grid.F90.

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

◆ find_nearest_agrid_index()

subroutine diag_grid_mod::find_nearest_agrid_index ( real, intent(in)  lat,
real, intent(in)  lon,
integer, intent(out)  minI,
integer, intent(out)  minJ,
real, intent(out)  minimum_distance 
)
private

Definition at line 1282 of file diag_grid.F90.

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

◆ find_pole_index_agrid()

pure integer function, dimension(2) diag_grid_mod::find_pole_index_agrid ( real, intent(in)  lat,
real, intent(in)  lon 
)
private

Definition at line 857 of file diag_grid.F90.

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

◆ gcirdistance()

pure elemental real function diag_grid_mod::gcirdistance ( real, intent(in)  lat1,
real, intent(in)  lon1,
real, intent(in)  lat2,
real, intent(in)  lon2 
)
private

Definition at line 1260 of file diag_grid.F90.

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

◆ get_local_indexes()

subroutine, public diag_grid_mod::get_local_indexes ( real, intent(in)  latStart,
real, intent(in)  latEnd,
real, intent(in)  lonStart,
real, intent(in)  lonEnd,
integer, intent(out)  istart,
integer, intent(out)  iend,
integer, intent(out)  jstart,
integer, intent(out)  jend 
)
Parameters
[in]lonstartlat/lon start angles
[in]lonendlat/lon end angles
[out]jstarti/j start indexes
[out]jendi/j end indexes

Definition at line 479 of file diag_grid.F90.

Here is the call graph for this function:

◆ get_local_indexes2()

subroutine, public diag_grid_mod::get_local_indexes2 ( real, intent(in)  lat,
real, intent(in)  lon,
integer, intent(out)  iindex,
integer, intent(out)  jindex 
)
Parameters
[in]lonlat/lon location
[out]jindexi/j indexes

Definition at line 748 of file diag_grid.F90.

Here is the call graph for this function:

◆ latlon2xyz()

pure elemental type(point) function diag_grid_mod::latlon2xyz ( real, intent(in)  lat,
real, intent(in)  lon 
)
private

Definition at line 1196 of file diag_grid.F90.

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

◆ rad2deg()

pure elemental real function diag_grid_mod::rad2deg ( real, intent(in)  angle)
private

Definition at line 802 of file diag_grid.F90.

Variable Documentation

◆ diag_global_grid

type(diag_global_grid_type) diag_grid_mod::diag_global_grid

Definition at line 179 of file diag_grid.F90.

◆ diag_grid_initialized

logical diag_grid_mod::diag_grid_initialized = .FALSE.

Definition at line 186 of file diag_grid.F90.