Thermal Fracture: Fix off-by-one in transmissibility calculation.

This commit is contained in:
Kristian Bendiksen
2022-09-30 10:09:42 +02:00
parent 3dad3c65cb
commit dbd8dd4ff4
3 changed files with 3 additions and 3 deletions

View File

@@ -72,7 +72,7 @@ size_t RigFractureCell::getJ() const
//--------------------------------------------------------------------------------------------------
bool RigFractureCell::hasNonZeroConductivity() const
{
return m_conductivityValue > 1e-7;
return m_conductivityValue > 1e-7 && !std::isinf( m_conductivityValue );
}
//--------------------------------------------------------------------------------------------------