diff --git a/dumux/boxmodels/1p/1plocalresidual.hh b/dumux/boxmodels/1p/1plocalresidual.hh index 1e57010fb87d77704414fee0436c20277290e9e5..3f61b3b7a4fd037522c8f50d1a2125c5a8801893 100644 --- a/dumux/boxmodels/1p/1plocalresidual.hh +++ b/dumux/boxmodels/1p/1plocalresidual.hh @@ -107,13 +107,14 @@ public: * \param flux The flux over the SCV (sub-control-volume) face * \param faceIdx The index of the SCV face */ - void computeFlux(PrimaryVariables &flux, const int faceIdx) const + void computeFlux(PrimaryVariables &flux, const int faceIdx, const bool onBoundary=false) const { FluxVariables fluxVars(this->problem_(), this->element_(), this->fvGeometry_(), faceIdx, - this->curVolVars_()); + this->curVolVars_(), + onBoundary); DimVector tmpVec; fluxVars.intrinsicPermeability().mv(fluxVars.potentialGrad(), tmpVec);