mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Refactor code
Make use of calculateCurrentTotalCellVisibility for eclipse view to get surface vertices. Prevent usage of individual grid part managers in gRPC-service.
This commit is contained in:
@@ -179,22 +179,6 @@ 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