mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Added const access
p4#: 20361
This commit is contained in:
parent
69d8739c6c
commit
a1788740aa
@ -83,7 +83,7 @@ void RigMainGrid::initAllSubCellsMainGridCellIndex()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
size_t RigMainGrid::globalMatrixModelActiveCellCount()
|
||||
size_t RigMainGrid::globalMatrixModelActiveCellCount() const
|
||||
{
|
||||
return m_globalMatrixModelActiveCellCount;
|
||||
|
||||
@ -92,7 +92,7 @@ size_t RigMainGrid::globalMatrixModelActiveCellCount()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
size_t RigMainGrid::globalFractureModelActiveCellCount()
|
||||
size_t RigMainGrid::globalFractureModelActiveCellCount() const
|
||||
{
|
||||
return m_globalFractureModelActiveCellCount;
|
||||
}
|
||||
|
@ -45,8 +45,8 @@ public:
|
||||
RigReservoirCellResults* results(RifReaderInterface::PorosityModelResultType porosityModel);
|
||||
const RigReservoirCellResults* results(RifReaderInterface::PorosityModelResultType porosityModel) const;
|
||||
|
||||
size_t globalMatrixModelActiveCellCount();
|
||||
size_t globalFractureModelActiveCellCount();
|
||||
size_t globalMatrixModelActiveCellCount() const;
|
||||
size_t globalFractureModelActiveCellCount() const;
|
||||
void setGlobalMatrixModelActiveCellCount (size_t globalMatrixModelActiveCellCount) { m_globalMatrixModelActiveCellCount = globalMatrixModelActiveCellCount; }
|
||||
void setGlobalFractureModelActiveCellCount(size_t globalFractureModelActiveCellCount) { m_globalFractureModelActiveCellCount = globalFractureModelActiveCellCount;}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user