]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
Write VTK using binary format.
authorageay <ageay>
Tue, 20 Aug 2013 15:38:12 +0000 (15:38 +0000)
committerageay <ageay>
Tue, 20 Aug 2013 15:38:12 +0000 (15:38 +0000)
src/MEDCoupling/MEDCouplingMesh.cxx

index d03247cc2b414d079d77220063e964cbaa57dc96..1615842b6dce8d4504489b985a2a1c302aeb8a17 100644 (file)
@@ -689,7 +689,7 @@ void MEDCouplingMesh::writeVTKAdvanced(const char *fileName, const std::string&
       ofs << std::flush; ofs.close();
       std::ofstream ofs2(fileName,std::ios_base::binary | std::ios_base::app);
       ofs2.write(byteData->begin(),byteData->getNbOfElems()); ofs2 << std::flush; ofs2.close();
-      std::ofstream ofs3(fileName,std::ios_base::app); ofs3 << "\n  </AppendedData>\n</VTKFile>\n"; ofs3.close();
+      std::ofstream ofs3(fileName,std::ios_base::app); ofs3 << "\n</AppendedData>\n</VTKFile>\n"; ofs3.close();
     }
   else
     {