diff --git a/dumux/implicit/fluxvariablesvector.hh b/dumux/implicit/fluxvariablesvector.hh index b371bd7f605e4f87297399f0fe9e22c0b37d6769..c80cf37d0c9ca610bb0a5fb169a625a43114db07 100644 --- a/dumux/implicit/fluxvariablesvector.hh +++ b/dumux/implicit/fluxvariablesvector.hh @@ -39,6 +39,7 @@ class FluxVariablesVector using GridView = typename GET_PROP_TYPE(TypeTag, GridView); using IndexType = typename GridView::IndexSet::IndexType; using FluxVariables = typename GET_PROP_TYPE(TypeTag, FluxVariables); + using SubControlVolumeFace = typename GET_PROP_TYPE(TypeTag, SubControlVolumeFace); public: void update(const Problem& problem) @@ -54,6 +55,17 @@ public: } } + void update(const Problem& problem, const SubControlVolumeFace& scvFace) + { + (*this)[scvFace.index()].update(problem, scvf); + } + + void update(const Problem& problem, const IndexType scvFaceIndex) + { + auto&& scvFace = problem.model().fvGeometries().SubControlVolumeFace(scvFaceIndex); + (*this)[scvFace.index()].update(problem, scvf); + } + const FluxVariables& operator [](IndexType scvfIdx) const { return fluxVars_[scvfIdx];