diff --git a/dumux/discretization/staggered/freeflow/fourierslaw.hh b/dumux/discretization/staggered/freeflow/fourierslaw.hh index 8cb9b1d7558d3cec0c891479a1f5ed6e298c57a0..3b75dd2baae82afad231070187c7bdbc51698f2c 100644 --- a/dumux/discretization/staggered/freeflow/fourierslaw.hh +++ b/dumux/discretization/staggered/freeflow/fourierslaw.hh @@ -77,6 +77,7 @@ public: using CacheFiller = FluxVariablesCaching::EmptyCacheFiller<TypeTag>; static CellCenterPrimaryVariables diffusiveFluxForCellCenter(const Problem& problem, + const Element& element, const FVElementGeometry& fvGeometry, const ElementVolumeVariables& elemVolVars, const SubControlVolumeFace &scvf) @@ -112,7 +113,7 @@ public: else { distance = (insideScv.dofPosition() - scvf.ipGlobal()).two_norm(); - outsideTemp = problem.dirichletAtPos(scvf.center())[energyBalanceIdx]); + outsideTemp = problem.dirichletAtPos(scvf.center())[energyBalanceIdx]; } } else