EclGenericTracerModel: some modernization

- use constexpr
This commit is contained in:
Arne Morten Kvarving 2022-08-10 12:33:09 +02:00
parent f97f29fa3a
commit 834a54686c

View File

@ -51,7 +51,7 @@ public:
using TracerMatrix = Dune::BCRSMatrix<Opm::MatrixBlock<Scalar, 1, 1>>;
using TracerVector = Dune::BlockVector<Dune::FieldVector<Scalar,1>>;
using CartesianIndexMapper = Dune::CartesianIndexMapper<Grid>;
static const int dimWorld = Grid::dimensionworld;
static constexpr int dimWorld = Grid::dimensionworld;
/*!
* \brief Return the number of tracers considered by the tracerModel.
*/