mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
MSW : Do not export completions if well path lateral is unchecked
This commit is contained in:
+2
-1
@@ -1926,7 +1926,8 @@ std::vector<RimModeledWellPath*> RicWellPathExportMswCompletionsImpl::wellPathsW
|
||||
for ( auto w : wellPaths )
|
||||
{
|
||||
auto modelWellPath = dynamic_cast<RimModeledWellPath*>( w );
|
||||
if ( modelWellPath && modelWellPath->wellPathTieIn() && modelWellPath->wellPathTieIn()->parentWell() == wellPath )
|
||||
if ( modelWellPath && modelWellPath->isEnabled() && modelWellPath->wellPathTieIn() &&
|
||||
modelWellPath->wellPathTieIn()->parentWell() == wellPath )
|
||||
{
|
||||
connectedWellPaths.push_back( modelWellPath );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user