#1112 Added a flowrate to the well results. Waiting for ERT to include the reading.

This commit is contained in:
Jacob Støren 2017-01-20 16:12:12 +01:00
parent 06b9f13e41
commit 94f94af325
2 changed files with 4 additions and 1 deletions

View File

@ -969,6 +969,7 @@ RigWellResultPoint RifReaderEclipseOutput::createWellResultPoint(const RigGridBa
resultPoint.m_ertBranchId = ertBranchId;
resultPoint.m_ertSegmentId = ertSegmentId;
resultPoint.m_flowRate = 0.5; // Todo : Get from Ert
}
return resultPoint;

View File

@ -39,7 +39,8 @@ struct RigWellResultPoint
m_isOpen(false),
m_ertBranchId(-1),
m_ertSegmentId(-1),
m_bottomPosition(cvf::Vec3d::UNDEFINED)
m_bottomPosition(cvf::Vec3d::UNDEFINED),
m_flowRate(0.0)
{ }
bool isPointValid() const
@ -66,6 +67,7 @@ struct RigWellResultPoint
int m_ertSegmentId;
cvf::Vec3d m_bottomPosition; //< The estimated bottom position of the well segment, when we have no grid cell connections for the segment.
double m_flowRate;
};
//==================================================================================================