mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Improved simulation well visualization
* Move members to private in RigWellResultPoint * Create simulation well path geometry using well topology * Add separate MSW well pipe centerline computations * Review comments --------- Co-authored-by: magnesj <magnesj@users.noreply.github.com>
This commit is contained in:
@@ -88,13 +88,13 @@ void RivWellSpheresPartMgr::appendDynamicGeometryPartsToModel( cvf::ModelBasicLi
|
||||
{
|
||||
for ( const RigWellResultPoint& wellResultPoint : wellResultBranch.m_branchResultPoints )
|
||||
{
|
||||
size_t gridIndex = wellResultPoint.m_gridIndex;
|
||||
size_t gridIndex = wellResultPoint.gridIndex();
|
||||
|
||||
if ( gridIndex >= mainGrid->gridCount() ) continue;
|
||||
|
||||
const RigGridBase* rigGrid = mainGrid->gridByIndex( gridIndex );
|
||||
|
||||
size_t gridCellIndex = wellResultPoint.m_gridCellIndex;
|
||||
size_t gridCellIndex = wellResultPoint.cellIndex();
|
||||
if ( gridCellIndex >= rigGrid->cellCount() ) continue;
|
||||
|
||||
const RigCell& rigCell = rigGrid->cell( gridCellIndex );
|
||||
@@ -207,7 +207,7 @@ cvf::Color3f RivWellSpheresPartMgr::wellCellColor( const RigWellResultFrame* wel
|
||||
|
||||
if ( wellColl )
|
||||
{
|
||||
if ( wellResultPoint.m_isOpen )
|
||||
if ( wellResultPoint.isOpen() )
|
||||
{
|
||||
switch ( wellResultFrame->m_productionType )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user