Sets the mean surface elevation value.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(spectrum_type), | intent(inout) | :: | self | Spectrum instance |
||
real(kind=rk), | intent(in) | :: | depth | Mean water depth [m] |
pure elemental subroutine setDepth(self,depth)
!! Sets the mean surface elevation value.
class(spectrum_type),intent(inout) :: self !! Spectrum instance
real(kind=rk),intent(in) :: depth !! Mean water depth [m]
self % depth = depth
endsubroutine setDepth