cpld_gridgen
1.13.0
|
Fill the vertices for any stagger location. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | vertices::fill_bottom (iVert, jVert, lat, lon, latvert, lonvert, dlat) |
Fill the vertices for a stagger location along the bottom j-row. More... | |
subroutine | vertices::fill_top (iVert, jVert, lat, lon, latvert, lonvert, xlat, xlon) |
Fill the vertices for a stagger location along the top j-row. More... | |
subroutine | vertices::fill_vertices (jbeg, jend, iVert, jVert, lat, lon, latvert, lonvert) |
Fill the vertices for any stagger location between bounding j-rows. More... | |
Fill the vertices for any stagger location.
This module fills the vertices for any stagger location. The i,j indices of the source lat and lon arrays are modified by the vertex offsets to give the latitudes and longitues of each vertex for the desired stagger lcation. The routine fill_vertices will fill the vertex values of all non-boundary rows for any stagger locations. For the Ct and Cu grids, the fill_bottom routine fills the bottom most vertex values. For the Cv and Bu grids, the routine fill_top fills the topmost vertex values using the values from across the tripole seam.
Definition in file vertices.F90.
subroutine vertices::fill_bottom | ( | integer, dimension(nv), intent(in) | iVert, |
integer, dimension(nv), intent(in) | jVert, | ||
real(dbl_kind), dimension(ni,nj), intent(in) | lat, | ||
real(dbl_kind), dimension(ni,nj), intent(in) | lon, | ||
real(dbl_kind), dimension(ni,nj,nv), intent(out) | latvert, | ||
real(dbl_kind), dimension(ni,nj,nv), intent(out) | lonvert, | ||
real(dbl_kind), dimension(ni), intent(in) | dlat | ||
) |
Fill the vertices for a stagger location along the bottom j-row.
[in] | iVert | the i-offset applied to the i-index of a stagger grid |
[in] | jVert | the j-offset applied to the j-index of a stagger grid |
[in] | lat | the latitudes of the stagger grid which define each vertex |
[in] | lon | the longitudes of the stagger grid which define each vertex |
[in] | dlat | the approximate latitude along the bottom-most row |
[out] | latvert | the latitudes of each vertex |
[out] | lonvert | the longitudes of each vertex |
Definition at line 69 of file vertices.F90.
subroutine vertices::fill_top | ( | integer, dimension(nv), intent(in) | iVert, |
integer, dimension(nv), intent(in) | jVert, | ||
real(dbl_kind), dimension(ni,nj), intent(in) | lat, | ||
real(dbl_kind), dimension(ni,nj), intent(in) | lon, | ||
real(dbl_kind), dimension(ni,nj,nv), intent(out) | latvert, | ||
real(dbl_kind), dimension(ni,nj,nv), intent(out) | lonvert, | ||
real(dbl_kind), dimension(ni), intent(in) | xlat, | ||
real(dbl_kind), dimension(ni), intent(in) | xlon | ||
) |
Fill the vertices for a stagger location along the top j-row.
[in] | iVert | the i-offset applied to the i-index of a stagger grid |
[in] | jVert | the j-offset applied to the j-index of a stagger grid |
[in] | lat | the latitudes of the stagger grid which define each vertex |
[in] | lon | the longitudes of the stagger grid which define each vertex |
[in] | xlat | the latitude across the tripole seam |
[in] | xlon | the longitude across the tripole seam |
[out] | latvert | the latitudes of each vertex |
[out] | lonvert | the longitudes of each vertex |
Definition at line 115 of file vertices.F90.
subroutine vertices::fill_vertices | ( | integer, intent(in) | jbeg, |
integer, intent(in) | jend, | ||
integer, dimension(nv), intent(in) | iVert, | ||
integer, dimension(nv), intent(in) | jVert, | ||
real(dbl_kind), dimension(ni,nj), intent(in) | lat, | ||
real(dbl_kind), dimension(ni,nj), intent(in) | lon, | ||
real(dbl_kind), dimension(ni,nj,nv), intent(out) | latvert, | ||
real(dbl_kind), dimension(ni,nj,nv), intent(out) | lonvert | ||
) |
Fill the vertices for any stagger location between bounding j-rows.
[in] | jbeg | the beginning row |
[in] | jend | the ending row |
[in] | iVert | the i-offset applied to the i-index of a stagger grid |
[in] | jVert | the j-offset applied to the j-index of a stagger grid |
[in] | lat | the latitudes of the stagger grid which define each vertex |
[in] | lon | the longitudes of the stagger grid which define each vertex |
[out] | latvert | the latitudes of each vertex |
[out] | lonvert | the longitudes of each vertex |
Definition at line 34 of file vertices.F90.