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

Warning when there are no unknowns in the parametrization process: fixes #319

parent 5f0a40ef
No related branches found
No related tags found
No related merge requests found
......@@ -377,6 +377,13 @@ bool discreteDiskFace::parametrize() const
double t2 = Cpu();
Msg::Debug("Assembly done in %8.3f seconds", t2 - t1);
if(!myAssemblerU.sizeOfR() || !myAssemblerV.sizeOfR()){
Msg::Warning("No unknowns in systems to compute parametrization - skipping");
return false;
}
lsys_u->systemSolve();
lsys_v->systemSolve();
Msg::Debug("Systems solved");
......
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