From 086b6a5877b8c7b71c84fc6fbdc7109dc962db60 Mon Sep 17 00:00:00 2001 From: Katharina Heck <katharina.heck@iws.uni-stuttgart.de> Date: Tue, 7 Feb 2017 15:41:35 +0100 Subject: [PATCH] [fix][velocityoutput] fix velocityoutput on next --- dumux/porousmediumflow/implicit/velocityoutput.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dumux/porousmediumflow/implicit/velocityoutput.hh b/dumux/porousmediumflow/implicit/velocityoutput.hh index c2ade4f1ee..6259938be4 100644 --- a/dumux/porousmediumflow/implicit/velocityoutput.hh +++ b/dumux/porousmediumflow/implicit/velocityoutput.hh @@ -120,7 +120,7 @@ public: //! we should never call this method for box models template <class T = TypeTag> typename std::enable_if<GET_PROP_VALUE(T, ImplicitIsBox), BoundaryTypes>::type - problemBoundaryTypes(const Element& element, const SubControlVolume& scv) const + problemBoundaryTypes(const Element& element, const SubControlVolumeFace& scvf) const { return BoundaryTypes(); } //! Calculate the velocities for the scvs in the element @@ -247,7 +247,7 @@ public: } else { - auto bcTypes = problem_.boundaryTypes(element, scvf); + auto bcTypes = problemBoundaryTypes(element, scvf); if (bcTypes.hasOnlyDirichlet()) { FluxVariables fluxVars; @@ -274,7 +274,7 @@ public: { if (scvf.boundary()) { - auto bcTypes = problem_.boundaryTypes(element, scvf); + auto bcTypes = problemBoundaryTypes(element, scvf); if (bcTypes.hasNeumann()) { // cubes -- GitLab