Skip to content
Snippets Groups Projects
Commit 08ea7ee7 authored by Thomas Fetzer's avatar Thomas Fetzer
Browse files

Merge branch 'fix/linesearch-staggered' into 'master'

[staggered][fvassembler] Update gridVars for lineSearch

See merge request !908
parents 8e2a1691 84e2cfe0
No related branches found
No related tags found
1 merge request!908[staggered][fvassembler] Update gridVars for lineSearch
......@@ -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);
......
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