/[escript]/trunk/dataexporter/src/EscriptDataset.cpp
ViewVC logotype

Diff of /trunk/dataexporter/src/EscriptDataset.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2886 by caltinay, Thu Jan 28 05:39:23 2010 UTC revision 2887 by caltinay, Thu Jan 28 05:49:09 2010 UTC
# Line 384  bool EscriptDataset::saveVTK(string file Line 384  bool EscriptDataset::saveVTK(string file
384          }          }
385      }      }
386    
387        MeshBlocks::iterator meshIt;
388      int gNumPoints;      int gNumPoints;
389      int gNumCells = 0;      int gNumCells = 0;
390      int gCellSizeAndType[2] = { 0, 0 };      int gCellSizeAndType[2] = { 0, 0 };
# Line 464  bool EscriptDataset::saveVTK(string file Line 465  bool EscriptDataset::saveVTK(string file
465    
466      ofstream ofs(fileName.c_str());      ofstream ofs(fileName.c_str());
467    
     MeshBlocks::iterator meshIt;  
468      int idx = 0;      int idx = 0;
469      for (meshIt = meshBlocks.begin(); meshIt != meshBlocks.end(); meshIt++, idx++) {      for (meshIt = meshBlocks.begin(); meshIt != meshBlocks.end(); meshIt++, idx++) {
470          if (numParts > 1)          if (numParts > 1)

Legend:
Removed from v.2886  
changed lines
  Added in v.2887

  ViewVC Help
Powered by ViewVC 1.1.26