mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2176 Fix the crash due to an invalid wellhead definition from libecl. Now using first valid connection-cell as proxywellhead in calculations if needed.
This commit is contained in:
@@ -166,6 +166,7 @@ public:
|
||||
|
||||
const RigWellResultPoint* findResultCell(size_t gridIndex, size_t gridCellIndex) const;
|
||||
|
||||
RigWellResultPoint wellHeadOrStartCell() const;
|
||||
WellProductionType m_productionType;
|
||||
bool m_isOpen;
|
||||
RigWellResultPoint m_wellHead;
|
||||
@@ -187,6 +188,8 @@ public:
|
||||
bool isMultiSegmentWell() const;
|
||||
|
||||
bool hasWellResult(size_t resultTimeStepIndex) const;
|
||||
bool hasAnyValidCells(size_t resultTimeStepIndex) const;
|
||||
|
||||
const RigWellResultFrame& wellResultFrame(size_t resultTimeStepIndex) const;
|
||||
bool isOpen(size_t resultTimeStepIndex) const;
|
||||
RigWellResultFrame::WellProductionType wellProductionType(size_t resultTimeStepIndex) const;
|
||||
|
||||
Reference in New Issue
Block a user