]> SALOME platform Git repositories - plugins/ghs3dplugin.git/commitdiff
Salome HOME
Quadrangular faces handle like triangular ones (no pyramids yet)
authorgdd <gdd>
Wed, 9 Mar 2011 22:31:31 +0000 (22:31 +0000)
committergdd <gdd>
Wed, 9 Mar 2011 22:31:31 +0000 (22:31 +0000)
src/GHS3DPlugin/GHS3DPlugin_Hypothesis.cxx

index 2b222ac95199e6b0c54f74cabdbba7b76f68034b..7498235c9639956d444167dae0d852bc79b90445 100644 (file)
@@ -347,7 +347,7 @@ void GHS3DPlugin_Hypothesis::SetEnforcedMesh(SMESH_Mesh& theMesh, SMESH::Element
 {
   TIDSortedElemSet theElemSet;
   SMDS_ElemIteratorPtr eIt;
-
+/*
   if ((elementType == SMESH::FACE) && (theMesh.NbQuadrangles() > 0)) {
     SMESH_ProxyMesh::Ptr proxyMesh( new SMESH_ProxyMesh( theMesh ));
 
@@ -371,11 +371,13 @@ void GHS3DPlugin_Hypothesis::SetEnforcedMesh(SMESH_Mesh& theMesh, SMESH::Element
 
   else
   {
+  */
     eIt = theMesh.GetMeshDS()->elementsIterator(SMDSAbs_ElementType(elementType));
     while ( eIt->more() )
       theElemSet.insert( eIt->next() );
+/*
   }
-
+*/
   MESSAGE("Add "<<theElemSet.size()<<" types["<<elementType<<"] from source mesh");
 
   SetEnforcedElements( theElemSet, elementType, size);