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