Group-invariant solutions for one dimensional, inviscid hydrodynamics