mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-16 20:24:48 -06:00
EclGenericWriter: some modernization
- typedef -> using
This commit is contained in:
parent
834a54686c
commit
beaf8c20f4
@ -65,9 +65,9 @@ namespace Opm {
|
||||
|
||||
template <class Grid, class EquilGrid, class GridView, class ElementMapper, class Scalar>
|
||||
class EclGenericWriter
|
||||
{
|
||||
typedef Dune::CartesianIndexMapper<Grid> CartesianIndexMapper;
|
||||
typedef Dune::CartesianIndexMapper<EquilGrid> EquilCartesianIndexMapper;
|
||||
{
|
||||
using CartesianIndexMapper = Dune::CartesianIndexMapper<Grid>;
|
||||
using EquilCartesianIndexMapper = Dune::CartesianIndexMapper<EquilGrid>;
|
||||
using CollectDataToIORankType = CollectDataToIORank<Grid,EquilGrid,GridView>;
|
||||
using TransmissibilityType = EclTransmissibility<Grid,GridView,ElementMapper,CartesianIndexMapper,Scalar>;
|
||||
|
||||
@ -103,7 +103,7 @@ public:
|
||||
{
|
||||
simulation_report_ = report;
|
||||
}
|
||||
|
||||
|
||||
protected:
|
||||
const TransmissibilityType& globalTrans() const;
|
||||
unsigned int gridEquilIdxToGridIdx(unsigned int elemIndex) const;
|
||||
|
Loading…
Reference in New Issue
Block a user