mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3873 Create LGR : Use isCell instead of isValid
isCell evaluates the global grid cell index, and must be used before accessing the global cell index.
This commit is contained in:
parent
4ad982ada6
commit
529ca6285b
@ -384,7 +384,7 @@ const RigVirtualPerforationTransmissibilities* RimEclipseCase::computeAndGetVirt
|
|||||||
{
|
{
|
||||||
for (const auto& r : wellResultBranch.m_branchResultPoints)
|
for (const auto& r : wellResultBranch.m_branchResultPoints)
|
||||||
{
|
{
|
||||||
if (r.isValid())
|
if (r.isCell())
|
||||||
{
|
{
|
||||||
RigCompletionData compData(
|
RigCompletionData compData(
|
||||||
wellRes->m_wellName,
|
wellRes->m_wellName,
|
||||||
|
Loading…
Reference in New Issue
Block a user