Returns the y-coordinate [m] of the grid instance.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(grid_type), | intent(in) | :: | self | Grid instance |
y-coordinate [m]
pure function getAxisY(self) result(y)
!! Returns the y-coordinate [m] of the grid instance.
class(grid_type),intent(in) :: self !! Grid instance
real(kind=realkind),dimension(:,:),allocatable :: y !! y-coordinate [m]
y = self % y
endfunction getAxisY