mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2880 export completions if the the well path name is explictly provided even if unchecked
This commit is contained in:
@@ -109,9 +109,13 @@ void RicfExportSimWellFractureCompletions::execute()
|
||||
{
|
||||
for (RimEclipseView* view : views)
|
||||
{
|
||||
std::copy(view->wellCollection()->wells.begin(),
|
||||
view->wellCollection()->wells.end(),
|
||||
std::back_inserter(simWells));
|
||||
for (auto simWell : view->wellCollection()->wells)
|
||||
{
|
||||
if (simWell->showWell())
|
||||
{
|
||||
simWells.push_back(simWell);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@@ -112,9 +112,13 @@ void RicfExportWellPathCompletions::execute()
|
||||
std::vector<RimWellPath*> wellPaths;
|
||||
if (m_wellPathNames().empty())
|
||||
{
|
||||
std::copy(RiaApplication::instance()->project()->activeOilField()->wellPathCollection->wellPaths().begin(),
|
||||
RiaApplication::instance()->project()->activeOilField()->wellPathCollection->wellPaths().end(),
|
||||
std::back_inserter(wellPaths));
|
||||
for (auto wellPath : RiaApplication::instance()->project()->activeOilField()->wellPathCollection->wellPaths())
|
||||
{
|
||||
if (wellPath->showWellPath())
|
||||
{
|
||||
wellPaths.push_back(wellPath);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user