mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3154 Implement Common Data Source for Well Log Plots
This commit is contained in:
@@ -925,6 +925,24 @@ void RimEclipseCase::setFormationNames(RimFormationNames* formationNames)
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::set<QString> RimEclipseCase::sortedSimWellNames() const
|
||||
{
|
||||
std::set<QString> sortedWellNames;
|
||||
if (eclipseCaseData())
|
||||
{
|
||||
const cvf::Collection<RigSimWellData>& simWellData = eclipseCaseData()->wellResults();
|
||||
|
||||
for (size_t wIdx = 0; wIdx < simWellData.size(); ++wIdx)
|
||||
{
|
||||
sortedWellNames.insert(simWellData[wIdx]->m_wellName);
|
||||
}
|
||||
}
|
||||
return sortedWellNames;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user