From e3d84b856b500b8b9a4b58dc73291281c9eec0f0 Mon Sep 17 00:00:00 2001 From: abn Date: Tue, 10 May 2016 09:24:07 +0200 Subject: [PATCH] Remapper: missing error message in InterpPlanar --- src/INTERP_KERNEL/InterpolationPlanar.txx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/INTERP_KERNEL/InterpolationPlanar.txx b/src/INTERP_KERNEL/InterpolationPlanar.txx index b8bfca1fa..b6ff71eff 100644 --- a/src/INTERP_KERNEL/InterpolationPlanar.txx +++ b/src/INTERP_KERNEL/InterpolationPlanar.txx @@ -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") -- 2.39.2