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]
pure function getGridSpacingX(self) result(dx)
!! Returns the grid spacing in x [m] of the grid instance.
class(grid_type),intent(in) :: self !! Grid instance
real(kind=realkind),dimension(:,:),allocatable :: dx !! Grid spacing in x [m]
dx = self % dx
endfunction getGridSpacingX