diff --git a/dumux/implicit/common/implicitproblem.hh b/dumux/implicit/common/implicitproblem.hh index 047a1a96072b30bbaebd9178124c2b15823663f2..2812c8f0dda8f9d5f2925dedbff2bbe165dcaef3 100644 --- a/dumux/implicit/common/implicitproblem.hh +++ b/dumux/implicit/common/implicitproblem.hh @@ -663,17 +663,29 @@ public: { return bBoxMax_; } /*! - * \brief Returns the mapper for vertices to indices. + * \brief Returns the mapper for vertices to indices for constant grids. */ const VertexMapper &vertexMapper() const { return vertexMapper_; } /*! - * \brief Returns the mapper for elements to indices. + * \brief Returns the mapper for elements to indices for constant grids. */ const ElementMapper &elementMapper() const { return elementMapper_; } + /*! + * \brief Returns the mapper for vertices to indices for possibly adaptive grids. + */ + VertexMapper &vertexMapper() + { return vertexMapper_; } + + /*! + * \brief Returns the mapper for elements to indices for possibly adaptive grids. + */ + ElementMapper &elementMapper() + { return elementMapper_; } + /*! * \brief Returns TimeManager object used by the simulation */