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