Skip to content
Snippets Groups Projects
Commit 4e9b6879 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

longer partitioned mesh names for Corentin

parent 84a8579d
No related branches found
No related tags found
No related merge requests found
...@@ -888,7 +888,7 @@ int GModel::writePartitionedMSH(const std::string &baseName, bool binary, ...@@ -888,7 +888,7 @@ int GModel::writePartitionedMSH(const std::string &baseName, bool binary,
int partition = *it; int partition = *it;
std::ostringstream sstream; 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; int startNum = index ? getNumElementsMSH(this, saveAll, partition) : 0;
Msg::Info("Writing partition %d in file '%s'", partition, sstream.str().c_str()); Msg::Info("Writing partition %d in file '%s'", partition, sstream.str().c_str());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment