mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Well branches. Simple well branch cache
This commit is contained in:
@@ -881,7 +881,7 @@ std::vector<QString> RimProject::simulationWellNames() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::vector<RigWellPath*> RimProject::simulationWellBranches(const QString& simWellName)
|
||||
std::vector<const RigWellPath*> RimProject::simulationWellBranches(const QString& simWellName)
|
||||
{
|
||||
// Find first case containing the specified simulation well
|
||||
auto simCases = eclipseCases();
|
||||
@@ -893,7 +893,7 @@ std::vector<RigWellPath*> RimProject::simulationWellBranches(const QString& simW
|
||||
RigEclipseCaseData* eclCaseData = eclipseCase != nullptr ? eclipseCase->eclipseCaseData() : nullptr;
|
||||
return eclCaseData != nullptr ?
|
||||
eclCaseData->simulationWellBranches(simWellName) :
|
||||
std::vector<RigWellPath*>();
|
||||
std::vector<const RigWellPath*>();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user