mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
bf7a437a2a
commit
578ba56c79
@ -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;
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user