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