pressure P and density rho.