Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer(kind=intkind), | private, | dimension(2) | :: | lb | Lower bounds of the grid |
||
integer(kind=intkind), | private, | dimension(2) | :: | ub | Upper bounds of the grid |
||
real(kind=realkind), | private, | dimension(:,:), allocatable | :: | x | Distance in x-direction [m] |
||
real(kind=realkind), | private, | dimension(:,:), allocatable | :: | y | Distance in y-direction [m] |
||
real(kind=realkind), | private, | dimension(:,:), allocatable | :: | dx | Grid spacing in x-direction [m] |
||
real(kind=realkind), | private, | dimension(:,:), allocatable | :: | dy | Grid spacing in y-direction [m] |
||
real(kind=realkind), | private, | dimension(:,:), allocatable | :: | lon | Longitude [rad] |
||
real(kind=realkind), | private, | dimension(:,:), allocatable | :: | lat | Latitude [rad] |
||
real(kind=realkind), | private, | dimension(:,:), allocatable | :: | alpha | Grid rotation angle [rad] |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=intkind), | intent(in) | :: | lb | Lower bound indices of the grid array |
||
integer(kind=intkind), | intent(in) | :: | ub | Upper bound indices of the grid array |
||
real(kind=realkind), | intent(in), | optional | dimension(:) | :: | x | Distance in x-direction [m] |
real(kind=realkind), | intent(in), | optional | dimension(:) | :: | dx | Grid spacing in x-direction [m] |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=intkind), | intent(in), | dimension(:) | :: | lb | Lower bound indices of the grid array |
|
integer(kind=intkind), | intent(in), | dimension(:) | :: | ub | Upper bound indices of the grid array |
|
real(kind=realkind), | intent(in), | optional | dimension(:,:) | :: | x | Distance in x-direction [m] |
real(kind=realkind), | intent(in), | optional | dimension(:,:) | :: | y | Distance in y-direction [m] |
real(kind=realkind), | intent(in), | optional | dimension(:,:) | :: | dx | Grid spacing in x-direction [m] |
real(kind=realkind), | intent(in), | optional | dimension(:,:) | :: | dy | Grid spacing in y-direction [m] |
real(kind=realkind), | intent(in), | optional | dimension(:,:) | :: | lon | Longitude [rad] |
real(kind=realkind), | intent(in), | optional | dimension(:,:) | :: | lat | Latitude [rad] |
Returns the lower bounds of the grid instance.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(grid_type), | intent(in) | :: | self | Grid instance |
Upper bound indices
Returns the upper bounds of the grid instance.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(grid_type), | intent(in) | :: | self | Grid instance |
Lower bound indices
Returns the grid spacing in x [m] of the grid instance.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(grid_type), | intent(in) | :: | self | Grid instance |
Grid spacing in x [m]
Returns the grid spacing in y [m] of the grid instance.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(grid_type), | intent(in) | :: | self | Grid instance |
Grid spacing in y [m]
Returns the grid rotation angle [rad] of the grid instance.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(grid_type), | intent(in) | :: | self | Grid instance |
Grid rotation [rad]
Returns the longitude array [rad] of the grid instance.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(grid_type), | intent(in) | :: | self | Grid instance |
Longitude [rad]
Returns the latitude array [rad] of the grid instance.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(grid_type), | intent(in) | :: | self | Grid instance |
Latitude [rad]
type :: grid_type
private
integer(kind=intkind),dimension(2) :: lb
!! Lower bounds of the grid
integer(kind=intkind),dimension(2) :: ub
!! Upper bounds of the grid
real(kind=realkind),dimension(:,:),allocatable :: x
!! Distance in x-direction [m]
real(kind=realkind),dimension(:,:),allocatable :: y
!! Distance in y-direction [m]
real(kind=realkind),dimension(:,:),allocatable :: dx
!! Grid spacing in x-direction [m]
real(kind=realkind),dimension(:,:),allocatable :: dy
!! Grid spacing in y-direction [m]
real(kind=realkind),dimension(:,:),allocatable :: lon
!! Longitude [rad]
real(kind=realkind),dimension(:,:),allocatable :: lat
!! Latitude [rad]
real(kind=realkind),dimension(:,:),allocatable :: alpha
!! Grid rotation angle [rad]
contains
procedure,public,pass(self) :: getLowerBounds
procedure,public,pass(self) :: getUpperBounds
procedure,public,pass(self) :: getAxisX
procedure,public,pass(self) :: getAxisY
procedure,public,pass(self) :: getGridSpacingX
procedure,public,pass(self) :: getGridSpacingY
procedure,public,pass(self) :: getGridRotation
procedure,public,pass(self) :: getLongitude
procedure,public,pass(self) :: getLatitude
endtype grid_type