Commit Graph

6944 Commits

Author SHA1 Message Date
Joakim Hove
0fb55b23c0
Merge pull request #1056 from joakim-hove/field-properties
Add FieldProps skeleton
2019-10-31 11:36:29 +01:00
Joakim Hove
64095f0885 Create default FieldPropsManager - for the testing phase 2019-10-31 11:18:55 +01:00
Joakim Hove
a7187abc17 Initial implementation of 3D properties 2019-10-31 11:18:55 +01:00
Joakim Hove
18eb7a2de3 Check if have grid before fault initialization 2019-10-31 11:18:54 +01:00
Joakim Hove
176e7f75ed Add Python library to opm-common_LIBRARIES cmake variable 2019-10-31 07:07:07 +01:00
Joakim Hove
abe2013624
Merge pull request #1182 from stefoss23/add_keyword_N1
Added keywords beginning with N, O, P.
2019-10-30 23:34:40 +01:00
Markus Blatt
bea4a81a3c
Merge pull request #1176 from blattms/changelog-2019.10
Added entries to changelog concerning 2019.10 release
2019-10-30 21:51:53 +01:00
Steinar Foss
78a37d2a33 added keywords beginning with N, O, P.
added keywords NODPPM, NOHMD, NOHMO.

added keywords NOHYST, NOWARNEP, NRSOUT.

added keywords NWATREM, NXFIN, NYFIN, NZFIN.

added keywords OFM, OILAPI, OLDTRAN, OLDTRANR.

added keywords PARTTRAC, PBUB, PCW.

added keywords PDEW, PEBI, PECOEFS.

removed keyword NEWTON.

added keywords PEDIMS, PEGTABX.

added keywords PEKTABX, PENUM, PERMAVE.

added keywords PETGRID, PICOND.
2019-10-30 15:37:14 +01:00
Joakim Hove
290368985a Add size() method to EclFile 2019-10-30 09:31:10 +01:00
Joakim Hove
292d00417c
Merge pull request #1166 from joakim-hove/parsetest-model2-decks
Add parse testing of model2 decks
2019-10-30 07:40:20 +01:00
Joakim Hove
92188eea8a
Merge pull request #1167 from stefoss23/add_keyword
Add keyword, python deck
2019-10-29 16:54:22 +01:00
Joakim Hove
8a36be210b Add bullet point about Eclipse restart capabilities 2019-10-29 16:32:08 +01:00
Markus Blatt
28b2b437c8 Skipped python and restart in changelog 2019-10-29 16:24:55 +01:00
Arne Morten Kvarving
f494df4f3d
Merge pull request #1178 from akva2/fix_rebuild_on_install
fixed: let's not copy the files twice
2019-10-29 15:17:28 +01:00
Arne Morten Kvarving
95a129cbed fixed: let's not copy the files twice 2019-10-29 14:59:08 +01:00
Joakim Hove
d465409acf
Merge pull request #1177 from joakim-hove/install-copy-on-change
Only copy python files when they have changed
2019-10-29 13:57:54 +01:00
Joakim Hove
7e3c34c682 Only copy python files when they have changed 2019-10-29 12:34:46 +01:00
Markus Blatt
21673903dd Added entries to changelog concerning 2019.10 release 2019-10-29 10:40:04 +01:00
Joakim Hove
fd3b6f8999
Merge pull request #1174 from bska/record-restart-output
Record Output of Restart File Data
2019-10-29 08:21:34 +01:00
Joakim Hove
6894aaf03b
Merge pull request #1173 from joakim-hove/python3
Python3
2019-10-29 08:07:22 +01:00
Bård Skaflestad
023333936c Record Output of Restart Files in .PRT File (and to screen)
This commit adds a simple one-line record to the screen and,
typically, the .PRT file, each time a set of restart values are
output to the (or a) restart file.  Format of the output is along
the lines of

  Restart file written for report step: 169/247.  Date: 2003/09/13
2019-10-28 23:32:33 -05:00
Bård Skaflestad
d19f9d6899 INTEHEAD: Promote Day, Month, Year to Public Indices
This commit makes the (Day, Month, Year) indices of the restart
file's INTEHEAD vector to the publicly available VectorItems.  This,
in turn, makes the entries more readily accessible outside of
InteHEAD.cpp.
2019-10-28 23:27:39 -05:00
Joakim Hove
9d1b7a83d9 Changes in Python build:
- Use python/install.py to copy from source tree to build tree
- List Cxx source files in CMakeLists_files.cmake
2019-10-28 21:42:57 +01:00
Joakim Hove
99e32edd78 Use try: except: to import test utility code 2019-10-28 20:30:39 +01:00
Joakim Hove
d382c57145 Add small python script to determine extension suffix 2019-10-28 20:30:39 +01:00
Markus Blatt
e9367d5116
Merge pull request #1171 from akva2/update_rh_packaging
update redhat packaging
2019-10-28 11:58:37 +01:00
Arne Morten Kvarving
e15d8eea4a update redhat packaging 2019-10-28 11:36:57 +01:00
Joakim Hove
4e8a0eac9f
Merge pull request #1170 from bska/resolve-asan-issues
Resolve Address Sanitizer Issues
2019-10-27 23:25:30 +01:00
Joakim Hove
baf4f7fbac
Merge pull request #1168 from stefoss23/add_keywords_N
added keywords beginning w/ N.
2019-10-27 16:12:50 +01:00
Bård Skaflestad
3ad7771306 EclipseState Unit Test: Don't Leak Memory
The construction

    Parser parser(new Parser{})

