35 const DoubleTab& w = le_champ_inco->valeurs();
36 const IntTab& f_e = domaine.face_voisins();
43 for (
int f = 0; f < domaine.nb_faces(); f++)
46 const int el = f_e(f, 0), er = f_e(f, 1);
47 double Sm = 0., Sp = 0.;
48 compute_hll_bounds(vit_n, c, f, el, er, nb_phase, Sm, Sp);
50 for (
int n = 0; n < nb_phase; n++)
53 num_flux(f, n + nb_phase * d) = (Sp * flux_l(f, n + nb_phase * d) - Sm * flux_r(f, n + nb_phase * d) + Sp * Sm * (w(er, n + nb_phase * d) - w(el, n + nb_phase * d)));
54 num_flux(f, n + nb_phase * d) /= (Sp - Sm);