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

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

parents c81d3806 b5e64b58
No related branches found
No related tags found
No related merge requests found
...@@ -106,7 +106,9 @@ std::vector<std::pair<std::string, std::string> > GetUsage() ...@@ -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("-rand float", "Set random perturbation factor"));
s.push_back(mp("-bgm file", "Load background mesh from file")); 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("-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) #if defined(HAVE_FLTK)
s.push_back(mp("Post-processing options:", "")); s.push_back(mp("Post-processing options:", ""));
s.push_back(mp("-link int", "Select link mode between views (0, 1, 2, 3, 4)")); 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[]) ...@@ -755,6 +757,14 @@ void GetOptions(int argc, char *argv[])
i++; i++;
opt_mesh_ignore_part_bound(0, GMSH_SET, 1); 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")) { else if(!strcmp(argv[i] + 1, "edgelmin")) {
i++; i++;
if(argv[i]) { if(argv[i]) {
...@@ -1153,3 +1163,5 @@ void GetOptions(int argc, char *argv[]) ...@@ -1153,3 +1163,5 @@ void GetOptions(int argc, char *argv[])
if(CTX::instance()->terminal == 99) if(CTX::instance()->terminal == 99)
CTX::instance()->terminal = terminal; CTX::instance()->terminal = terminal;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment