mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-10 23:46:00 -06:00
#4495 Active Cells : Add dual porosity flag to RigMainGrid
This commit is contained in:
parent
ada2fb1480
commit
085c4f3714
@ -42,6 +42,7 @@ RigMainGrid::RigMainGrid()
|
||||
|
||||
m_useMapAxes = false;
|
||||
m_mapAxes = defaultMapAxes();
|
||||
m_dualPorosity = false;
|
||||
}
|
||||
|
||||
RigMainGrid::~RigMainGrid() {}
|
||||
@ -829,6 +830,22 @@ cvf::Mat4d RigMainGrid::mapAxisTransform() const
|
||||
return mapAxisTrans;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RigMainGrid::isDualPorosity() const
|
||||
{
|
||||
return m_dualPorosity;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RigMainGrid::setDualPorosity(bool enable)
|
||||
{
|
||||
m_dualPorosity = enable;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -100,6 +100,9 @@ public:
|
||||
std::array<float, 6> mapAxesF() const;
|
||||
|
||||
cvf::Mat4d mapAxisTransform() const;
|
||||
|
||||
bool isDualPorosity() const;
|
||||
void setDualPorosity(bool enable);
|
||||
private:
|
||||
void initAllSubCellsMainGridCellIndex();
|
||||
void buildCellSearchTree();
|
||||
@ -126,5 +129,7 @@ private:
|
||||
|
||||
bool m_useMapAxes;
|
||||
std::array<double, 6> m_mapAxes;
|
||||
|
||||
bool m_dualPorosity;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user