mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Make well log curves work on statistics cases
This commit is contained in:
parent
d09e33f6d8
commit
7ffdba0437
@ -38,8 +38,10 @@ std::vector<const RigWellPath*> RiaSimWellBranchTools::simulationWellBranches( c
|
|||||||
RimProject* proj = app->project();
|
RimProject* proj = app->project();
|
||||||
|
|
||||||
// Find first case containing the specified simulation well
|
// Find first case containing the specified simulation well
|
||||||
auto simCases = proj->eclipseCases();
|
std::vector<RimEclipseCase*> simCases;
|
||||||
auto caseItr = std::find_if( simCases.begin(), simCases.end(), [&simWellName]( const RimEclipseCase* eclCase ) {
|
proj->descendantsIncludingThisOfType( simCases );
|
||||||
|
|
||||||
|
auto caseItr = std::find_if( simCases.begin(), simCases.end(), [&simWellName]( const RimEclipseCase* eclCase ) {
|
||||||
const auto& eclData = eclCase->eclipseCaseData();
|
const auto& eclData = eclCase->eclipseCaseData();
|
||||||
return eclData != nullptr && eclData->hasSimulationWell( simWellName );
|
return eclData != nullptr && eclData->hasSimulationWell( simWellName );
|
||||||
} );
|
} );
|
||||||
|
Loading…
Reference in New Issue
Block a user