39 real*8 :: xref,yref,zref,res
42 real*8,
dimension(nb_nod) :: xq
44 real*8,
dimension(nb_nod,nb_nod,nb_nod) :: val
51 if (h.ne.k) fz = fz * (zref - xq(h)) / (xq(k) - xq(h))
57 if (h.ne.j) fy = fy * (yref - xq(h)) / (xq(j) - xq(h))
63 if (h.ne.i) fx = fx * (xref - xq(h)) / (xq(i) - xq(h))
66 res = res + val(i,j,k) * fx * fy * fz