Fredrik Gundersen
cccde3a0ee
Added more tests for COMPLUMP
2015-01-20 08:59:56 +01:00
Fredrik Gundersen
fafeeda3c1
Fix logic for missing COMPLUMP
2015-01-20 08:59:16 +01:00
Fredrik Gundersen
cd9ed822bf
Added test of COMPLUMP keyword
2015-01-19 13:35:33 +01:00
Fredrik Gundersen
cf008fefe6
Added handling of COMPLUMP keyword
2015-01-19 13:35:05 +01:00
chflo
4d7213651c
OPM 147: WELOPEN: Shut well if all completions are closed; throw exception if trying to open a well with all completions shut
2015-01-16 18:05:49 +01:00
Joakim Hove
b7127ae2c9
Merge pull request #397 from chflo/OPM-145
...
Opm 145
2015-01-16 13:20:37 +01:00
Fredrik Gundersen
94b33eaf6e
Rename method
2015-01-14 11:41:32 +01:00
Fredrik Gundersen
7ed82d6458
Code refactoring, logic update
2015-01-14 11:41:13 +01:00
Fredrik Gundersen
4af77efe75
Added new constructor to completion
2015-01-14 11:40:28 +01:00
chflo
3298fe4337
OPM-145: Removed tests for ACTION
2015-01-14 10:14:06 +01:00
chflo
a82509c676
OPM-145: Removed test ParseACTION
2015-01-14 10:11:50 +01:00
chflo
26a4a1d57d
OPM-145: Removed action-related code from Parser class
2015-01-14 10:08:40 +01:00
chflo
4a33b934fa
OPM-145: Removed member ParserKeywordActionEnum m_action and all traces of it from class ParserKeyword
2015-01-14 10:06:21 +01:00
Fredrik Gundersen
a05cf32c42
Extended test to include more cases
2015-01-13 15:06:28 +01:00
Fredrik Gundersen
60d0f66587
Cleanup of logic
...
Added method to create value item from deckitem
2015-01-13 15:06:06 +01:00
Fredrik Gundersen
1a669d1c87
Merge remote-tracking branch 'upstream/master' into closed_completions
2015-01-13 12:57:46 +01:00
Fredrik Gundersen
503a592b89
Update logic
2015-01-13 12:57:00 +01:00
Fredrik Gundersen
9a154d417c
Update logic
2015-01-13 12:56:49 +01:00
Fredrik Gundersen
5f14914257
Added more tests
2015-01-13 12:56:17 +01:00
Fredrik Gundersen
5a9620d8b2
Added test for WELOPEN keyword
2015-01-13 11:25:46 +01:00
Fredrik Gundersen
b0d0c92b5d
update handleWELOPEN
...
Enable update of completion status using the WELOPEN keyword
2015-01-13 11:25:28 +01:00
Fredrik Gundersen
2f9d5f9e65
added method to enable add of completionset
2015-01-13 11:24:31 +01:00
Joakim Hove
cdf576d5f1
Will translate STOP -> SHUT for completions.
2015-01-12 12:33:49 +01:00
Joakim Hove
b12bcdb47b
Added WellCompletion namespace for completion enums
2015-01-12 10:58:30 +01:00
Joakim Hove
87cfbb4f75
Let the opm-eclkwtest also create EclipseState
2015-01-02 16:53:26 +01:00
Joakim Hove
b1a30272a2
Added hasValue() protection
2015-01-02 16:53:26 +01:00
Joakim Hove
ecac5fc691
Added DeckItem::hasValue() method
2015-01-02 16:53:25 +01:00
Joakim Hove
cf97b3bbe6
Revert "Revert "make the parsing stage pass even if non-defaultable items have been defaulted""
...
This reverts commit 13d31809e8ca7b9f283bf29a0871110071263449.
2015-01-02 16:51:15 +01:00
Andreas Lauser
e0706524e0
Revert "make the parsing stage pass even if non-defaultable items have been defaulted"
...
This reverts commit 5ce5a3539641ac6eac9362d9c2b8a09084f9c35b.
2014-12-19 19:02:53 +01:00
Andreas Lauser
e12a0aab1b
parser main loop: handle unknown sized keywords in a better way
2014-12-19 10:59:12 +01:00
Joakim Hove
85f247fd2a
Minor rebase fixup
2014-12-18 18:02:15 +01:00
Joakim Hove
e56a136565
Added support for COPYREG keyword
2014-12-18 18:02:15 +01:00
Joakim Hove
a4620f5ed0
Added support for ADDREG keyword
2014-12-18 18:02:14 +01:00
Joakim Hove
9ddd8e83c0
Added GridProperty::maskedAdd() and maskedCopy()
2014-12-18 18:02:13 +01:00
Joakim Hove
233b9b9e32
Added support for MULTIREG keyword in EclipseState
2014-12-18 18:02:12 +01:00
Joakim Hove
d75c830388
Added GridProperty::maskedMultiply() method
2014-12-18 18:02:11 +01:00
Joakim Hove
ed89b8ee9d
Added test for EQUAL.
2014-12-18 18:02:11 +01:00
Joakim Hove
be08d6df2a
Added support for EQUALREG in EclipseState
2014-12-18 18:02:10 +01:00
Joakim Hove
06f2715d10
Added method GridProperties::getInitializedKeyword()
...
The getKeyword() method will autocreate and initialize a keyword if you
ask for one which is supported, but has not yet been accessed. The new
getInitializedkeyword() method will raise an exception if the keyword
has not already been initialized.
2014-12-18 18:02:10 +01:00
Joakim Hove
7588096c08
Added GridProperty::getDimensionString()
2014-12-18 18:02:09 +01:00
Joakim Hove
a100d94608
Added const to GridProperty::containsNan()
2014-12-18 18:02:09 +01:00
Joakim Hove
867fdb2de5
Added maskedSet() and initMask() GridProperties<T>
2014-12-18 18:02:08 +01:00
Andreas Lauser
231cf39d47
make the parsing stage pass even if non-defaultable items have been defaulted
...
... but throw later when trying to access the data of the item in
question.
Note that this was demanded by [at] joakim-hove and that I do not want
to be held responsible for any issues which are caused by this
approach. (read: please direct your barks to Joakim if you fell on
your nose because of this...)
2014-12-18 11:43:52 +01:00
Andreas Lauser
0262b333fd
make items which do not have a default un-defaultable
...
this was a much more common problem than it seemed initially...
2014-12-18 11:43:52 +01:00
Joakim Hove
1f111668ac
Removed stale comments - problem has been fixed.
2014-12-15 17:36:11 +01:00
Joakim Hove
b585655a5c
Changes in the log class:
...
1. Moved to from eclipse/Parser -> eclipse/Log
2. Renamed ParserLog -> OpmLog
2014-12-15 17:36:10 +01:00
Andreas Lauser
cf7e293635
make the build fail if a JSON keyword definition file could not be parsed
2014-12-15 17:19:32 +01:00
Andreas Lauser
b8a5280428
fix the unit for transmissibility when using the metric unit system
...
I don't know why exactly this happend, but anyway thanks to [at] bska
for catching it...
2014-12-12 12:21:38 +01:00
Andreas Lauser
c1988ad8a3
get rid of the 'strict parsing' concept
...
this is the 'Joakim-style' variant of the patch, i.e., an exception
will always be thrown if an unknown keyword is encountered.
2014-12-11 12:43:12 +01:00
Joakim Hove
994932738d
Merge pull request #339 from andlaus/low_level_improvments
...
Low level improvments
2014-12-11 11:49:32 +01:00