mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
Fault Reactivation: Remove unused methods.
This commit is contained in:
1 parent
d8dbdf01b3
commit
8375b3e934
13 files changed
-86
No files matched your search
-12
@@ -111,15 +111,3 @@ double RimFaultReactivationDataAccessorPorePressure::calculatePorePressure( doub
|
||||
{
|
||||
return gradient * 9.81 * depth * 1000.0;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimFaultReactivationDataAccessorPorePressure::hasValidDataAtPosition( const cvf::Vec3d& position ) const
|
||||
{
|
||||
auto cellIdx = m_mainGrid->findReservoirCellIndexFromPoint( position );
|
||||
if ( cellIdx == cvf::UNDEFINED_SIZE_T ) return false;
|
||||
|
||||
double value = m_resultAccessor->cellScalar( cellIdx );
|
||||
return !std::isinf( value );
|
||||
}
|
||||
Reference in new issue
Block a user