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]
pure function getGridRotation(self) result(alpha)
!! Returns the grid rotation angle [rad] of the grid instance.
class(grid_type),intent(in) :: self !! Grid instance
real(kind=realkind),dimension(:,:),allocatable :: alpha !! Grid rotation [rad]
alpha = self % alpha
endfunction getGridRotation