From 6ad6e1ed04845034a5d618a4a86fa3b0e46ff52e Mon Sep 17 00:00:00 2001 From: Melanie Lipp Date: Thu, 19 Mar 2020 12:59:53 +0100 Subject: [PATCH] [freeflow][documentation] Remove comment that outsideScvIdx is undefined if boundary is true. Reason: outsideScvIdx is properly filled in the else if of fvgridgeometry.hh. Additionally, it is called and used at the boundary. --- dumux/discretization/staggered/freeflow/subcontrolvolumeface.hh | 1 - dumux/discretization/staggered/subcontrolvolumeface.hh | 1 - 2 files changed, 2 deletions(-) diff --git a/dumux/discretization/staggered/freeflow/subcontrolvolumeface.hh b/dumux/discretization/staggered/freeflow/subcontrolvolumeface.hh index 6d5880916a..c2f0c61bdd 100644 --- a/dumux/discretization/staggered/freeflow/subcontrolvolumeface.hh +++ b/dumux/discretization/staggered/freeflow/subcontrolvolumeface.hh @@ -203,7 +203,6 @@ public: } //! index of the outside sub control volume for spatial param evaluation - // This results in undefined behaviour if boundary is true GridIndexType outsideScvIdx() const { return scvIndices_[1]; diff --git a/dumux/discretization/staggered/subcontrolvolumeface.hh b/dumux/discretization/staggered/subcontrolvolumeface.hh index 8e63c21b50..150e35f687 100644 --- a/dumux/discretization/staggered/subcontrolvolumeface.hh +++ b/dumux/discretization/staggered/subcontrolvolumeface.hh @@ -201,7 +201,6 @@ public: } //! Index of the outside sub control volume - // This results in undefined behaviour if boundary is true GridIndexType outsideScvIdx() const { return scvIndices_[1]; -- GitLab