mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-15 18:02:12 -05: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:
1 parent
9b12885c23
commit
d2f435c00a
28 files changed
+976
-241
No files matched your search
@@ -191,11 +191,11 @@ std::map<std::string, std::vector<int>> RimFlowDiagSolution::allTracerActiveCell
|
||||
{
|
||||
for ( const RigWellResultPoint& wrp : wBr.m_branchResultPoints )
|
||||
{
|
||||
if ( wrp.isValid() && wrp.m_isOpen &&
|
||||
if ( wrp.isValid() && wrp.isOpen() &&
|
||||
( ( useInjectors && wrp.flowRate() < 0.0 ) || ( !useInjectors && wrp.flowRate() > 0.0 ) ) )
|
||||
{
|
||||
RigGridBase* grid = mainGrid->gridByIndex( wrp.m_gridIndex );
|
||||
size_t reservoirCellIndex = grid->reservoirCellIndex( wrp.m_gridCellIndex );
|
||||
RigGridBase* grid = mainGrid->gridByIndex( wrp.gridIndex() );
|
||||
size_t reservoirCellIndex = grid->reservoirCellIndex( wrp.cellIndex() );
|
||||
|
||||
int cellActiveIndex = static_cast<int>( activeCellInfo->cellResultIndex( reservoirCellIndex ) );
|
||||
|
||||
|
||||
Reference in new issue
Block a user