mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 09:22:13 -05:00
Fault Reactivation Model: Remove unused cell index adjustment.
This commit is contained in:
1 parent
fcf565e541
commit
9fc380dd5f
9 files changed
+7
-72
No files matched your search
+2
-2
@@ -88,7 +88,7 @@ double RimFaultReactivationDataAccessorVoidRatio::valueAtPosition( const cvf::Ve
|
||||
{
|
||||
if ( ( m_mainGrid != nullptr ) && m_resultAccessor.notNull() )
|
||||
{
|
||||
auto cellIdx = findAdjustedCellIndex( position, m_mainGrid, m_cellIndexAdjustment );
|
||||
auto cellIdx = m_mainGrid->findReservoirCellIndexFromPoint( position );
|
||||
if ( cellIdx != cvf::UNDEFINED_SIZE_T )
|
||||
{
|
||||
double porosity = m_resultAccessor->cellScalar( cellIdx );
|
||||
@@ -107,7 +107,7 @@ double RimFaultReactivationDataAccessorVoidRatio::valueAtPosition( const cvf::Ve
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimFaultReactivationDataAccessorVoidRatio::hasValidDataAtPosition( const cvf::Vec3d& position ) const
|
||||
{
|
||||
auto cellIdx = findAdjustedCellIndex( position, m_mainGrid, m_cellIndexAdjustment );
|
||||
auto cellIdx = m_mainGrid->findReservoirCellIndexFromPoint( position );
|
||||
if ( cellIdx == cvf::UNDEFINED_SIZE_T ) return false;
|
||||
|
||||
double value = m_resultAccessor->cellScalar( cellIdx );
|
||||
|
||||
Reference in new issue
Block a user