Commit 16896c26 by Christophe Geuzaine

Merge branch 'master' of http://gitlab.onelab.info/gmsh/gmsh

parents c81d3806 b5e64b58
Pipeline #306 passed with stage
in 9 minutes 20 seconds
......@@ -106,7 +106,9 @@ std::vector<std::pair<std::string, std::string> > GetUsage()
s.push_back(mp("-rand float", "Set random perturbation factor"));
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("-ignorePartBound", "Ignore partition boundaries"));
s.push_back(mp("-ignorePeriocity", "Ignore periodic 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)"));
......@@ -755,6 +757,14 @@ 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, "ignorePeriodicity")) {
i++;
opt_mesh_ignore_periodicity(0, GMSH_SET, 1);
}
else if(!strcmp(argv[i] + 1, "edgelmin")) {
i++;
if(argv[i]) {
......@@ -1153,3 +1163,5 @@ void GetOptions(int argc, char *argv[])
if(CTX::instance()->terminal == 99)
CTX::instance()->terminal = terminal;
}
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