diff --git a/Geo/GModelIO_Mesh.cpp b/Geo/GModelIO_Mesh.cpp index 382ccecf76252750c7394af4d5f2caf88d030e31..a651e1e14169d5fe9864d30f7dac7a291b145496 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());