Returns the water density [kg/m^3].
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(domain_type), | intent(in) | :: | self | Domain instance |
Water density [kg/m^3]
pure function getWaterDensity(self) result(water_density)
!! Returns the water density [kg/m^3].
class(domain_type),intent(in) :: self
!! Domain instance
real(kind=rk),dimension(:,:),allocatable :: water_density
!! Water density [kg/m^3]
water_density = self % spectrum % getWaterDensity()
endfunction getWaterDensity