Skip to content
Snippets Groups Projects
Commit e9529cbe authored by Kilian Weishaupt's avatar Kilian Weishaupt Committed by Timo Koch
Browse files

[test][1p2c] Use new constructor for ElementSolution

parent 3ee82b54
No related branches found
No related tags found
Loading
...@@ -256,11 +256,7 @@ public: ...@@ -256,11 +256,7 @@ public:
// construct the element solution // construct the element solution
const auto elementSolution = [&]() const auto elementSolution = [&]()
{ {
ElementSolutionVector sol; ElementSolutionVector sol(element, elemVolVars, fvGeometry);
sol.resize(fvGeometry.numScv());
for(auto&& scv : scvs(fvGeometry))
sol[scv.indexInElement()] = elemVolVars[scv].priVars();
if(isBox) if(isBox)
for(auto&& scvf : scvfs(fvGeometry)) for(auto&& scvf : scvfs(fvGeometry))
......
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