mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-24 22:27:55 -05:00
#13411 Sector Model Export: crop data keywords inside BOX/ENDBOX to sector intersection
Data keywords (PORO, EQLNUM, etc.) inside BOX/ENDBOX contain values for the sub-box only. When BOX coordinates are transformed to sector coordinates, the data size must match the transformed box dimensions. Crop boxed data keywords to the intersection of the BOX region with the sector, preserving the BOX/ENDBOX structure in the exported deck. If the box does not intersect the sector, the data keyword is removed.
This commit is contained in:
1 parent
ff1018a65f
commit
fce37b8fdb
4 files changed
+1147
-6
No files matched your search
@@ -102,6 +102,12 @@ public:
|
||||
|
||||
static std::vector<int> createRefinedVisibility( const RigGridExportAdapter& gridAdapter );
|
||||
|
||||
static void expandBoxContextInDeckFile( RifOpmFlowDeckFile& deckFile );
|
||||
static void cropDataKeywordsInsideBoxContext( RifOpmFlowDeckFile& deckFile,
|
||||
const caf::VecIjk0& sectorMin,
|
||||
const caf::VecIjk0& sectorMax,
|
||||
const cvf::Vec3st& refinement );
|
||||
|
||||
// Public EDITNNC methods for testing
|
||||
static std::vector<NNCConnection> extractDeckEditNncConnections( RifOpmFlowDeckFile& deckFile, const RigMainGrid& mainGrid );
|
||||
static std::vector<NNCConnection> filterInternalSectorConnections( const std::vector<NNCConnection>& allConnections,
|
||||
|
||||
Reference in new issue
Block a user