FV3 Bundle
fv_grid_tools_nlm_mod Module Reference

Data Types

interface  get_unit_vector
 

Functions/Subroutines

subroutine read_grid (Atm, grid_file, ndims, nregions, ng)
 
subroutine get_symmetry (data_in, data_out, ishift, jshift, npes_x, npes_y, domain, tile, npx_g, bd)
 
subroutine, public init_grid (Atm, grid_name, grid_file, npx, npy, npz, ndims, nregions, ng)
 
subroutine cartesian_to_spherical (x, y, z, lon, lat, r)
 
subroutine, public spherical_to_cartesian (lon, lat, r, x, y, z)
 
subroutine rot_3d (axis, x1in, y1in, z1in, angle, x2out, y2out, z2out, degrees, convert)
 
real(kind=r_grid) function get_area_tri (ndims, p_1, p_2, p_3)
 
subroutine grid_area (nx, ny, ndims, nregions, nested, gridstruct, domain, bd)
 
real(kind=r_grid) function get_angle (ndims, p1, p2, p3, rad)
 
subroutine, public mirror_grid (grid_global, ng, npx, npy, ndims, nregions)
 
subroutine get_unit_vector_3pts (p1, p2, p3, uvect)
 
subroutine get_unit_vector_2pts (p1, p2, uvect)
 
subroutine normalize_vect (np, e)
 

Variables

real(kind=r_grid), parameter radius = cnst_radius
 
real(kind=r_grid), parameter, public todeg = 180.0d0/pi
 
real(kind=r_grid), parameter torad = pi/180.0d0
 
real(kind=r_grid), parameter, public missing = 1.d25
 
real(kind=r_grid) csfac
 
logical, parameter debug_message_size = .false.
 
logical write_grid_char_file = .false.
 

Function/Subroutine Documentation

◆ cartesian_to_spherical()

subroutine fv_grid_tools_nlm_mod::cartesian_to_spherical ( real(kind=r_grid), intent(in)  x,
real(kind=r_grid), intent(in)  y,
real(kind=r_grid), intent(in)  z,
real(kind=r_grid), intent(out)  lon,
real(kind=r_grid), intent(out)  lat,
real(kind=r_grid), intent(out)  r 
)
private

Definition at line 1794 of file fv_grid_tools_nlm.F90.

Here is the caller graph for this function:

◆ get_angle()

real(kind=r_grid) function fv_grid_tools_nlm_mod::get_angle ( integer, intent(in)  ndims,
real(kind=r_grid), dimension(ndims), intent(in)  p1,
real(kind=r_grid), dimension(ndims), intent(in)  p2,
real(kind=r_grid), dimension(ndims), intent(in)  p3,
integer, intent(in), optional  rad 
)
private

Definition at line 2148 of file fv_grid_tools_nlm.F90.

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

◆ get_area_tri()

real(kind=r_grid) function fv_grid_tools_nlm_mod::get_area_tri ( integer, intent(in)  ndims,
real(kind=r_grid), dimension(ndims), intent(in)  p_1,
real(kind=r_grid), dimension(ndims), intent(in)  p_2,
real(kind=r_grid), dimension(ndims), intent(in)  p_3 
)
private

Definition at line 1895 of file fv_grid_tools_nlm.F90.

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

◆ get_symmetry()

