mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-09 15:43:07 -06:00
LocalGrid. Move implementation to cpp file
This commit is contained in:
parent
822645e264
commit
3edfd1dca6
@ -32,3 +32,35 @@ RigLocalGrid::RigLocalGrid(RigMainGrid* mainGrid):
|
||||
RigLocalGrid::~RigLocalGrid()
|
||||
{
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RigGridBase * RigLocalGrid::parentGrid() const
|
||||
{
|
||||
return m_parentGrid;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RigLocalGrid::setParentGrid(RigGridBase * parentGrid)
|
||||
{
|
||||
m_parentGrid = parentGrid;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
size_t RigLocalGrid::positionInParentGrid() const
|
||||
{
|
||||
return m_positionInParentGrid;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RigLocalGrid::setPositionInParentGrid(size_t positionInParentGrid)
|
||||
{
|
||||
m_positionInParentGrid = positionInParentGrid;
|
||||
}
|
||||
|
@ -25,11 +25,11 @@ public:
|
||||
explicit RigLocalGrid(RigMainGrid* mainGrid);
|
||||
~RigLocalGrid() override;
|
||||
|
||||
RigGridBase * parentGrid() const { return m_parentGrid; }
|
||||
void setParentGrid(RigGridBase * parentGrid) { m_parentGrid = parentGrid; }
|
||||
RigGridBase * parentGrid() const;
|
||||
void setParentGrid(RigGridBase * parentGrid);
|
||||
|
||||
size_t positionInParentGrid() const { return m_positionInParentGrid; }
|
||||
void setPositionInParentGrid(size_t positionInParentGrid) { m_positionInParentGrid = positionInParentGrid; }
|
||||
size_t positionInParentGrid() const;
|
||||
void setPositionInParentGrid(size_t positionInParentGrid);
|
||||
|
||||
private:
|
||||
RigGridBase * m_parentGrid;
|
||||
|
Loading…
Reference in New Issue
Block a user