mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3828 Refactor Completion export code by splitting out MSW export into separate files
* Plus fill in some incomplete functionality regarding MSW export
This commit is contained in:
@@ -185,3 +185,21 @@ std::vector<const RimPerforationInterval*> RimPerforationCollection::perforation
|
||||
return myPerforations;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::vector<const RimPerforationInterval*> RimPerforationCollection::activePerforations() const
|
||||
{
|
||||
std::vector<const RimPerforationInterval*> myActivePerforations;
|
||||
|
||||
for (const auto& perforation : m_perforations)
|
||||
{
|
||||
if (perforation->isChecked())
|
||||
{
|
||||
myActivePerforations.push_back(perforation);
|
||||
}
|
||||
}
|
||||
|
||||
return myActivePerforations;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user