From 4e9b6879be55cab18bc7e67a41fbc43908dfd403 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Thu, 29 Sep 2011 07:54:54 +0000 Subject: [PATCH] longer partitioned mesh names for Corentin --- Geo/GModelIO_Mesh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Geo/GModelIO_Mesh.cpp b/Geo/GModelIO_Mesh.cpp index 382ccecf76..a651e1e141 100644 --- a/Geo/GModelIO_Mesh.cpp +++ b/Geo/GModelIO_Mesh.cpp @@ -888,7 +888,7 @@ int GModel::writePartitionedMSH(const std::string &baseName, bool binary, int partition = *it; std::ostringstream sstream; - sstream << baseName << "_" << std::setw(3) << std::setfill('0') << partition; + sstream << baseName << "_" << std::setw(6) << std::setfill('0') << partition; int startNum = index ? getNumElementsMSH(this, saveAll, partition) : 0; Msg::Info("Writing partition %d in file '%s'", partition, sstream.str().c_str()); -- GitLab