Commit Graph

343 Commits

Author SHA1 Message Date
Sveinung Styve Rundhovde (IT SI SIB)
72a08beb39 Add WGPRS+WGPRF keywords 2017-11-17 09:36:05 +01:00
Lars Petter Øren Hauge
1e776429f5 Add GGPRS+GGPRF keywords 2017-11-15 12:02:42 +01:00
Lars Petter Øren Hauge
0695ac5894 Add dissolved_gas to Rates 2017-11-15 12:02:42 +01:00
Joakim Hove
198037d7fc Merge pull request #207 from joakim-hove/extract-schdeule
Extract Schedule and SummaryConfig.
2017-11-06 17:05:58 +01:00
Andreas Lauser
e3920a861c remove unused travis files
these have not been used for a while. .travis.yml and the files in opm-common/travis/ are in charge
2017-10-14 12:33:24 +02:00
Andreas Lauser
7b1ff93fa4 replace #if HAVE_CONFIG_H by #ifdef HAVE_CONFIG_H
it seems like most build systems pass a -DHAVE_CONFIG_H flag to the
compiler which still causes `#if HAVE_CONFIG_H` to be false while it
clearly is supposed to be triggered.

That said, I do not really see a good reason why the inclusion of the
`config.h` file should be guarded in the first place: the file is
guaranteed to always available by proper build systems, and if it was
not included the build either breaks at the linking stage or -- at the
very least -- the runtime behavior of the resulting libraries will be
very awkward.
2017-10-14 12:33:24 +02:00
Andreas Lauser
46b00ffc03 delete the bit-rotten EclipseReader.cpp
it do not even build because it the "EclipseGridInspector.hpp" header
file is nowhere to be seen. I'm deleting this file outright because if
this functionallity ought to be revived, the code can be brought back
from the annals of git.
2017-10-14 12:33:24 +02:00
Joakim Hove
21a2944885 Extract Schedule and SummaryConfig. 2017-10-03 09:29:25 +02:00
Joakim Hove
a8f07228ce Using correct grid in restore_wells. 2017-10-02 08:58:31 +02:00
Joakim Hove
9a0e8a40ba Updated SummaryConfig constructor call. 2017-09-26 14:01:09 +02:00
Alf Birger Rustad
9919525c79 Merge pull request #201 from joakim-hove/rft-open-file
Make sure RFT file is opened in correct mode.
2017-09-11 09:02:13 +02:00
Joakim Hove
896f806492 Make sure RFT file is opened in correct mode. 2017-09-10 22:56:40 +02:00
Tor Harald Sandve
c96f1cd6ca Fix RPR summary output
- weight RPR by hydrocarbon pore volume
2017-09-06 12:47:10 +02:00
Atgeirr Flø Rasmussen
a70dbddfa4 Merge pull request #198 from blattms/allow-to-overwrite-initial-oip
Allow simulator to overwrite initial OIP value.
2017-08-01 16:15:53 +02:00
Joakim Hove
23e3bd8d4b Using Schedule::getWells( group, time_step)
When evaluating a group variable, like e.g. GOPR we need to traverse the
group tree all the way down to the leaf nodes, i.e. wells.
2017-07-26 09:24:48 +02:00
Markus Blatt
9f5dd5738d Allow simulator to overwrite initial OIP value.
Up to now we assumed that if there is interest in the
initial OIP value (e.g. to calculate FOE) then oip has
to be presented to EclipseWriter during the call of
writeInitial. For the downstream simulators OIP is
not available at this stage. This commit gives the simulator
the possibility to overwrite/reset the values later and
allows the current implementations to let output calculate
and output FOE.
2017-07-19 21:37:22 +02:00
Joakim Hove
9ffc7ebab2 Will insert RESTART header in summary files. 2017-06-30 10:22:42 +02:00
Joakim Hove
cf67d56dba Dsiable test when running travis. 2017-06-10 11:19:31 +02:00
Arne Morten Kvarving
2a3afbe846 initialize values to avoid maybe-unitialize-use-warnings 2017-06-09 12:11:35 +02:00
Arne Morten Kvarving
0b68a2f69e changed: make RestartValue constructor explicit
update code which previously relied on the implicit cast
2017-06-09 11:57:48 +02:00
Arne Morten Kvarving
ca8d18386c disable unused private method 2017-06-08 17:17:55 +02:00
Arne Morten Kvarving
f7a2d10d82 reduce scope of variables 2017-06-08 17:17:38 +02:00
Arne Morten Kvarving
9fbda39404 pass by reference 2017-06-08 17:16:39 +02:00
Arne Morten Kvarving
bc3eac293f make constructors explicit 2017-06-08 17:15:38 +02:00
Arne Morten Kvarving
8a90f30ed8 add (default) constructor to Rates 2017-06-08 17:14:33 +02:00
Arne Morten Kvarving
fe4d8e5dde remove unused variables 2017-06-08 17:14:15 +02:00
Joakim Hove
9120c67cf8 Ability to pass misc values to summary writer. 2017-06-06 15:40:34 +02:00
Joakim Hove
ac70c34c68 Write (incorect) TCPU value to summary files. 2017-05-30 06:33:46 +02:00
Joakim Hove
976a963f7a Explicitly added REGDIMS to test deck. 2017-05-26 00:40:57 +02:00
Joakim Hove
55cca82d91 Merge pull request #186 from joakim-hove/trvis-cmake
Using ppa for newer version of cmake in travis.
2017-05-18 12:06:14 +02:00
Joakim Hove
20bf8569ed Using ppa for newer version of cmake in travis. 2017-05-18 10:47:41 +02:00
Tor Harald Sandve
5ca412291a Add tests for FPR 2017-05-10 13:38:38 +02:00
Tor Harald Sandve
01c56deb3f PV weight FPR 2017-05-10 10:03:31 +02:00
Joakim Hove
7a0a230282 Merge pull request #181 from atgeirr/silence-warnings
Silence warnings
2017-04-26 15:11:58 +02:00
Markus Blatt
d50ccf507d Fixes some problems with option parsing.
Namely, that m requires an argument and not n as indicated to
getopt. This caused the help message to be printed whenever users
did not want exceptions to be thrown.

