mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-15 10:03:34 -06:00
Remove obsolete parameters
This commit is contained in:
parent
0c13f132fa
commit
ebde4495fb
@ -701,14 +701,8 @@ void RimEclipseCase::ensureFaultDataIsComputed()
|
|||||||
bool computeFaults = RiaApplication::instance()->preferences()->readerSettings()->importFaults();
|
bool computeFaults = RiaApplication::instance()->preferences()->readerSettings()->importFaults();
|
||||||
if ( computeFaults )
|
if ( computeFaults )
|
||||||
{
|
{
|
||||||
bool computeNncs = RiaApplication::instance()->preferences()->readerSettings()->importNNCs();
|
RigActiveCellInfo* actCellInfo = rigEclipseCase->activeCellInfo( RiaDefines::PorosityModelType::MATRIX_MODEL );
|
||||||
bool includeInactiveCells =
|
rigEclipseCase->mainGrid()->calculateFaults( actCellInfo );
|
||||||
RiaApplication::instance()->preferences()->readerSettings()->includeInactiveCellsInFaultGeometry();
|
|
||||||
|
|
||||||
rigEclipseCase->mainGrid()->calculateFaults( rigEclipseCase->activeCellInfo(
|
|
||||||
RiaDefines::PorosityModelType::MATRIX_MODEL ),
|
|
||||||
computeNncs,
|
|
||||||
includeInactiveCells );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -413,7 +413,7 @@ bool RigMainGrid::hasFaultWithName( const QString& name ) const
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
void RigMainGrid::calculateFaults( const RigActiveCellInfo* activeCellInfo, bool computeNncs, bool includeInactiveCells )
|
void RigMainGrid::calculateFaults( const RigActiveCellInfo* activeCellInfo )
|
||||||
{
|
{
|
||||||
if ( hasFaultWithName( RiaDefines::undefinedGridFaultName() ) &&
|
if ( hasFaultWithName( RiaDefines::undefinedGridFaultName() ) &&
|
||||||
hasFaultWithName( RiaDefines::undefinedGridFaultWithInactiveName() ) )
|
hasFaultWithName( RiaDefines::undefinedGridFaultWithInactiveName() ) )
|
||||||
|
@ -71,7 +71,7 @@ public:
|
|||||||
void setFaults( const cvf::Collection<RigFault>& faults );
|
void setFaults( const cvf::Collection<RigFault>& faults );
|
||||||
const cvf::Collection<RigFault>& faults() const;
|
const cvf::Collection<RigFault>& faults() const;
|
||||||
cvf::Collection<RigFault>& faults();
|
cvf::Collection<RigFault>& faults();
|
||||||
void calculateFaults( const RigActiveCellInfo* activeCellInfo, bool computeNncs, bool includeInactiveCells );
|
void calculateFaults( const RigActiveCellInfo* activeCellInfo );
|
||||||
|
|
||||||
void distributeNNCsToFaults();
|
void distributeNNCsToFaults();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user