Pass the cosmological model to the cooling function and get the physcial density and internal energy.