Skip to content
Snippets Groups Projects
Commit 93090be3 authored by Timo Koch's avatar Timo Koch
Browse files

[box] Fix interface for global flux var caching

parent ce86bbc0
No related branches found
No related tags found
1 merge request!617[WIP] Next
......@@ -68,10 +68,13 @@ public:
auto fvGeometry = localView(problem.model().globalFvGeometry());
fvGeometry.bind(element);
auto elemVolVars = localView(problem.model().curGlobalVolVars());
elemVolVars.bind(element, fvGeometry, problem.model().curSol());
fluxVarsCache_[eIdx].resize(fvGeometry.numScvf());
for (auto&& scvf : scvfs(fvGeometry))
{
this->get(eIdx, scvf.index()).update(problem, element, fvGeometry, scvf);
this->get(eIdx, scvf.index()).update(problem, element, fvGeometry, elemVolVars, scvf);
}
}
}
......
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