Salome HOME
Changes for working with quadratic elements.
[modules/smesh.git] / src / StdMeshers / StdMeshers_QuadraticMesh.cxx
index 86b4379c37282c7585f25a64e5efaca7a19ec018..ebb8ed9ec315da3f27d8148761caec1284373b02 100644 (file)
@@ -42,7 +42,10 @@ StdMeshers_QuadraticMesh::StdMeshers_QuadraticMesh(int         hypId,
      :SMESH_Hypothesis(hypId, studyId, gen)
 {
   _name = "QuadraticMesh";
-  _param_algo_dim = 1; // is used by StdMeshers_Regular_1D
+  // only one hypo of the same dim can be assigned to the shape so
+  // we use -3 in order to distingush from any usual 1D hypothsis and
+  // from "NotConformAllowed" (-1) and "Propagation" (-2)
+  _param_algo_dim = -3;
 }
 
 //=============================================================================