mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-11 00:41:56 -06:00
Mark TransMult Object as Const
That way it's obvious that the surrounding code does not change the object.
This commit is contained in:
parent
ecfe98dd3d
commit
e84523171b
@ -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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user