subroutine fv_grid_tools_nlm_mod::get_symmetry ( real(kind=r_grid), dimension(bd%is:bd%ie+ishift, bd%js:bd%je+jshift ), intent(in)  data_in,
real(kind=r_grid), dimension(bd%is:bd%ie+jshift, bd%js:bd%je+ishift ), intent(out)  data_out,
integer, intent(in)  ishift,
integer, intent(in)  jshift,
integer, intent(in)  npes_x,
integer, intent(in)  npes_y,
type(domain2d domain,
integer  tile,
integer  npx_g,
type(fv_grid_bounds_type), intent(in)  bd 
)
private

Definition at line 197 of file fv_grid_tools_nlm.F90.

Here is the caller graph for this function:

◆ get_unit_vector_2pts()

subroutine fv_grid_tools_nlm_mod::get_unit_vector_2pts ( real(kind=r_grid), dimension(2), intent(in)  p1,
real(kind=r_grid), dimension(2), intent(in)  p2,
real(kind=r_grid), dimension(3), intent(out)  uvect 
)
private

Definition at line 2337 of file fv_grid_tools_nlm.F90.

Here is the call graph for this function:

◆ get_unit_vector_3pts()

subroutine fv_grid_tools_nlm_mod::get_unit_vector_3pts ( real(kind=r_grid), dimension(2), intent(in)  p1,
real(kind=r_grid), dimension(2), intent(in)  p2,
real(kind=r_grid), dimension(2), intent(in)  p3,
real(kind=r_grid), dimension(3), intent(out)  uvect 
)
private

Definition at line 2316 of file fv_grid_tools_nlm.F90.

Here is the call graph for this function:

◆ grid_area()

subroutine fv_grid_tools_nlm_mod::grid_area ( integer, intent(in)  nx,
integer, intent(in)  ny,
integer, intent(in)  ndims,
integer, intent(in)  nregions,
logical, intent(in)  nested,
type(fv_grid_type), intent(in), target  gridstruct,
type(domain2d), intent(inout)  domain,
type(fv_grid_bounds_type), intent(in)  bd 
)
private

Definition at line 1933 of file fv_grid_tools_nlm.F90.

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

◆ init_grid()

subroutine, public fv_grid_tools_nlm_mod::init_grid ( type(fv_atmos_type), intent(inout), target  Atm,
character(len=80), intent(in)  grid_name,
character(len=120), intent(in)  grid_file,
integer, intent(in)  npx,
integer, intent(in)  npy,
integer, intent(in)  npz,
integer, intent(in)  ndims,
integer, intent(in)  nregions,
integer, intent(in)  ng 
)

Definition at line 418 of file fv_grid_tools_nlm.F90.

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

◆ mirror_grid()

subroutine, public fv_grid_tools_nlm_mod::mirror_grid ( real(kind=r_grid), dimension(1-ng:npx +ng,1-ng:npy +ng,ndims,1:nregions), intent(inout)  grid_global,
integer, intent(in)  ng,
integer, intent(in)  npx,
integer, intent(in)  npy,
integer, intent(in)  ndims,
integer, intent(in)  nregions 
)

Definition at line 2182 of file fv_grid_tools_nlm.F90.

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

◆ normalize_vect()

subroutine fv_grid_tools_nlm_mod::normalize_vect ( integer, intent(in)  np,
real(kind=r_grid), dimension(3,np), intent(inout)  e 
)
private

Definition at line 2355 of file fv_grid_tools_nlm.F90.

◆ read_grid()

subroutine fv_grid_tools_nlm_mod::read_grid ( type(fv_atmos_type), intent(inout), target  Atm,
character(len=*), intent(in)  grid_file,
integer, intent(in)  ndims,
integer, intent(in)  nregions,
integer, intent(in)  ng 
)
private

Definition at line 86 of file fv_grid_tools_nlm.F90.

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

◆ rot_3d()

subroutine fv_grid_tools_nlm_mod::rot_3d ( integer, intent(in)  axis,
real(kind=r_grid), intent(in)  x1in,
real(kind=r_grid), intent(in)  y1in,
real(kind=r_grid), intent(in)  z1in,
real(kind=r_grid), intent(inout)  angle,
real(kind=r_grid), intent(out)  x2out,
real(kind=r_grid), intent(out)  y2out,
real(kind=r_grid), intent(out)  z2out,
integer, intent(in), optional  degrees,
integer, intent(in), optional  convert 
)
private

Definition at line 1831 of file fv_grid_tools_nlm.F90.

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

◆ spherical_to_cartesian()

subroutine, public fv_grid_tools_nlm_mod::spherical_to_cartesian ( real(kind=r_grid), intent(in)  lon,
real(kind=r_grid), intent(in)  lat,
real(kind=r_grid), intent(in)  r,
real(kind=r_grid), intent(out)  x,
real(kind=r_grid), intent(out)  y,
real(kind=r_grid), intent(out)  z 
)

Definition at line 1812 of file fv_grid_tools_nlm.F90.

Here is the caller graph for this function:

Variable Documentation

◆ csfac

real(kind=r_grid) fv_grid_tools_nlm_mod::csfac
private

Definition at line 70 of file fv_grid_tools_nlm.F90.

◆ debug_message_size

logical, parameter fv_grid_tools_nlm_mod::debug_message_size = .false.
private

Definition at line 72 of file fv_grid_tools_nlm.F90.

◆ missing

real(kind=r_grid), parameter, public fv_grid_tools_nlm_mod::missing = 1.d25

Definition at line 68 of file fv_grid_tools_nlm.F90.

◆ radius

real(kind=r_grid), parameter fv_grid_tools_nlm_mod::radius = cnst_radius
private

Definition at line 64 of file fv_grid_tools_nlm.F90.

◆ todeg

real(kind=r_grid), parameter, public fv_grid_tools_nlm_mod::todeg = 180.0d0/pi

Definition at line 66 of file fv_grid_tools_nlm.F90.

◆ torad

real(kind=r_grid), parameter fv_grid_tools_nlm_mod::torad = pi/180.0d0
private

Definition at line 67 of file fv_grid_tools_nlm.F90.

◆ write_grid_char_file

logical fv_grid_tools_nlm_mod::write_grid_char_file = .false.
private

Definition at line 73 of file fv_grid_tools_nlm.F90.