Skip to content
Snippets Groups Projects
Commit fc4633af authored by Dmitri Naumov's avatar Dmitri Naumov Committed by Dmitri Naumov
Browse files

[NL] SNES; Add finalizeAssembly call for r too.

parent 15bb33b7
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,7 @@ PetscErrorCode updateResidual(SNES /*snes*/, Vec x, Vec petsc_r,
context->system->getResidual(*context->x[context->process_id],
*context->x_prev[context->process_id],
*context->r);
context->r->finalizeAssembly();
context->J->finalizeAssembly();
context->system->getJacobian(*context->J);
......
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