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