Common components for OPM, in particular build system (cmake).
Go to file
Bård Skaflestad 3eef45e87d Capture Preferred Phase When Processing WELPI Keyword
This is to handle the case of an injector changing its injected (and
therefore preferred) phase (e.g., in WCONINJE or WCONINJH) at the
same report step as a WELPI CTF rescaling, but logically after the
WELPI action is applied.

For instance, this happens in the following setup:

    WCONINJH
       INJ2   WATER   OPEN  5500 /
    /

    DATES
      1 'JAN' 2020 /
    /

    WELPI
      'INJ2' 0.1E5 /
    /

    WCONINJH
       INJ2   GAS   OPEN   701627 /
    /

    DATES
      1 'FEB' 2020 /
    /

In this case, the WELPI for 'INJ2' is supposed to be interpreted as
the water-phase PI (preferred phase is 'WATER' when we read WELPI),
but since the injecting phase is reset to 'GAS' at the same report
step we risk misinterpreting the PI as pertaining to the 'GAS' phase
when calculating the well's effective/dynamic PI in the simulator if
we just use Well::getPreferredPhase().

Switch the the well's input PI from an optional<double> to an
optional<struct> that captures both the input PI value (SI units)
and the preferred phase when processing the WELPI data.  Provide a
way to query that information from the simulator and update unit
tests accordingly.
2020-10-19 11:09:00 +02:00
cmake Only compile code if non-empty code was submitted for DUNE/OPM. 2020-08-11 00:53:45 +02:00
debian Remove use fmtlib package from build system 2020-09-18 11:19:41 +02:00
docs Clean up item names in json for WCONHIST 2020-01-16 13:45:02 +01:00
etc tab completors: be quiet even if the which command would like to complain 2019-03-07 09:33:15 +01:00
examples adding the following aquifer summary keywords 2020-10-02 13:18:51 +02:00
external Embed fmtlib source code 2020-09-18 11:23:30 +02:00
jenkins jenkins: Enable building of Python extension in opm-simulators 2020-03-09 14:31:10 +01:00
msim Prepare for Creating Network-Level Summary Output 2020-09-20 17:46:01 +02:00
opm Capture Preferred Phase When Processing WELPI Keyword 2020-10-19 11:09:00 +02:00
python Add SummaryState functions has_well_var() and has_group_var() 2020-10-15 13:01:52 +02:00
redhat Remove use fmtlib package from build system 2020-09-18 11:19:41 +02:00
src/opm Capture Preferred Phase When Processing WELPI Keyword 2020-10-19 11:09:00 +02:00
test_util Compare string and integere members from well using RestartIO data 2020-10-12 10:11:07 +02:00
tests Capture Preferred Phase When Processing WELPI Keyword 2020-10-19 11:09:00 +02:00
.clang-format Add .clang-format specification. 2019-09-18 14:15:21 +02:00
.gitignore Sunbeam will be compiled with setuptools. 2019-08-09 10:40:33 +02:00
.gitmodules removed submodules pycmake and pybind11. 2019-06-14 14:32:08 +02:00
changelog.md Add bullet point about Eclipse restart capabilities 2019-10-29 16:32:08 +01:00
CMakeLists_files.cmake Merge pull request #2026 from joakim-hove/multflt-messages 2020-10-16 16:02:09 +02:00
CMakeLists.txt changed: mark libfmt headers as system to avoid warnings 2020-09-23 14:05:50 +02:00
CopyHeaders.cmake Refactored generated keyword test to reduce compilation time 2020-01-02 15:27:54 +01:00
dune.module Bump version number 2020-05-28 16:50:26 +02:00
ExtraTests.cmake Enable rst testing with MSW data 2020-03-28 08:58:14 +01:00
GenerateKeywords.cmake Mkae sure fmtlib is not a dependency in the public api 2020-09-30 18:17:57 +02:00
LICENSE Initial commit 2015-03-18 01:59:50 -05:00
opm-common-prereqs.cmake Also remove fmtlib from opm-common-prereqs.cmake 2020-09-21 15:46:01 +02:00
README.md remove travis build status from README.md 2018-01-04 12:07:46 +01:00

opm-common

Contains common components used throughout all of OPM, in particular CMake modules for the build system.