Commit Graph

418 Commits

Author SHA1 Message Date
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
Joakim Hove
cff2bacade Merge pull request #167 from joakim-hove/document-INIT
Document init
2017-02-17 10:38:58 +01:00
Joakim Hove
1446bda82c Merge pull request #168 from akva2/no_throw_init_restart
added: option to not throw on error in restart/init regression test
2017-02-16 17:25:32 +01:00
Arne Morten Kvarving
594572152a added: option to not throw on error in restart/init regression test
useful for doing a more thorough analysis of the failure
2017-02-16 15:51:11 +01:00
Joakim Hove
4889c34b2a Write NTG to INIT file. 2017-02-16 11:00:29 +01:00
Joakim Hove
b71fce3dd8 Document writeInitial. 2017-02-16 09:08:51 +01:00
babrodtk
1ec5baeb2e Fixed auxillary=>auxiliary 2017-02-15 14:50:17 +01:00
Joakim Hove
f3a4029195 Added test of require3D functionality from Summary 2017-02-07 14:40:11 +01:00
Arne Morten Kvarving
5a5d82fb86 throw runtime error if caller passes wrongly sized arrays to output 2017-02-06 14:11:56 +01:00
Joakim Hove
d0dcba2d72 Updated test-data to use active cells. 2017-02-06 14:07:16 +01:00
Arne Morten Kvarving
97a7ca3013 added: option to not throw on error in summary regression test
useful for doing a more thorough analysis of the failure
2017-02-03 09:40:54 +01:00
Arne Morten Kvarving
691e210915 added: print number of compared steps in summary tests
it will aid some scripts and is useful in either case
2017-02-02 14:54:25 +01:00
Joakim Hove
20abc2872b EclipseIO::writeTimestep ensure summary data.
Codeblocks in EclipseIO::writeTimestep( ) have been reorder to ensure
that summary data is added also for substeps.
2017-01-31 23:09:18 +01:00
Joakim Hove
d988a010ff Added INIT file output of PVTW and Density. 2017-01-27 08:35:11 +01:00
Joakim Hove
4d1693d027 Changes in the loading of restart files.
The main content of this commit is that the loading of restart files is
based on map of keys passed in from calling scope. This way the
selection of keywords to save and load is fully under control of calling
scope, but in addition there are many small refactorings:

 - The EclipseWriter class and implementation has been renamed
   EclipseIO.

 - The loading and saving of restart files has been moved to file and
   namespace RestartIO, which contains two loose functions load( ) and
   save( ).

 - The Summary() and RFT( ) data get their own copies of the data::Cells
   vector.

 - Removed some abstractions and wrrappers around C / ert
   datastructures. Using ecl_file_view when loading restart files,
   instead of bare ecl_file. Simplified opening of unified restart
   files.

 - Removed the ability to save restart keywords in double precision.
2017-01-17 16:58:56 +01:00
Joakim Hove
6ef1d909d9 Solution data::solution has SI units in Summary. 2017-01-16 10:29:31 +01:00
Joakim Hove
12b25a7baa Passing correct unit system ID when writing. 2017-01-12 08:04:13 +01:00
Joakim Hove
e2d51413ba Fix units for RS and RVwhen loading from restart. 2017-01-10 13:58:17 +01:00
Atgeirr Flø Rasmussen
91879da04e Silence various warnings. 2016-12-29 13:51:07 +01:00
jokva
4b25b7c82f Merge pull request #131 from joakim-hove/remove-unused
Remove unused files
2016-12-06 15:15:07 +01:00
Atgeirr Flø Rasmussen
af281de24c Remove writeVtkData(). 2016-12-06 09:42:34 +01:00
Joakim Hove
a2c0831836 Removed unused header file. 2016-12-05 18:49:52 +01:00
Joakim Hove
b92cecc7eb Removed writeECLData. 2016-12-05 18:49:52 +01:00
Joakim Hove
47a13e0579 Added (not run) test for PVTW. 2016-12-01 13:50:45 +01:00
Joakim Hove
72d699473a Added PVTG output. 2016-11-28 13:22:57 +01:00
Joakim Hove
180057c062 Framework for adding tables to INIT file - PVTO. 2016-11-28 10:55:33 +01:00