FV3DYCORE  Version 1.1.0
fv_grid_tools.F90 File Reference
#include <netcdf.inc>

Go to the source code of this file.

Modules

module  fv_grid_tools_mod
 

Functions/Subroutines

subroutine fv_grid_tools_mod::read_grid (Atm, grid_file, ndims, nregions, ng)
 The subroutine 'read_grid' reads the grid from the mosaic grid file. More...
 
subroutine fv_grid_tools_mod::get_symmetry (data_in, data_out, ishift, jshift, npes_x, npes_y, domain, tile, npx_g, bd)
 
subroutine, public fv_grid_tools_mod::init_grid (Atm, grid_name, grid_file, npx, npy, npz, ndims, nregions, ng)
 The subroutine 'init_grid' reads the grid from the input file and sets up grid descriptors. More...
 
subroutine setup_cartesian (npx, npy, dx_const, dy_const, deglat, bd)
 
subroutine setup_aligned_nest (Atm)
 
subroutine setup_latlon (deglon_start, deglon_stop, deglat_start, deglat_stop, bd)
 
subroutine fv_grid_tools_mod::cartesian_to_spherical (x, y, z, lon, lat, r)
 
subroutine, public fv_grid_tools_mod::spherical_to_cartesian (lon, lat, r, x, y, z)
 
subroutine fv_grid_tools_mod::rot_3d (axis, x1in, y1in, z1in, angle, x2out, y2out, z2out, degrees, convert)
 The subroutine 'rot_3d' rotates points on a sphere in xyz coordinates. More...
 
real(kind=r_grid) function fv_grid_tools_mod::get_area_tri (ndims, p_1, p_2, p_3)
 brief The function 'get_area_tri' gets the surface area of a cell defined as a triangle on the sphere. More...
 
subroutine fv_grid_tools_mod::grid_area (nx, ny, ndims, nregions, nested, gridstruct, domain, bd, regional)
 The subroutine 'grid_area' gets the surface area on a grid in lat/lon or xyz coordinates. More...
 
real(kind=r_grid) function fv_grid_tools_mod::get_angle (ndims, p1, p2, p3, rad)
 The function 'get_angle' gets the angle between 3 points on a sphere in lat/lon or xyz coordinates. More...
 
subroutine fv_grid_tools_mod::mirror_grid (grid_global, ng, npx, npy, ndims, nregions)
 The subroutine 'mirror_grid' mirrors the grid across the 0-longitude line. More...
 

Variables

real(kind=r_grid), parameter fv_grid_tools_mod::radius = cnst_radius
 
real(kind=r_grid), parameter, public fv_grid_tools_mod::todeg = 180.0d0/pi
 convert to degrees More...
 
real(kind=r_grid), parameter fv_grid_tools_mod::torad = pi/180.0d0
 convert to radians More...
 
real(kind=r_grid), parameter, public fv_grid_tools_mod::missing = 1.d25
 
real(kind=r_grid) fv_grid_tools_mod::csfac
 
logical, parameter fv_grid_tools_mod::debug_message_size = .false.
 
logical fv_grid_tools_mod::write_grid_char_file = .false.
 

Function/Subroutine Documentation

◆ setup_aligned_nest()

subroutine init_grid::setup_aligned_nest ( type(fv_atmos_type), intent(inout), target  Atm)
private

Definition at line 1274 of file fv_grid_tools.F90.

◆ setup_cartesian()

subroutine init_grid::setup_cartesian ( integer, intent(in)  npx,
integer, intent(in)  npy,
real(kind=r_grid), intent(in)  dx_const,
real(kind=r_grid), intent(in)  dy_const,
real(kind=r_grid), intent(in)  deglat,
type(fv_grid_bounds_type), intent(in)  bd 
)
private

Definition at line 1206 of file fv_grid_tools.F90.

◆ setup_latlon()

subroutine init_grid::setup_latlon ( real(kind=r_grid), intent(in)  deglon_start,
real(kind=r_grid), intent(in)  deglon_stop,
real(kind=r_grid), intent(in)  deglat_start,
real(kind=r_grid), intent(in)  deglat_stop,
type(fv_grid_bounds_type), intent(in)  bd 
)
private

Definition at line 1801 of file fv_grid_tools.F90.