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