- else if(methC=="P1P0Bary")
- {
- if(InterpolationOptions::getIntersectionType()==Triangulation)
- intersector=new PolyhedronIntersectorP1P0Bary<MyMeshType,MatrixType>(targetMesh, srcMesh, getSplittingPolicy());
- else
- throw INTERP_KERNEL::Exception("Invalid 3D intersection type specified : must be Triangle.");
- }