From fa89e079f19798a5494555ef9a554bfe36d9f181 Mon Sep 17 00:00:00 2001 From: ageay Date: Tue, 20 Aug 2013 15:38:12 +0000 Subject: [PATCH] Write VTK using binary format. --- src/MEDCoupling/MEDCouplingMesh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MEDCoupling/MEDCouplingMesh.cxx b/src/MEDCoupling/MEDCouplingMesh.cxx index d03247cc2..1615842b6 100644 --- a/src/MEDCoupling/MEDCouplingMesh.cxx +++ b/src/MEDCoupling/MEDCouplingMesh.cxx @@ -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 \n\n"; ofs3.close(); + std::ofstream ofs3(fileName,std::ios_base::app); ofs3 << "\n\n\n"; ofs3.close(); } else { -- 2.39.2