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:
Magne Sjaastad
2023-02-28 16:06:37 +01:00
committed by GitHub
parent 9b12885c23
commit d2f435c00a
28 changed files with 976 additions and 241 deletions

View File

@@ -125,8 +125,8 @@ grpc::Status RiaGrpcSimulationWellService::GetSimulationWellCells( grpc::ServerC
size_t i;
size_t j;
size_t k;
size_t gridIdx = resPoint.m_gridIndex;
grids[gridIdx]->ijkFromCellIndex( resPoint.m_gridCellIndex, &i, &j, &k );
const size_t gridIdx = resPoint.gridIndex();
grids[gridIdx]->ijkFromCellIndex( resPoint.cellIndex(), &i, &j, &k );
Vec3i* ijk = new Vec3i;
ijk->set_i( i );
@@ -135,9 +135,9 @@ grpc::Status RiaGrpcSimulationWellService::GetSimulationWellCells( grpc::ServerC
cellInfo->set_allocated_ijk( ijk );
cellInfo->set_grid_index( gridIdx );
cellInfo->set_is_open( resPoint.m_isOpen );
cellInfo->set_branch_id( resPoint.m_ertBranchId );
cellInfo->set_segment_id( resPoint.m_ertSegmentId );
cellInfo->set_is_open( resPoint.isOpen() );
cellInfo->set_branch_id( resPoint.branchId() );
cellInfo->set_segment_id( resPoint.segmentId() );
}
}
}