Commit Graph

10300 Commits

Author SHA1 Message Date
Joakim Hove
f1c3c66996
Merge pull request #2461 from atgeirr/add-missing-include
Add missing <sstream> include.
2021-05-06 15:45:24 +02:00
Joakim Hove
e2572ed89e
Merge pull request #2460 from joakim-hove/clear-events
Add clearEvent() method to consume events
2021-05-06 15:45:09 +02:00
Joakim Hove
b21fd3e3e8 Make sure precision is retained in very small default values 2021-05-06 15:33:21 +02:00
Atgeirr Flø Rasmussen
d3c32d1906 Add missing <sstream> include. 2021-05-06 11:34:47 +02:00
Bård Skaflestad
25db0ec1db
Merge pull request #2458 from joakim-hove/mapaxes
Mapaxes
2021-05-05 20:33:17 +02:00
Joakim Hove
05fee1fd12 Add small class to handle MAPAXES & MAPUNITS 2021-05-05 16:09:58 +02:00
Joakim Hove
4372354174
Merge pull request #2361 from bska/dont-copy-wells-for-smry-eval
Don't Copy Well Objects During Summary Vector Evaluation
2021-05-05 16:07:23 +02:00
Joakim Hove
881da80e96 Add clearEvent() method to consume events 2021-05-05 13:40:50 +02:00
Joakim Hove
6509da9b66
Merge pull request #2459 from akva2/no_opm_in_opm
fixed: do not use Opm:: prefix when inside namespace Opm
2021-05-05 13:10:49 +02:00
Arne Morten Kvarving
978150d78f fixed: do not use Opm:: prefix when inside namespace Opm
this is at best bad practice and can lead to confusing
errors because compiler will interpret it as Opm:: if there
is no 'foo' symbol available in the Opm namespace and give
confusing 'no symbol Opm::Opm::foo' error messages.
2021-05-05 09:43:07 +02:00
Bård Skaflestad
3a5934a09e Don't Copy Well Objects During Summary Vector Evaluation
This commit makes the 'find_wells()' helper function return a vector
of (const) Well pointers instead of fully fledged Well objects.
This, in turn, eliminates quite a bit of the overhead of evaluating
well-based summary vectors (i.e., well, group, field, and connection
level vectors).
2021-05-04 13:17:52 +02:00
Joakim Hove
6650369970 Fix dimension handling for MAPAXES / MAPUNITS 2021-05-04 13:15:40 +02:00
Joakim Hove
2ca78faf3c Configure MAPAXES as DATA keyword to enable loading from IMPORT 2021-05-04 13:15:40 +02:00
Joakim Hove
2da2b28159
Merge pull request #2457 from joakim-hove/remove-get-mapaxes
Remove getMAPAXES from EclipseGrid public api
2021-05-04 13:14:54 +02:00
Joakim Hove
a093251235 Remove unused mapaxes argument in constructor / init 2021-05-04 10:39:48 +02:00
Joakim Hove
d3f2f593eb Remove public method EclipseGrid::getMAPUNITS() 2021-05-04 07:48:23 +02:00
Joakim Hove
a6d574581d Remove getMAPAXES from EclipseGrid public api 2021-05-03 15:19:47 +02:00
Joakim Hove
507242c9e7
Merge pull request #2452 from bska/fix-gaslift-restart
Don't Output Gas Lift Parameters Unless Active
2021-05-03 12:45:28 +02:00
Bård Skaflestad
c76f1364c2 Don't Output Gas Lift Parameters Unless Active
This commit checks that gas lift is active before outputting a
positive value in INTEHEAD[EACHNC].  Unless gas lift is activated
through keyword LIFTOPT, that item in INTEHEAD must be zero.
2021-05-02 00:17:05 +02:00
Arne Morten Kvarving
04622a13a5
Merge pull request #2456 from blattms/fix-cmake-package-config
Include OpmPackage in opm-project-config.cmake and force -std=c++17
2021-04-30 11:11:32 +02:00
Bård Skaflestad
efcb8d9c00
Merge pull request #2454 from akva2/fix_missing_include
fixed: include <stdexcept> in RFTConfig.cpp
2021-04-29 20:34:36 +02:00
Markus Blatt
ddfe309a88 Use current CMAKE_CXX_STANDARD in opm-project-prereq.cmake 2021-04-29 16:03:59 +02:00
Markus Blatt
7740e00883 Removed code for CMake < 3.10 2021-04-29 16:03:21 +02:00
Markus Blatt
f336cd1b74 Include OpmPackage in opm-project-config.cmake and force -std=c++17
OpmPackage is needed as it defines find_package_deps. The CXX standard
needs to be set as some cmake package config scripts will add
incompatible compile switches like -std=gnu++11 otherwise (I guess
because of import targets with INTERFACE_COMPILE_FEATURES), that will
break the build.
2021-04-29 14:07:59 +02:00
Arne Morten Kvarving
63f336c931 fixed: include <stdexcept> in connection.cpp 2021-04-29 13:24:37 +02:00
Arne Morten Kvarving
bb164e2dd0 fixed: include <stdexcept> in RFTConfig.cpp 2021-04-29 12:40:58 +02:00
Bård Skaflestad
98a2d1b8a3
Merge pull request #2449 from akva2/fix_missing_include
fixed: include <limits> in TranCalculator
2021-04-29 12:12:53 +02:00
Arne Morten Kvarving
8753bef383 fixed: include <limits> in TranCalculator
also forward struct as struct
2021-04-29 10:26:35 +02:00
Joakim Hove
c05ea0fe21
Merge pull request #2441 from akva2/use_forwarding
Use forwarding
2021-04-27 19:30:04 +02:00
Joakim Hove
da6df3cc87
Merge pull request #2444 from joakim-hove/actions-wait-time-equal
ActionX wait time compared with =>
2021-04-27 16:17:30 +02:00
Arne Morten Kvarving
b063fcd089 remove some unnecessary includes
from tests and a few schedule classes
2021-04-27 12:55:45 +02:00
Arne Morten Kvarving
bc3863912f BoxTests: fix test suite name 2021-04-27 12:55:45 +02:00
Arne Morten Kvarving
b968cd7d95 SummaryState: move forwarding to fix doxy 2021-04-27 12:55:45 +02:00
Arne Morten Kvarving
058b41e7d7 RFTConfig: remove unnecessary include 2021-04-27 12:55:45 +02:00
Arne Morten Kvarving
43dfdd4d2d UDQContext: forward types to avoid includes 2021-04-27 12:55:45 +02:00
Arne Morten Kvarving
4fe78a0424 LogUtil: forward types to avoid includes 2021-04-27 12:55:45 +02:00
Arne Morten Kvarving
b51779b6f8 UDQSet: forward types to avoid includes 2021-04-27 12:55:45 +02:00
Arne Morten Kvarving
1ff9cf93aa Connection: forward types to avoid includes 2021-04-27 12:55:45 +02:00
Arne Morten Kvarving
bc633fb09a UDQConfig: forward types to avoid includes 2021-04-27 12:55:45 +02:00
Arne Morten Kvarving
0dd63e4f84 SICD/AutoICD: forward types to avoid includes
move helper template to separate private header to avoid
use of symbols in header
2021-04-27 12:55:45 +02:00
Arne Morten Kvarving
9876a73a53 Well: forward types to avoid includes 2021-04-27 12:45:24 +02:00
Arne Morten Kvarving
cd7a12ce48 WellConnections: forward types to avoid includes 2021-04-27 12:45:24 +02:00
Arne Morten Kvarving
c407618375 Schedule: forward types to avoid includes
move constructor definition to compile unit
to avoid symbol usage in header
2021-04-27 12:45:24 +02:00
Arne Morten Kvarving
1ef8fd987b JFunc: forward types to avoid includes 2021-04-27 12:45:24 +02:00
Arne Morten Kvarving
b835c33c1a TableManager: forward types to avoid includes
move private template definitions to compile unit
to avoid using symbol definitions in header
2021-04-27 12:45:24 +02:00
Arne Morten Kvarving
2e5554598d RSTConfig: forward types to avoid includes 2021-04-27 12:45:24 +02:00
Arne Morten Kvarving
35c20318f4 RPTConfig: forward types to avoid includes 2021-04-27 12:45:24 +02:00
Arne Morten Kvarving
b9e8f01862 GConSale: forward types to avoid includes 2021-04-27 12:45:24 +02:00
Arne Morten Kvarving
c43076f598 GConSump: forward types to avoid includes 2021-04-27 12:45:24 +02:00
Arne Morten Kvarving
97eaa972c2 EclipseState: forward types to avoid includes
also clean up some unnecessary forwards, old debugging code
2021-04-27 12:45:24 +02:00