Returns the spectral direction bins [rad].
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(domain_type), | intent(in) | :: | self | Domain instance |
Directions [rad]
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed arrows point from an interface to procedures which implement that interface. This could include the module procedures in a generic interface or the implementation in a submodule of an interface in a parent module.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed arrows point from an interface to procedures which implement that interface. This could include the module procedures in a generic interface or the implementation in a submodule of an interface in a parent module.
pure function getDirections(self) result(directions)
!! Returns the spectral direction bins [rad].
class(domain_type),intent(in) :: self
!! Domain instance
real(kind=rk),dimension(:),allocatable :: directions
!! Directions [rad]
directions = self % spectrum(1,1) % getDirections()
endfunction getDirections