Skip to content
Snippets Groups Projects
Commit cf627b6c authored by Dennis Gläser's avatar Dennis Gläser Committed by Timo Koch
Browse files

[implicit] port velocityoutput to new structure

parent 7bacf75a
No related branches found
No related tags found
Loading
...@@ -270,11 +270,12 @@ public: ...@@ -270,11 +270,12 @@ public:
for (auto&& scvf2 : scvfs(fvGeometry)) for (auto&& scvf2 : scvfs(fvGeometry))
{ {
if (scvf2.index() != scvfIdxGlobal && if (scvf2.index() != scvfIdxGlobal &&
std::abs(scvf2.unitOuterNormal()*scvfNormal) < 1e-6) std::abs(1.0 - std::abs(scvf2.unitOuterNormal()*scvfNormal)) < 1e-6)
{ {
scvfFluxes[scvfIdx] = -scvfFluxes[oppositeScvfIdx]; scvfFluxes[scvfIdx] = -scvfFluxes[oppositeScvfIdx];
break; break;
} }
oppositeScvfIdx++;
} }
} }
// simplices // simplices
......
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