A study of the jump conditions and speed of shock waves in heterogeneous media