mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Added isCoarseningActive
This commit is contained in:
@@ -193,6 +193,14 @@ void RigActiveCellInfo::clear()
|
|||||||
m_activeCellsBoundingBox.reset();
|
m_activeCellsBoundingBox.reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
///
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
bool RigActiveCellInfo::isCoarseningActive() const
|
||||||
|
{
|
||||||
|
return m_globalCellResultCount != m_globalActiveCellCount;
|
||||||
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ public:
|
|||||||
size_t globalCellCount() const;
|
size_t globalCellCount() const;
|
||||||
size_t globalActiveCellCount() const;
|
size_t globalActiveCellCount() const;
|
||||||
size_t globalCellResultCount() const;
|
size_t globalCellResultCount() const;
|
||||||
|
bool isCoarseningActive() const;
|
||||||
|
|
||||||
bool isActive(size_t globalCellIndex) const;
|
bool isActive(size_t globalCellIndex) const;
|
||||||
size_t cellResultIndex(size_t globalCellIndex) const;
|
size_t cellResultIndex(size_t globalCellIndex) const;
|
||||||
|
|||||||
Reference in New Issue
Block a user