From: ageay Date: Tue, 20 Aug 2013 15:38:12 +0000 (+0000) Subject: Write VTK using binary format. X-Git-Tag: DBugPolyhIntersector~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fa89e079f19798a5494555ef9a554bfe36d9f181;p=modules%2Fmed.git Write VTK using binary format. --- 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 {