mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Initial GetGridSurface with IJK-filter
This commit is contained in:
@@ -179,6 +179,22 @@ void RivReservoirPartMgr::appendElementVectorResultPartsToModel( cvf::ModelBasic
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
/// Get the part manager for main grid
|
||||
///
|
||||
/// Needed for the gRPC service for GridGeometryExtraction
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RivGridPartMgr* RivReservoirPartMgr::mainGridPartManager()
|
||||
{
|
||||
if ( m_allGrids.empty() )
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// First grid should be the main grid
|
||||
return m_allGrids.at( 0 );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user