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