]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Issue 0020379: EDF SMESH 1047: Impossible to select pentahedrons when creating mesh...
authorouv <ouv@opencascade.com>
Fri, 30 Oct 2009 10:58:55 +0000 (10:58 +0000)
committerouv <ouv@opencascade.com>
Fri, 30 Oct 2009 10:58:55 +0000 (10:58 +0000)
src/SMESH/SMESH_MeshEditor.cxx

index 18dc25dc84099cd8d83e35c5e4ba6ff9ccc12b67..505c431d48de1e32f0cd39bb2ce1e80a50ba4687 100644 (file)
@@ -7645,6 +7645,9 @@ int SMESH_MeshEditor::convertElemToQuadratic(SMESHDS_SubMesh *   theSm,
         case 4:
           NewElem = theHelper.AddVolume(aNds[0], aNds[1], aNds[2], aNds[3], id, theForce3d);
           break;
+        case 5:
+          NewElem = theHelper.AddVolume(aNds[0], aNds[1], aNds[2], aNds[3], aNds[4], id, theForce3d);
+          break;
         case 6:
           NewElem = theHelper.AddVolume(aNds[0], aNds[1], aNds[2], aNds[3], aNds[4], aNds[5], id, theForce3d);
           break;
@@ -7769,6 +7772,10 @@ void SMESH_MeshEditor::ConvertToQuadratic(const bool theForce3d)
         NewVolume = aHelper.AddVolume(aNds[0], aNds[1], aNds[2],
                                       aNds[3], id, theForce3d );
         break;
+      case 5:
+        NewVolume = aHelper.AddVolume(aNds[0], aNds[1], aNds[2],
+                                      aNds[3], aNds[4], id, theForce3d);
+        break;
       case 6:
         NewVolume = aHelper.AddVolume(aNds[0], aNds[1], aNds[2],
                                       aNds[3], aNds[4], aNds[5], id, theForce3d);