mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix "New PLT plot" command using simwell name and not wellpath name Rename of some methods Use Phase Split as default
This commit is contained in:
@@ -903,12 +903,12 @@ std::vector<const RigWellPath*> RimProject::simulationWellBranches(const QString
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellPath* RimProject::wellPathFromSimulationWell(const QString& simWellName, int branchIndex)
|
||||
RimWellPath* RimProject::wellPathFromSimWellName(const QString& simWellName, int branchIndex)
|
||||
{
|
||||
std::vector<RimWellPath*> paths;
|
||||
for (RimWellPath* const path : allWellPaths())
|
||||
{
|
||||
if (QString::compare(path->associatedSimulationWell(), simWellName) == 0 &&
|
||||
if (QString::compare(path->associatedSimulationWellName(), simWellName) == 0 &&
|
||||
(branchIndex < 0 || path->associatedSimulationWellBranch() == branchIndex))
|
||||
{
|
||||
return path;
|
||||
|
||||
Reference in New Issue
Block a user