Skip to content
Snippets Groups Projects
Commit 44883f96 authored by Timo Koch's avatar Timo Koch
Browse files

[gridmanager] Add const overload for grid

parent a25737fe
No related branches found
No related tags found
1 merge request!3635[gridmanager] Add const overload for grid
Checking pipeline status
......@@ -80,6 +80,17 @@ public:
return *gridPtr();
}
/*!
* \brief Returns a const reference to the grid.
*/
const Grid& grid() const
{
if(enableDgfGridPointer_)
return *dgfGridPtr();
else
return *gridPtr();
}
/*!
* \brief Call loadBalance() function of the grid.
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment