Sets the water density [kg/m^3].
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(spectrum_type), | intent(inout) | :: | self | Spectrum instance |
||
real(kind=rk), | intent(in) | :: | water_density | Water density [kg/m^3] |
pure elemental subroutine setWaterDensity(self,water_density)
!! Sets the water density [kg/m^3].
class(spectrum_type),intent(inout) :: self !! Spectrum instance
real(kind=rk),intent(in) :: water_density !! Water density [kg/m^3]
self % water_density = water_density
endsubroutine setWaterDensity