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