133 rm = 1. - ipcoord[0];
134 sm = 1. - ipcoord[1];
135 tm = 1. - ipcoord[2];
137 weights[0] = rm*sm*tm;
138 weights[1] = ipcoord[0] * sm * tm;
139 weights[2] = ipcoord[0]*ipcoord[1] * tm;
140 weights[3] = rm * ipcoord[1] * tm;
141 weights[4] = rm * sm * ipcoord[2];
142 weights[5] = ipcoord[0] * sm * ipcoord[2];
143 weights[6] = ipcoord[0] * ipcoord[1] * ipcoord[2];
144 weights[7] = rm * ipcoord[1] * ipcoord[2];
175 MbVec3d pcoord = getIsoParametricCoord(meshGeometry,hexahedronCell,point);
176 bool inside = ( -1.E-5 < pcoord[0] && pcoord[0] < 1 + 1.E-5 &&
177 -1.E-5 < pcoord[1] && pcoord[1] < 1 + 1.E-5 &&
178 -1.E-5 < pcoord[2] && pcoord[2] < 1 + 1.E-5 );
180 getWeight(pcoord,weights);