mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1112, #1106 Added and removed fields to make the allocation plot have the needed data to do its calculation. Refacord the CenterLine calculation interface yet again to make it usable.
This commit is contained in:
@@ -262,6 +262,20 @@ void RigEclipseCaseData::setWellResults(const cvf::Collection<RigSingleWellResul
|
||||
computeWellCellsPrGrid();
|
||||
}
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
const RigSingleWellResultsData* RigEclipseCaseData::findWellResult(QString wellName) const
|
||||
{
|
||||
for (size_t wIdx = 0; wIdx < m_wellResults.size(); ++wIdx)
|
||||
{
|
||||
if (m_wellResults[wIdx]->m_wellName == wellName) return m_wellResults[wIdx].p();
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user