]> SALOME platform Git repositories - samples/sierpinsky.git/commitdiff
Salome HOME
Adjust to OCC_development_generic_2006 changes
authorapo <apo@opencascade.com>
Fri, 20 Jan 2006 14:40:45 +0000 (14:40 +0000)
committerapo <apo@opencascade.com>
Fri, 20 Jan 2006 14:40:45 +0000 (14:40 +0000)
src/Sierpinsky/SIERPINSKY_Gen_i.cxx

index 7069dbb5e74685512d0dad3c6bec5580cca44a53..974d76c40d0b663e42f7afaf1f4f54bff8adc9d9 100644 (file)
@@ -161,11 +161,11 @@ CORBA::Boolean SIERPINSKY_Gen_i::ExportToMED( const char* theFileName, CORBA::Do
     nodes.push_back( (*iter).myY * theSize );
     connect.push_back( ind++ );
   }
-  PNodeInfo aNodes = aMed->CrNodeInfo( aMesh, MED::eCART, nodes, TStringVector(2), TStringVector(2), TIntVector( myPoints.size() ), TIntVector() );
+  PNodeInfo aNodes = aMed->CrNodeInfo( aMesh, nodes, MED::eFULL_INTERLACE, MED::eCART, TStringVector(2), TStringVector(2), TIntVector( myPoints.size() ), TIntVector() );
   aMed->SetNodeInfo( aNodes, &anError );
   if ( anError < 0 ) return false;
 
-  PCellInfo aCells = aMed->CrCellInfo( aMesh, MED::eMAILLE, MED::ePOINT1, eNOD, connect, TIntVector( myPoints.size() ), TIntVector( myPoints.size() ) );
+  PCellInfo aCells = aMed->CrCellInfo( aMesh, MED::eMAILLE, MED::ePOINT1, connect, eNOD, TIntVector( myPoints.size() ), TIntVector( myPoints.size() ) );
   aMed->SetCellInfo( aCells, &anError );
   if ( anError < 0 ) return false;