Salome HOME
Performance regression on SALOME_TESTS/Grids/smesh/bugs_16/S9
[modules/smesh.git] / src / SMESHUtils / SMESH_ComputeError.hxx
index aa2faf7f91a6c948e15fa7fdaf23bb1aada79406..68a86787040d6bc2325150be924db80a7bd1830b 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -52,6 +52,7 @@ enum SMESH_ComputeErrorName
   COMPERR_WARNING          = -10, //!< algo reports error but sub-mesh is computed anyway
   COMPERR_CANCELED         = -11, //!< compute canceled
   COMPERR_NO_MESH_ON_SHAPE = -12, //!< no mesh elements assigned to sub-shape
+  COMPERR_BAD_PARMETERS    = -13, //!< incorrect hypotheses parameters
   COMPERR_LAST_ALGO_ERROR  = -100,//!< terminator of mesh computation errors
   // Errors of SMESH_MeshEditor follow
   EDITERR_NO_MEDIUM_ON_GEOM= -101 /* during conversion to quadratic,
@@ -110,6 +111,7 @@ std::string SMESH_ComputeError::CommonName() const
   _case2char(COMPERR_WARNING         );
   _case2char(COMPERR_CANCELED        );
   _case2char(COMPERR_NO_MESH_ON_SHAPE);
+  _case2char(COMPERR_BAD_PARMETERS   );
   default:;
   }
   return "";