added an option for one file per partition to the command line interface

parent 4ffbf5a9
......@@ -106,6 +106,7 @@ std::vector<std::pair<std::string, std::string> > GetUsage()
s.push_back(mp("-bgm file", "Load background mesh from file"));
s.push_back(mp("-check", "Perform various consistency checks on mesh"));
s.push_back(mp("-ignorePartBound", "Ignore partitions boundaries"));
s.push_back(mp("-oneFilePerPart", "Save mesh partitions in separate files"));
#if defined(HAVE_FLTK)
s.push_back(mp("Post-processing options:", ""));
s.push_back(mp("-link int", "Select link mode between views (0, 1, 2, 3, 4)"));
......@@ -749,6 +750,10 @@ void GetOptions(int argc, char *argv[])
i++;
opt_mesh_ignore_part_bound(0, GMSH_SET, 1);
}
else if(!strcmp(argv[i] + 1, "oneFilePerPart")) {
i++;
opt_mesh_msh_file_partitioned(0, GMSH_SET, 1);
}
else if(!strcmp(argv[i] + 1, "edgelmin")) {
i++;
if(argv[i]) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment