Barotropic equation of state (source code)

= Barotropic equation of state

A constant barotropic equation of state has $P=w\rho$. The cases $w=0$ and $w=1/3$ describe pressureless matter and radiation respectively.