mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-30 09:00:20 -05:00
Refactor: use RigBoundingBoxIjk in RigActiveCellInfo.
This commit is contained in:
1 parent
11dfdc2c21
commit
e681b4603a
12 files changed
+81
-68
No files matched your search
@@ -138,8 +138,8 @@ caf::PdmScriptResponse RicfCreateMultipleFractures::execute()
|
||||
if ( feature && ( topLayer < 0 || baseLayer < 0 ) )
|
||||
{
|
||||
auto ijkRange = feature->ijkRangeForGrid( gridCase );
|
||||
if ( topLayer < 0 ) topLayer = static_cast<int>( ijkRange.first.z() );
|
||||
if ( baseLayer < 0 ) baseLayer = static_cast<int>( ijkRange.second.z() );
|
||||
if ( topLayer < 0 ) topLayer = static_cast<int>( ijkRange.min().z() );
|
||||
if ( baseLayer < 0 ) baseLayer = static_cast<int>( ijkRange.max().z() );
|
||||
}
|
||||
options->setValues( topLayer, baseLayer, fractureTemplate, m_spacing );
|
||||
|
||||
|
||||
Reference in new issue
Block a user