mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 22:50:25 -05:00
#12957 Sector Model Export: add non-uniform refinement support to faults code path
Add RigNonUniformRefinement overloads for extractFaults and faultsKeyword, following the existing dual-overload pattern. The Vec3st overloads now delegate via fromUniform() to preserve backward compatibility. Update addFaultsToDeckFile to call effectiveRefinement() instead of refinement().
This commit is contained in:
1 parent
5d6aba0f70
commit
4aa0910db3
5 files changed
+189
-14
No files matched your search
@@ -1066,7 +1066,7 @@ std::expected<void, QString> RigSimulationInputTool::addFaultsToDeckFile( RimEcl
|
||||
|
||||
// Create FAULTS keyword using the factory
|
||||
Opm::DeckKeyword faultsKw =
|
||||
RimKeywordFactory::faultsKeyword( eclipseCase->mainGrid(), settings.min(), settings.max(), settings.refinement() );
|
||||
RimKeywordFactory::faultsKeyword( eclipseCase->mainGrid(), settings.min(), settings.max(), settings.effectiveRefinement() );
|
||||
|
||||
// Replace FAULTS keyword in GRID section
|
||||
if ( !deckFile.replaceKeyword( "GRID", faultsKw ) )
|
||||
|
||||
Reference in new issue
Block a user