Returns the phase speed [m/s] array of the spectrum instance.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(spectrum_type), | intent(in) | :: | self | Spectrum instance |
Group speed [m/s]
pure function getGroupSpeed(self) result(cg)
!! Returns the phase speed [m/s] array of the spectrum instance.
class(spectrum_type),intent(in) :: self !! Spectrum instance
real(kind=rk),dimension(:),allocatable :: cg !! Group speed [m/s]
cg = self % cg
endfunction getGroupSpeed