Density Independent Smoothed Particle Hydrodynamics for Non-Ideal Equation of State