mirror of
https://github.com/OPM/ResInsight.git
synced 2026-08-27 05:37:21 -05:00
#13940 Fracture export: Guard transmissibility condenser against internal-only neighbor sets
Replace the fatal CAF_ASSERT in calculateCondensedTransmissibilities() with an early return when no external cells are present. The fracture export pipeline now yields no completions for such fractures instead of aborting the process. Fixes #13940.
This commit is contained in:
committed by
Magne Sjaastad
parent
d14144848a
commit
5fcca6bf09
@@ -333,7 +333,9 @@ void RigTransmissibilityCondenser::calculateCondensedTransmissibilities()
|
||||
totalEquationCount = currentEqIdx;
|
||||
}
|
||||
|
||||
CAF_ASSERT( idxToFirstExternalEquation != -1 );
|
||||
// Guard against neighbor sets that contain only internal cells: there is nothing to condense
|
||||
// into, so leave m_externalCellAddrSet / m_condensedTransmissibilities empty.
|
||||
if ( idxToFirstExternalEquation == -1 ) return;
|
||||
|
||||
using namespace Eigen;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user