mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2684 Well CF Visualization: Option to turn off CF visualization on closed connections
This commit is contained in:
@@ -94,6 +94,17 @@ void RivWellConnectionFactorPartMgr::appendDynamicGeometryPartsToModel(cvf::Mode
|
||||
std::vector<CompletionVizData> completionVizDataItems;
|
||||
for (const auto& cell : conn)
|
||||
{
|
||||
if (!m_virtualPerforationResult->showConnectionFactorsOnClosedConnections())
|
||||
{
|
||||
for (const auto& completion : cell.second)
|
||||
{
|
||||
if (completion.connectionState() == SHUT)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
size_t gridIndex = cell.first.globalCellIndex();
|
||||
|
||||
const RigCell& rigCell = mainGrid->cell(gridIndex);
|
||||
|
||||
Reference in New Issue
Block a user