Skip to content
Snippets Groups Projects
Commit 486f5e5d authored by Martin Schneider's avatar Martin Schneider
Browse files

[fix] Staggered velocity output

parent 8fec49c9
No related branches found
No related tags found
1 merge request!3190[fix] Staggered velocity output
Checking pipeline status
...@@ -90,7 +90,7 @@ private: ...@@ -90,7 +90,7 @@ private:
const auto eIdx = fvGeometry.gridGeometry().elementMapper().index(element); const auto eIdx = fvGeometry.gridGeometry().elementMapper().index(element);
const auto getFaceVelocity = [&](const FVElementGeometry& fvG, const auto& scvf) const auto getFaceVelocity = [&](const FVElementGeometry& fvG, const auto& scvf)
{ {
return elemVolVars.gridVolVars().problem().faceVelocity(element, fvGeometry, scvf); return elemVolVars.gridVolVars().problem().faceVelocity(fvG.element(), fvG, scvf);
}; };
velocity[eIdx] = StaggeredVelocityReconstruction::cellCenterVelocity(getFaceVelocity, fvGeometry); velocity[eIdx] = StaggeredVelocityReconstruction::cellCenterVelocity(getFaceVelocity, 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