mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
#3554 Temprorary LGR : Early exit if no active cells
This commit is contained in:
1 parent
829c3cd9aa
commit
cc8f42f878
1 file changed
+3
@@ -1522,6 +1522,9 @@ void RigCaseCellResultsData::testAndComputeSgasForTimeStep(size_t timeStepIndex)
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RigCaseCellResultsData::computeDepthRelatedResults()
|
||||
{
|
||||
size_t actCellCount = activeCellInfo()->reservoirActiveCellCount();
|
||||
if (actCellCount == 0) return;
|
||||
|
||||
size_t depthResultIndex = findOrLoadScalarResult(RiaDefines::STATIC_NATIVE, "DEPTH");
|
||||
size_t dxResultIndex = findOrLoadScalarResult(RiaDefines::STATIC_NATIVE, "DX");
|
||||
size_t dyResultIndex = findOrLoadScalarResult(RiaDefines::STATIC_NATIVE, "DY");
|
||||
|
||||
Reference in new issue
Block a user