Mark TransMult Object as Const

That way it's obvious that the surrounding code does not change
the object.
This commit is contained in:
Bård Skaflestad 2023-08-21 14:15:22 +02:00
parent ecfe98dd3d
commit e84523171b

View File

@ -143,7 +143,7 @@ void EclTransmissibility<Grid,GridView,ElementMapper,CartesianIndexMapper,Scalar
update(bool global, const std::function<unsigned int(unsigned int)>& map)
{
const auto& cartDims = cartMapper_.cartesianDimensions();
auto& transMult = eclState_.getTransMult();
const auto& transMult = eclState_.getTransMult();
const auto& comm = gridView_.comm();
ElementMapper elemMapper(gridView_, Dune::mcmgElementLayout());