mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3554 Temprorary LGR : Early exit if no active cells
This commit is contained in:
parent
829c3cd9aa
commit
cc8f42f878
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user