Always compute grid faults

This commit is contained in:
Magne Sjaastad
2014-09-26 08:15:22 +02:00
parent af55878f07
commit a8ce90e404
4 changed files with 6 additions and 14 deletions

View File

@@ -405,6 +405,8 @@ bool RigMainGrid::isFaceNormalsOutwards() const
//--------------------------------------------------------------------------------------------------
const RigFault* RigMainGrid::findFaultFromCellIndexAndCellFace(size_t reservoirCellIndex, cvf::StructGridInterface::FaceType face) const
{
CVF_ASSERT(m_faultsPrCellAcc.notNull());
int faultIdx = m_faultsPrCellAcc->faultIdx(reservoirCellIndex, face);
if (faultIdx != RigFaultsPrCellAccumulator::NO_FAULT )
{