Bård Skaflestad 2d3fe6061e Revise Branch Discovery Order for MSW Output
This commit places more conditions on the branch discovery order
than the previous work in commit 6d3ee57dd.  In particular, we now
ensure that branches are discovered ("created") in the order of
increasing segment number of the branch outlet segment.
Furthermore, if multiple branches have the same outlet segment, then
we sort those branches on their increasing branch IDs.

To this end, switch from using a std::queue<int> to using a
std::priority_queue<KickOffPoint>, with the KickOffPoint being a
custom structure holding the kick-off segment, the branch outlet
segment, and the branch ID and a custom operator<() to plug into the
priority_queue<> heap mechanism.

This new sort order changes the result of certain unit tests, but
those changes are expected and desired.
2023-11-24 16:01:46 +01:00
2023-05-04 09:48:03 +02:00
2023-05-09 11:53:20 +02:00
2023-10-04 10:44:49 +02:00
2023-10-11 21:20:51 +02:00
2023-03-17 14:26:26 +01:00
2015-03-18 01:59:50 -05:00
2022-01-12 15:14:36 +01:00

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
Common components for OPM, in particular build system (cmake).
Readme 74 MiB
Languages
C++ 79%
ECL 13.4%
Scheme 3.1%
CMake 2.4%
Python 1%
Other 1%