Skip to content
Snippets Groups Projects

[staggered][fvassembler] Update gridVars for lineSearch

Merged Kilian Weishaupt requested to merge fix/linesearch-staggered into master
1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
@@ -166,6 +166,9 @@ public:
if (!stationary_ && localResidual_.isStationary())
DUNE_THROW(Dune::InvalidStateException, "Assembling instationary problem but previous solution was not set!");
// update the grid variables for the case of active caching
gridVariables_->update(curSol);
// let the local assembler add the element contributions
for (const auto& element : elements(gridView()))
LocalAssembler::assembleResidual(*this, r, element, curSol);
Loading