125 rm = 1. - ipcoord[0];
126 sm = 1. - ipcoord[1];
127 tm = 1. - ipcoord[2];
129 weights[0] = rm * sm * tm;
130 weights[1] = ipcoord[0] * sm * tm;
131 weights[2] = ipcoord[0] * ipcoord[1] * tm;
132 weights[3] = ipcoord[1] * rm * tm;
133 weights[4] = ipcoord[2];
169 s_halfPyramid.setNodeIds(n0,n1,n2,n4);
170 bool inside = s_halfPyramid.isPointInsideCell(meshGeometry,point,weights);
173 s_halfPyramid.setNodeIds(n0,n2,n3,n4);
174 inside = s_halfPyramid.isPointInsideCell(meshGeometry,point,weights);
177 getWeight(meshGeometry,pyramidCell,point,weights);