Merge pull request #4805 from bska/const-transmult-object

Mark TransMult Object as Const
This commit is contained in:
Arne Morten Kvarving 2023-08-21 15:04:46 +02:00 committed by GitHub
commit decc5034db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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());