mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
Added isCoarseningActive
This commit is contained in:
1 parent
acc1d732d7
commit
874b05b119
2 files changed
+9
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user