mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#478 Made access function const in ActiveCellInfo
This commit is contained in:
@@ -162,7 +162,7 @@ void RigActiveCellInfo::IJKBoundingBox(cvf::Vec3st& min, cvf::Vec3st& max) const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RigActiveCellInfo::gridActiveCellCounts(size_t gridIndex, size_t& activeCellCount)
|
||||
void RigActiveCellInfo::gridActiveCellCounts(size_t gridIndex, size_t& activeCellCount) const
|
||||
{
|
||||
activeCellCount = m_perGridActiveCellInfo[gridIndex].activeCellCount();
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ public:
|
||||
|
||||
void setGridCount(size_t gridCount);
|
||||
void setGridActiveCellCounts(size_t gridIndex, size_t activeCellCount);
|
||||
void gridActiveCellCounts(size_t gridIndex, size_t& activeCellCount);
|
||||
void gridActiveCellCounts(size_t gridIndex, size_t& activeCellCount) const;
|
||||
void computeDerivedData();
|
||||
|
||||
void setIJKBoundingBox(const cvf::Vec3st& min, const cvf::Vec3st& max);
|
||||
|
||||
Reference in New Issue
Block a user