Parallelize another loop in fault calculation

This commit is contained in:
Gaute Lindkvist
2020-05-14 11:36:20 +02:00
parent c5661f3fce
commit 3a526ab555
3 changed files with 78 additions and 56 deletions

View File

@@ -351,6 +351,17 @@ bool RigGridBase::cellIJKNeighbor( size_t i, size_t j, size_t k, FaceType face,
return true;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RigGridBase::cellIJKNeighborUnguarded( size_t i, size_t j, size_t k, FaceType face, size_t* neighborCellIndex ) const
{
size_t ni, nj, nk;
neighborIJKAtCellFace( i, j, k, face, &ni, &nj, &nk );
*neighborCellIndex = cellIndexFromIJK( ni, nj, nk );
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------