#3205 Improved default name of modelled wellpaths. Made sure that the name is read and written.

This commit is contained in:
Jacob Støren
2018-08-14 13:22:42 +02:00
parent 319203b7fc
commit a6d91873e6
4 changed files with 18 additions and 3 deletions

View File

@@ -448,6 +448,22 @@ bool RimWellPathCollection::anyWellsContainingPerforationIntervals() const
return false;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
size_t RimWellPathCollection::modelledWellPathCount() const
{
size_t count = 0;
for (size_t wellPathIdx = 0; wellPathIdx < wellPaths.size(); wellPathIdx++)
{
if (dynamic_cast<RimModeledWellPath*>( wellPaths[wellPathIdx]))
{
count++;
}
}
return count;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------