Returns density as a function of the thermodynamic state record
Type: ThermodynamicState
Description: Thermodynamic state record
Type: Density
Description: Density