]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Minor changes
authorapo <apo@opencascade.com>
Thu, 20 Oct 2005 09:09:50 +0000 (09:09 +0000)
committerapo <apo@opencascade.com>
Thu, 20 Oct 2005 09:09:50 +0000 (09:09 +0000)
src/CONVERTOR/VISUConvertor.cxx

index 25aa1b328161fce0cb97827fec0d25dab041cbc7..f34d49355b2578111baeff49fd02a4508da9889a 100644 (file)
@@ -88,23 +88,25 @@ void parseFile(const char* theFileName)
              VISU::PGaussPtsIDMapper aGaussMesh = 
                aCon->GetTimeStampOnGaussPts(aMeshName,anEntity,aFieldName,aTimeStamp);
              VISU::TVTKOutput* aDataSet = aGaussMesh->GetVTKOutput();
-             
+             /*
              int aNbCells = aDataSet->GetNumberOfCells();
              for(int anCellId = 0; anCellId < aNbCells; anCellId++){
                VISU::TGaussPointID anObjID = aGaussMesh->GetObjID(anCellId);
                cout<<anObjID.first<<"; "<<anObjID.second<<endl;
              }
+             */
            }else{
              VISU::PIDMapper anIDMapper = 
                aCon->GetTimeStampOnMesh(aMeshName,anEntity,aFieldName,aTimeStamp);
              VISU::TVTKOutput* aDataSet = anIDMapper->GetVTKOutput();
-             
+             /*
              int aNbCells = aDataSet->GetNumberOfCells();
              for(int anCellId = 0; anCellId < aNbCells; anCellId++){
                int anObjID = anIDMapper->GetElemObjID(anCellId);
                int aVTKID  = anIDMapper->GetElemVTKID(anObjID);
                cout<<anObjID<<"; "<<aVTKID<<endl;
              }
+             */
            }
            goto OK;
          }
@@ -122,13 +124,13 @@ void parseFile(const char* theFileName)
       //continue;
 
       //Import mesh on entity
-      cout << "\n\n ** TEST GetMeshOnEntityIDMapper ***" << endl;
       aMeshOnEntityMapIter = aMeshOnEntityMap.begin();
       for(; aMeshOnEntityMapIter != aMeshOnEntityMap.end(); aMeshOnEntityMapIter++){
        const VISU::TEntity& anEntity = aMeshOnEntityMapIter->first;
        VISU::PIDMapper anIDMapper = aCon->GetMeshOnEntity(aMeshName,anEntity);
        VISU::TVTKOutput* aDataSet = anIDMapper->GetVTKOutput();
        {
+         /*
          int aNbCells, anCellId, anObjID, aVTKID;
          aNbCells = aDataSet->GetNumberOfCells();
          for(anCellId = 0; anCellId < aNbCells; anCellId++){
@@ -136,6 +138,7 @@ void parseFile(const char* theFileName)
            aVTKID  = anIDMapper->GetElemVTKID(anObjID);
            cout<<anObjID<<"; "<<aVTKID<<endl;
          }
+         */
        }
       }