]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
0021006: EDF 1546 SMESH : Convert To Quadratic fails V5_1_5a1
authoreap <eap@opencascade.com>
Wed, 29 Sep 2010 07:59:21 +0000 (07:59 +0000)
committereap <eap@opencascade.com>
Wed, 29 Sep 2010 07:59:21 +0000 (07:59 +0000)
-          const list<const SMDS_FaceOfNodes*>* faces = Adaptor.GetTriangles(elem);
+          const list<const SMDS_MeshFace*>* faces = Adaptor.GetTriangles(elem);

src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx

index 1d88c149ad8617d328069e0ca5a7d813286cd060..fb0a1bd403f17750fcde4c056d740597f85c42f8 100644 (file)
@@ -235,7 +235,7 @@ bool NETGENPlugin_NETGEN_3D::Compute(SMESH_Mesh&         aMesh,
         if ( !isTraingle )
         {
           // use adaptor to convert quadrangle face into triangles
-          const list<const SMDS_FaceOfNodes*>* faces = Adaptor.GetTriangles(elem);
+          const list<const SMDS_MeshFace*>* faces = Adaptor.GetTriangles(elem);
           if(faces==0)
             return error( COMPERR_BAD_INPUT_MESH,
                           SMESH_Comment("No triangles in adaptor for element ")<<elem->GetID());
@@ -438,7 +438,7 @@ bool NETGENPlugin_NETGEN_3D::Compute(SMESH_Mesh&         aMesh,
     bool isTraingle = ( elem->NbCornerNodes() == 3 );
     if ( !isTraingle ) {
       // using adaptor
-      const list<const SMDS_FaceOfNodes*>* faces = Adaptor.GetTriangles(elem);
+      const list<const SMDS_MeshFace*>* faces = Adaptor.GetTriangles(elem);
       if(faces==0)
         continue; // Issue 0020682. There already can be 3d mesh
       trias.assign( faces->begin(), faces->end() );