mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
EclPolyhedralGridVanguard: some modernization
- typedef -> using
This commit is contained in:
@@ -76,7 +76,7 @@ template <class TypeTag>
|
|||||||
class EclPolyhedralGridVanguard : public EclBaseVanguard<TypeTag>
|
class EclPolyhedralGridVanguard : public EclBaseVanguard<TypeTag>
|
||||||
{
|
{
|
||||||
friend class EclBaseVanguard<TypeTag>;
|
friend class EclBaseVanguard<TypeTag>;
|
||||||
typedef EclBaseVanguard<TypeTag> ParentType;
|
using ParentType = EclBaseVanguard<TypeTag>;
|
||||||
|
|
||||||
using ElementMapper = GetPropType<TypeTag, Properties::ElementMapper>;
|
using ElementMapper = GetPropType<TypeTag, Properties::ElementMapper>;
|
||||||
using Scalar = GetPropType<TypeTag, Properties::Scalar>;
|
using Scalar = GetPropType<TypeTag, Properties::Scalar>;
|
||||||
@@ -89,10 +89,10 @@ public:
|
|||||||
using TransmissibilityType = EclTransmissibility<Grid, GridView, ElementMapper, Scalar>;
|
using TransmissibilityType = EclTransmissibility<Grid, GridView, ElementMapper, Scalar>;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
typedef Grid* GridPointer;
|
using GridPointer = Grid*;
|
||||||
typedef EquilGrid* EquilGridPointer;
|
using EquilGridPointer = EquilGrid*;
|
||||||
typedef Dune::CartesianIndexMapper<Grid> CartesianIndexMapper;
|
using CartesianIndexMapper = Dune::CartesianIndexMapper<Grid>;
|
||||||
typedef std::unique_ptr<CartesianIndexMapper> CartesianIndexMapperPointer;
|
using CartesianIndexMapperPointer = std::unique_ptr<CartesianIndexMapper>;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
EclPolyhedralGridVanguard(Simulator& simulator)
|
EclPolyhedralGridVanguard(Simulator& simulator)
|
||||||
|
|||||||
Reference in New Issue
Block a user