35 const IntTab& f_e = domaine.face_voisins();
40 const DoubleTab& w = le_champ_inco->valeurs();
42 for (
int f = 0; f < domaine.nb_faces(); f++)
45 const int el = f_e(f, 0), er = f_e(f, 1);
46 double Sm = 0., Sp = 0.;
47 compute_hll_bounds(vit_n, c, f, el, er, nb_phases, Sm, Sp);
49 for (
int n = 0; n < nb_phases; n++)
51 num_flux(f, n) = (Sp * flux_l(f, n) - Sm * flux_r(f, n) + Sp * Sm * (w(er, n) - w(el, n)));
52 num_flux(f, n) /= (Sp - Sm);