Skip to content
Snippets Groups Projects
Commit fa64ddb6 authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[cc][localres] forward to implementation for flux calculation

Overloading the evalFlux function for a single scvf did not have
any effect as we did not forward the call to the implementation
parent 52d64611
No related branches found
No related tags found
1 merge request!880fix crtp in cc local residual
...@@ -65,7 +65,7 @@ public: ...@@ -65,7 +65,7 @@ public:
{ {
const auto& scv = fvGeometry.scv(scvf.insideScvIdx()); const auto& scv = fvGeometry.scv(scvf.insideScvIdx());
const auto localScvIdx = scv.indexInElement(); const auto localScvIdx = scv.indexInElement();
residual[localScvIdx] += evalFlux(problem, element, fvGeometry, elemVolVars, elemFluxVarsCache, scvf); residual[localScvIdx] += this->asImp().evalFlux(problem, element, fvGeometry, elemVolVars, elemFluxVarsCache, scvf);
} }
//! evaluate the flux residual for a sub control volume face //! evaluate the flux residual for a sub control volume face
......
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