Entropy-type conditions for Riemann solvers at nodes