Additionally we fix the error message for options that need an argument
but do not get one.
2017-04-19 15:14:25 +02:00
Atgeirr Flø Rasmussen
cf0a572977 Remove unused function arguments. 2017-04-12 10:33:00 +02:00
Atgeirr Flø Rasmussen
4e11ce151a Silence sign mismatch errors. 2017-04-12 10:32:37 +02:00
Atgeirr Flø Rasmussen
ada3e302b8 Silence shadowing warnings. 2017-04-12 10:31:53 +02:00
Atgeirr Flø Rasmussen
d5faef5aba Remove unused function. 2017-04-12 10:05:12 +02:00
Joakim Hove
621b94235c RestartIO::load( ) can specifiy optional keys. 2017-04-11 14:35:10 +02:00
Joakim Hove
368e63c0ed Revert "Made extra data support also float data"
This reverts commit 14052f9691e95bbe2886750ac3f356d6de86c1ad.
2017-04-11 13:03:50 +02:00
babrodtk
8a93d918be Made extra data support also float data 2017-04-07 16:14:18 +02:00
Joakim Hove
c65dadaa07 Merge pull request #176 from joakim-hove/data-type-changes
Change in ert data_type for ecl_kw.
2017-04-03 13:21:35 +02:00
Joakim Hove
01f43dc6ca Change in ert data_type for ecl_kw. 2017-03-25 21:23:07 +01:00
Joakim Hove
010404ed8f Travis: apt-get install bc 2017-03-21 19:56:13 +01:00
Joakim Hove
ace3e10ac5 RestartIO::load extra keys can be marked optional. 2017-03-09 14:49:34 +01:00
Joakim Hove
3d2a0a6368 Changes to restart IO.
- Will throw an exception if solution data has wrong size.
 - struct ResatrtValue used as RestartIO::load( ) return value.
 - RestartIO can take arbitrary double vectors as extra data.
2017-03-03 08:21:44 +01:00
Joakim Hove
00d7f7e155 Added ability to save restart fields in double. 2017-02-22 18:24:10 +01:00
Joakim Hove
c0aa0ccf6c Added no-crash well load test to file comparator. 2017-02-17 15:57:06 +01:00
Joakim Hove
46d92517f7 Added well load test to restart testing. 2017-02-17 15:17:08 +01:00