ebos: calculate the active cells based on the simulation grid

... instead of the EclipseGrid object returned by opm-parser. This is
required because the nice grids of dune-cornerpoint sometimes decide
to deactivate a grid cell on their own (e.g. because of the MINPV or
the PINCH keywords).
This commit is contained in:
Andreas Lauser 2016-02-26 19:11:05 +01:00
parent bf7a437a2a
commit 578ba56c79
2 changed files with 2 additions and 3 deletions

View File

@ -62,10 +62,9 @@ class EclAluGridManager : public EclBaseGridManager<TypeTag>
public:
typedef typename GET_PROP_TYPE(TypeTag, Grid) Grid;
typedef typename GET_PROP_TYPE(TypeTag, EquilGrid) EquilGrid;
private:
typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView;
private:
typedef Ewoms::AluCartesianIndexMapper<Grid> CartesianIndexMapper;
typedef Dune::CartesianIndexMapper<EquilGrid> EquilCartesianIndexMapper;

View File

@ -59,9 +59,9 @@ class EclCpGridManager : public EclBaseGridManager<TypeTag>
public:
typedef typename GET_PROP_TYPE(TypeTag, Grid) Grid;
typedef typename GET_PROP_TYPE(TypeTag, EquilGrid) EquilGrid;
typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView;
private:
typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView;
typedef Dune::CartesianIndexMapper<Grid> CartesianIndexMapper;
public: