Returns the current velocity in y-direction.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(spectrum_type), | intent(in) | :: | self | Spectrum instance |
Mean current velocity in y-direction [m/s]
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 getCurrent_v(self) result(v)
!! Returns the current velocity in y-direction.
class(spectrum_type),intent(in) :: self
!! Spectrum instance
real(kind=rk),dimension(:),allocatable :: v
!! Mean current velocity in y-direction [m/s]
v = self % v
endfunction getCurrent_v