Commit c4389293 authored by Dennis Gläser's avatar Dennis Gläser Committed by Timo Koch
Browse files

[mpfa][iavol] pass elemVolVars to boundary contribution routine

parent 2c926ca3
......@@ -207,7 +207,7 @@ public:
return useTpfaBoundary ? flux : flux + fluxVarsCache.advectionNeumannFlux(phaseIdx);
// Handle interior boundaries
flux += Implementation::computeInteriorBoundaryContribution(problem, element, fvGeometry, fluxVarsCache, phaseIdx, rho);
flux += Implementation::computeInteriorBoundaryContribution(problem, element, fvGeometry, elemVolVars, fluxVarsCache, phaseIdx, rho);
// return overall resulting flux
return useTpfaBoundary ? flux : flux + fluxVarsCache.advectionNeumannFlux(phaseIdx);
......@@ -251,6 +251,7 @@ public:
static Scalar computeInteriorBoundaryContribution(const Problem& problem,
const Element& element,
const FVElementGeometry& fvGeometry,
const ElementVolumeVariables& elemVolVars,
const FluxVariablesCache& fluxVarsCache,
unsigned int phaseIdx, Scalar rho)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment