f32ff866384a409929efc8a0df5189641dbad3a8
This commit replaces the data members 'nx', 'ny', and 'nz' with a copy of the GridDims object passed as an argument to the constructor. In turn, this enables using GridDims::getIJK() to compute the cell's IJK tuple from its global Cartesian index instead of implementing the same calculation locally (and incorrectly). While here, also include the layer index (K) in determining whether or not a connection is an NNC, and do this just once instead of once for each MULTREGT record. Cells (I,J,K) and (I,J,K+3) might be connected across pinched-out layers and for the purposes of MULTREGT that connection should be treated as an NNC.
opm-common: Tools for Eclipse reservoir simulation files
The Open Porous Media (OPM) software suite provides libraries and tools for modeling and simulation of porous media processes, especially for simulating CO2 sequestration and improved and enhanced oil recovery. The Eclipse file format is widely used in the reservoir simulation community. This package provides a library containing code for processing files in Eclipse format, Python binding for accessing Eclipse files and utility code used by other OPM modules (e.g. CMake modules used).
License
The library is distributed under the GNU General Public License, version 3 or later (GPLv3+).
Requirements
- C++17 compatible compiler
- CMake >= 3.10
- Posix compatibility
Description
Languages
C++
79%
ECL
13.4%
Scheme
3.1%
CMake
2.4%
Python
1%
Other
1%