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());