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

guessModelName

parent 8876106a
No related branches found
No related tags found
No related merge requests found
......@@ -426,6 +426,9 @@ static std::string getMshFileName(onelab::client *c)
static void guessModelName(onelab::client *c)
{
std::vector<onelab::number> n;
c->get(n, c->getName() + "/GuessModelName");
if(n.size() && n[0].getValue()){
std::vector<onelab::string> ps;
c->get(ps, c->getName() + "/1ModelName");
if(ps.empty()){
......@@ -439,6 +442,7 @@ static void guessModelName(onelab::client *c)
c->set(o);
}
}
}
static void initializeLoop(const std::string &level)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment