]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Remapper: missing error message in InterpPlanar
authorabn <adrien.bruneton@cea.fr>
Tue, 10 May 2016 07:24:07 +0000 (09:24 +0200)
committerabn <adrien.bruneton@cea.fr>
Tue, 10 May 2016 07:54:02 +0000 (09:54 +0200)
src/INTERP_KERNEL/InterpolationPlanar.txx

index b8bfca1fac3866a835595fdaba62dba9b8559db9..b6ff71effe0040a363c879a98bd2f77a74c42432 100644 (file)
@@ -315,6 +315,8 @@ namespace INTERP_KERNEL
                                                                                                     InterpolationOptions::getPrecision(),
                                                                                                     InterpolationOptions::getOrientation());
             break;
+          default:
+            throw INTERP_KERNEL::Exception("For P1P0 planar interpolation possibities are : Triangulation, Convex, Geometric2D, PointLocator, BarycentricGeo2D or Barycentric!");
           }
       }
     else if(meth=="P1P1")