mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-25 08:41:00 -06:00
EclGenericTracerModel: some modernization
- use constexpr
This commit is contained in:
parent
f97f29fa3a
commit
834a54686c
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user