]> SALOME platform Git repositories - tools/medcoupling.git/commit
Salome HOME
0020440: [CEA 349] P1P0 barycentric interpolators
authoreap <eap@opencascade.com>
Tue, 29 Sep 2009 06:50:22 +0000 (06:50 +0000)
committereap <eap@opencascade.com>
Tue, 29 Sep 2009 06:50:22 +0000 (06:50 +0000)
commit7c7ec1e2f3c774b3939eaf3f1ad1d1a257928381
tree5300209e9292b21d02a3aaa4b11c701d6ea7d58e
parent06271937a8e2beeedbbbcf3a959558f49482f577
0020440: [CEA 349] P1P0 barycentric interpolators

-    std::string methC(method);
+    std::string methC = InterpolationOptions::filterInterpolationMethod(method);
     if(methC=="P0P0")
       intersector=new PolyhedronIntersector<MyMeshType,MatrixType>(targetMesh, srcMesh, getSplittingPolicy());
     else if(methC=="P0P1")
       intersector=new PolyhedronIntersectorP0P1<MyMeshType,MatrixType>(targetMesh, srcMesh, getSplittingPolicy());
     else if(methC=="P1P0")
       intersector=new PolyhedronIntersectorP1P0<MyMeshType,MatrixType>(targetMesh, srcMesh, getSplittingPolicy());
+    else if(methC=="P1P0Bary")
+      intersector=new PolyhedronIntersectorP1P0Bary<MyMeshType,MatrixType>(targetMesh, srcMesh, getSplittingPolicy());
src/INTERP_KERNEL/Interpolation3D.txx