effectively ends up calling the constructor

    Parser::Parser(bool)

which, besides leaking memory, is typically not what we want.
2019-10-26 18:22:52 -05:00
Bård Skaflestad
2558320aa3 UDQ Unit Test: Don't Create Dangling References
This fixes an issue identified by Address Sanitizer.
2019-10-26 18:18:38 -05:00
Bård Skaflestad
3b9ea5dcd8 Consume Owning Raw Pointers in Smart Pointers
This fixes several memory leaks identified by Address Sanitizer.
2019-10-26 18:17:19 -05:00
Bård Skaflestad
50460ec8de Don't Leak Memory in case of Exceptions
Wrap the internal 'WellConnections' pointer of function

    newConnectionsWithSegments

in a unique_ptr that will release the memory if an exception is
thrown--e.g., from the error guard.

This function should arguably return a unique_ptr rather than a raw
pointer.
2019-10-26 18:02:39 -05:00
Bård Skaflestad
0e39b03f3f Don't Use ACTNUM Unless Correctly Sized
We must explicitly check that the deck supplies a correctly sized
ACTNUM vector before using its .data() pointer.  Otherwise, we risk
indexing out of bounds.

This fixes an ASan error in a unit test

While here, also remove stray semicolons on function closing braces.
2019-10-26 17:59:44 -05:00
Steinar Foss
cc11890e31 added keywords beginning w/ N.
added keywords NETWORK, NEWTON.

added keywords NEXT, NEXTSTPL, NINENUM.
2019-10-26 12:32:57 +02:00
Steinar Foss
0e1e9b7ac7 test EmbeddedPython: added test for add keyword to deck. 2019-10-25 17:15:56 +02:00
Joakim Hove
d217bdf458 Add parse testing of model2 decks 2019-10-25 14:43:19 +02:00
Steinar Foss
576ddd4987 python deck: added member add(keyword). 2019-10-25 14:11:52 +02:00
Joakim Hove
390a29d425
Merge pull request #1164 from stefoss23/deckkeyword_vector_unit
DeckKeyword w/ vectors: takes numpy vectors.
2019-10-25 12:07:34 +02:00
Joakim Hove
0fb92e9121
Merge pull request #1157 from joakim-hove/udq-token-types
Udq token types
2019-10-25 11:58:08 +02:00
Steinar Foss
02cc292f38 python numpy array conversion function in namespace conv ert. 2019-10-25 11:06:12 +02:00
Joakim Hove
a6db850230
Merge pull request #1165 from joakim-hove/python-testdata-path
Python testdata path
2019-10-25 10:54:24 +02:00
Joakim Hove
5ec24199de
Merge pull request #1163 from joakim-hove/python-test-main
Python test main
2019-10-25 10:38:56 +02:00
Joakim Hove
78b32803ff
Merge pull request #1162 from joakim-hove/python-enable
Minor change to python enable script
2019-10-25 10:00:23 +02:00
Joakim Hove
e51b14f6fd Use utility function for path to testdata 2019-10-25 09:57:38 +02:00
Steinar Foss
ce3781775f DeckKeyword w/ vectors: takes unit system as arg.
DeckKeyword w/ vector: added unit as arg.

DeckKeyword vector works with units.

DecValuetests: use zcorn instead of poro.

python: deckkweyword works with int data.

...

python deckkeyword. cant init with double array.

moved numpy_array converters to converters.hpp.
2019-10-25 09:31:03 +02:00
Joakim Hove
2fb3ce4957 Add if __name__ == "__main__" in Python test 2019-10-25 09:14:25 +02:00
Joakim Hove
622409bfb6 White space change 2019-10-25 09:14:15 +02:00
Joakim Hove
464cf6a51f
Merge pull request #1068 from GitPaean/fixing_aquifer
improvements related to Aquifer modeling
2019-10-25 09:01:19 +02:00
Joakim Hove
162d0e0902 Minor change to python enable script 2019-10-25 08:54:40 +02:00