mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #5008 from aritorto/compressedLevelZero
compressedLevelZero used to read relative permeability
This commit is contained in:
commit
24408862ff
@ -197,6 +197,10 @@ public:
|
|||||||
int compressedSize() const
|
int compressedSize() const
|
||||||
{ return cartesianIndex_.size(); }
|
{ return cartesianIndex_.size(); }
|
||||||
|
|
||||||
|
/** \brief return number of cells in the active grid. Only for unifying calls with CpGrid and PolyhedralGrid specializations. */
|
||||||
|
int compressedLevelZeroSize() const
|
||||||
|
{ return cartesianIndex_.size(); }
|
||||||
|
|
||||||
/** \brief return index of the cells in the logical Cartesian grid */
|
/** \brief return index of the cells in the logical Cartesian grid */
|
||||||
int cartesianIndex(const int compressedElementIndex) const
|
int cartesianIndex(const int compressedElementIndex) const
|
||||||
{
|
{
|
||||||
|
@ -840,7 +840,7 @@ namespace Opm {
|
|||||||
{
|
{
|
||||||
// All end points are subject to round-off errors, checks should account for it
|
// All end points are subject to round-off errors, checks should account for it
|
||||||
const float tolerance = 1e-6;
|
const float tolerance = 1e-6;
|
||||||
const int nc = cartesianIndexMapper.compressedSize();
|
const int nc = cartesianIndexMapper.compressedLevelZeroSize();
|
||||||
const bool threepoint = eclState.runspec().endpointScaling().threepoint();
|
const bool threepoint = eclState.runspec().endpointScaling().threepoint();
|
||||||
scaledEpsInfo_.resize(nc);
|
scaledEpsInfo_.resize(nc);
|
||||||
EclEpsGridProperties epsGridProperties(eclState, false);
|
EclEpsGridProperties epsGridProperties(eclState, false);
|
||||||
|
Loading…
Reference in New Issue
Block a user