mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
One shared active cell info for all statistical cases
Invalidate existing statisticsCases when adding/removing source cases Moved computation of active cell union from RigStatistics to RimIdenticalGridCaseGroup Recompute active cell union when opening project file p4#: 21023
This commit is contained in:
@@ -45,7 +45,7 @@ bool RigActiveCellInfo::isActiveInMatrixModel(size_t globalCellIndex) const
|
||||
{
|
||||
if (m_activeInMatrixModel.size() == 0)
|
||||
{
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
CVF_TIGHT_ASSERT(globalCellIndex < m_activeInMatrixModel.size());
|
||||
@@ -60,7 +60,7 @@ size_t RigActiveCellInfo::activeIndexInMatrixModel(size_t globalCellIndex) const
|
||||
{
|
||||
if (m_activeInMatrixModel.size() == 0)
|
||||
{
|
||||
return cvf::UNDEFINED_SIZE_T;
|
||||
return globalCellIndex;
|
||||
}
|
||||
|
||||
CVF_TIGHT_ASSERT(globalCellIndex < m_activeInMatrixModel.size());
|
||||
|
||||
Reference in New Issue
Block a user