Commit 3805066f authored by Timo Koch's avatar Timo Koch
Browse files

Fixes the issue that elementMapper cannot be updated from the problem file...

Fixes the issue that elementMapper cannot be updated from the problem file needed for adaptive grid methods. The functions returning the elementMapper and vertexMapper are now overloaded with a non constant version of the functions. Reviewed by Bernd.

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@14040 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 663ebb24
......@@ -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
*/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment