Returns the longitude array [rad] of the grid instance.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(grid_type), | intent(in) | :: | self | Grid instance |
Longitude [rad]
pure function getLongitude(self) result(lon)
!! Returns the longitude array [rad] of the grid instance.
class(grid_type),intent(in) :: self !! Grid instance
real(kind=realkind),dimension(:,:),allocatable :: lon !! Longitude [rad]
lon = self % lon
endfunction getLongitude