Steinar Foss
f75c3921e5
Schedule handles keyword GCONSUMP.
...
GConSump: added and linked soruce files.
gconsump added to dynamicstate.
added handleGCONSUMP.
GConSump: add.
GConSump: has.
GConSump: get.
GConSump: added UDA values.
GConSump: added network_node.
2019-11-06 15:12:25 +01:00
Joakim Hove
810fc19ea3
Merge pull request #1196 from joakim-hove/actionresult-copy
...
Add copy constructor + contains() method to Action::Result
2019-11-04 16:07:55 +01:00
Joakim Hove
9e898055a8
Merge pull request #1185 from joakim-hove/field-properties-downstream
...
Field properties downstream
2019-11-04 16:04:21 +01:00
Joakim Hove
8c6768cc89
Merge pull request #1193 from stefoss23/gconsale
...
Adding keyword GCONSALE to Schedule.
2019-11-04 15:02:19 +01:00
Joakim Hove
450bb96c9b
Add scalar auto create for SATNUM
2019-11-04 14:51:58 +01:00
Joakim Hove
02d4e98f1f
Add WellConnections() overload which uses FieldPropsManager
2019-11-04 14:51:58 +01:00
Steinar Foss
17d11e9a60
GConSaleGroup: MaxProcedure static, simplified get and add.
2019-11-04 13:59:54 +01:00
Joakim Hove
015559b5cf
Merge pull request #1187 from joakim-hove/field-props-has
...
Add has<T>() method to FieldPropsManager
2019-11-04 13:17:06 +01:00
Joakim Hove
f33c4f749e
Add copy constructor + contains() method to Action::Result
2019-11-04 12:54:14 +01:00
Steinar Foss
d2dce88411
Adding keyword GCONSALE to Schedule.
...
added files GConSale cpp/hpp.
Schedule: adde GConSale as DynamicState.
Shcedule: added function gConSale.
added function handleGCONSALE.
GConsale: added substruct GCONSALEGroup.
GConSale: empty records added.
GConSale: all values set to zero.
GCONSALE: values stored as UDA.
GConSale: UDAValues to SI.
GConSale: max_proc parsed.
2019-11-03 11:37:28 +01:00
Tor Harald Sandve
64f4919085
Add support for item 11 and 12 in GCONINJE
2019-11-01 13:15:52 +01:00
Joakim Hove
8268c877fd
Add has<T>() method to FieldPropsManager
2019-11-01 08:13:42 +01:00
Joakim Hove
a7187abc17
Initial implementation of 3D properties
2019-10-31 11:18:55 +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
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
Steinar Foss
0e1e9b7ac7
test EmbeddedPython: added test for add keyword to deck.
2019-10-25 17:15:56 +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
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
Kai Bao
b9bc222e81
addressing reviewing comments from PR #1068
2019-10-24 23:01:34 +02:00
Kai Bao
3691c6e724
an aquifer connection need to between active and inactive cells
...
unless we specify we want to have aquifer within the inner cell of the
reservoir.
2019-10-24 22:01:28 +02:00
Joakim Hove
7e2d45cf66
Export all UDQTokens in use from UDQDefine
2019-10-24 16:51:15 +02:00
Joakim Hove
a9a7166e3d
Merge pull request #1153 from joakim-hove/move-fluxnum
...
Moved FLUXNUM to GRID section
2019-10-24 09:42:28 +02:00
Joakim Hove
0421173686
Merge pull request #1152 from joakim-hove/deckkeyword-unit
...
Deckkeyword unit
2019-10-24 08:43:18 +02:00
Joakim Hove
d7a52167f3
Moved FLUXNUM to GRID section
2019-10-24 08:39:53 +02:00
Joakim Hove
6525a7b19f
Merge pull request #1143 from joakim-hove/box-data-index
...
Add data_index to Box::index_list
2019-10-24 07:17:57 +02:00
Steinar Foss
d05b3323b3
DeckKeyword: constr. with records takes unitsystem args.
...
Deckkeyword constr w/ records also takes unit_systems.
DeckKeyword w/ records uses input args to get dims.
DeckValue unit system works w/ records.
Deckkeyword w/ records: rearranged default/active unit args.
..
python deckkeywords: workable.
python deckkeyword: testing rewrite.
python deckkeyword w/units: most test work.
...
python support for deckkeyword w/ dimensions.
2019-10-24 07:13:31 +02:00
Steinar Foss
1a8e9979d8
BOX keyword: using defaultApplied.
...
moved failed box-test from python to cpp.
setKeywordBox: using defaultApplied rather than hasvalue.
EclipseStateTEsts. TextBox: use 1* instead of *.
corrected box_bug.
2019-10-23 15:47:25 +02:00
Joakim Hove
cadadbde4d
Merge pull request #1145 from joakim-hove/properties-testdata
...
Properties testdata
2019-10-22 17:18:48 +02:00
Joakim Hove
1af3ab2008
Merge pull request #1142 from joakim-hove/multz-edit
...
Multiply MULT(XYZ) keywords in the EDIT section
2019-10-22 08:24:32 +02:00
Joakim Hove
f81a84da42
Update testdata for a stricter 3D property parser
...
- Keywords should have correct number of elements
- Should be in the correct section
2019-10-22 08:23:00 +02:00
Joakim Hove
2f8916392c
Merge pull request #1144 from GitPaean/converting_aquifer_test_unix
...
converting AquanconTests.cpp to be unix format.
2019-10-21 18:27:19 +02:00
Kai Bao
18564a465c
converting AquanconTests.cpp to be unix format.
2019-10-21 17:00:12 +02:00
Joakim Hove
1ad4a03ac1
Add data_index to Box::index_list
2019-10-21 15:45:39 +02:00
Joakim Hove
5741ff8034
Multiply MULT(XYZ) keywords in the EDIT section
2019-10-21 11:53:09 +02:00
Joakim Hove
781ced7294
Use struct Location to record file position for keywords
2019-10-17 23:57:01 +02:00
Joakim Hove
2be6235ab7
Add small struct DeckKeyword::Location to simplify error reporting
2019-10-17 23:56:34 +02:00
Joakim Hove
8bed569f7e
Merge pull request #1021 from joakim-hove/use-parser-dimensions
...
Use parser dimensions
2019-10-17 11:34:49 +02:00
Bård Skaflestad
7e160cb99a
Reimplement ScheduleTests in Terms of TimeStampUTC
...
Note that we have to reduce the year-range in the specific test
createDeckWithDRSDTthenDRVDT
in order not to wrap around for system_clock. This is a deficency of
the new time-service protocol.
2019-10-16 20:03:08 -05:00
Bård Skaflestad
428d4c41f0
Reimplement TimeMap in Terms of TimeStampUTC
2019-10-16 20:03:08 -05:00
Joakim Hove
693181187c
Adapt to new DeckKeyword constructor
2019-10-16 21:40:31 +02:00
Joakim Hove
697545cf54
Use dimensions from ParserKeyword
2019-10-16 21:03:02 +02:00
Arne Morten Kvarving
2253448eed
remove unused variables
2019-10-16 16:07:29 +02:00
Joakim Hove
7b55f10dc0
Merge pull request #1051 from joakim-hove/remove-props-iget
...
Remove index access to GridProperty<T>
2019-10-15 07:53:38 +02:00
Bård Skaflestad
c013639b51
Make Most Unit Tests Independent of LibECL
...
This commit switches a set of OPM-Common's unit tests away from
using direct calls to libecl functions and into using base types
from OPM-Common itself (along with Boost.Filesystem).
In particular summary related queries are replaced by calls to ESmry
member functions (wrapped in libecl-like interfaces to minimise code
changes). We disable checks on unit strings since ESmry currently
does not have a way of associating those with individual variables.
2019-10-14 06:13:38 -05:00
Joakim Hove
a47ffcc349
Remove index access to GridProperty<T>
2019-10-14 12:23:18 +02:00
Joakim Hove
32ac0034a7
Merge pull request #1091 from stefoss23/deck_keyword_vector
...
deckkeyword: new constructors takes (ParserKeyword, std::vector).
2019-10-11 20:04:50 +02:00
Steinar Foss
17f246c1a7
deckkeyword: new constructors takes (ParserKeyword, std::vector).
...
DeckKeyword: test for vector<int> data constructor.
DeckKeyword takes std::vector<int> and std::vector<double>.
...
...
...
...
2019-10-11 13:47:14 +02:00