merged advection equations for half and one densities into a single equation