Commit 13993871 authored by teo's avatar teo
Browse files

Fix a bug: when the matrix are recomputed also the stabilization terms must be recomputed.

parent e53e5ddd
......@@ -1024,7 +1024,7 @@ updateSystem(const double alpha,
chrono.stop();
M_Displayer.leaderPrintMax( "done in " , chrono.diff() );
if ( M_stab && (M_resetStab || !M_reuseStab || (M_matrStab.get() == 0) ) )
if ( M_stab && (M_resetStab || !M_reuseStab || (M_matrStab.get() == 0) || M_recomputeMatrix ) )
{
M_Displayer.leaderPrint(" F- Updating the stabilization terms ... ");
chrono.start();
......
Supports Markdown
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