37 const IntTab& elem_faces = domaine_VDF.
elem_faces();
38 const IntVect& orientation = domaine_VDF.
orientation();
43 double dist_tot, dist_min, dist_max, dist_moy;
44 double a1, a2, f_scotti;
49 Cerr <<
"The Scotti correction can be used only for dimension 3." << finl;
53 for (
int elem = 0; elem < nb_elem; elem++)
56 h[i] = domaine_VDF.
dim_elem(elem, orientation(elem_faces(elem, i)));
59 l_(elem) = exp((log(h[0] * h[1])) / 2);
61 l_(elem) = exp((log(h[0] * h[1] * h[2])) / 3);
65 dist_tot = h[0] + h[1] + h[2];
67 dist_min = min_array(h);
68 dist_max = max_array(h);
69 dist_moy = dist_tot - dist_min - dist_max;
71 a1 = dist_min / dist_max;
72 a2 = dist_moy / dist_max;
74 f_scotti = cosh(sqrt((4. / 27.) * (log(a1) * log(a1) - log(a1) * log(a2) + log(a2) * log(a2))));
double dim_elem(int, int) const
int orientation(int) const override
inline DoubleVect& Domaine_VDF::porosite_face() {
int elem_faces(int i, int j) const
renvoie le numero de le ieme face de la maille num_elem la facon dont ces faces sont numerotees est
const Domaine & domaine() const