functiondensity

returns density from given ThermodynamicState