Skip to content
Snippets Groups Projects
Commit aeb9dc99 authored by Amaury Johnen's avatar Amaury Johnen
Browse files

up cmd line for dev recombinations

parent c9095864
No related branches found
No related tags found
No related merge requests found
......@@ -819,13 +819,11 @@ void GetOptions(int argc, char *argv[])
}
else if(!strcmp(argv[i] + 1, "rec")) {
i++;
if(argv[i]) {
if (argc - i < 3) Msg::Fatal("pas assez argument");
CTX::instance()->mesh.doRecombinationTest = 1;
CTX::instance()->mesh.recTestName = argv[i];
i++;
}
else
Msg::Fatal("Missing file name for recomb");
CTX::instance()->mesh.recTestName = argv[i]; i++;
CTX::instance()->mesh.nProc = atoi(argv[i]); i++;
CTX::instance()->mesh.nbProc = atoi(argv[i]); i++;
}
else if(!strcmp(argv[i] + 1, "beg")) {
i++;
......
......@@ -36,6 +36,7 @@ struct contextMeshOptions {
//-- for recombination test (amaury) --
int doRecombinationTest, recombinationTestStart;
int recombinationTestNoGreedyStrat, recombinationTestNewStrat;
int nProc, nbProc;
std::string recTestName;
//-------------------------------------
int remeshParam, remeshAlgo;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment