Joakim Hove
703427caba
Added OpmLoadDeck and load tests for opm-data.
2015-09-22 15:09:50 +02:00
Kjell W. Kongsvik
dc0cc45e89
Allowed parser keywords without items
2015-09-15 16:43:01 +02:00
Joakim Hove
f389fe2eca
Fixed bug with IOConfig initialization.
2015-08-06 15:12:57 +02:00
Joakim Hove
2582064c5d
Added ParseMode::unsupportedScheduleGeoModifiers
...
- Added const ParseMode& argument to EclipseState() and Schedule()
constructors.
- Schedule constructor iterates through SCHEDULESection instance
instead of Deck instance.
2015-08-06 15:12:48 +02:00
Joakim Hove
733af54777
Added struct ParseMode to control parse behaviour.
...
- Introduce a very simple class ParseMode which will become a simple
value object which can be used to control the behavior when errors
and inconsistencies are encountered in the parse and EclipseState
construction phases.
- Added ParseMode instance as second argument to all parseXXX()
methods.
2015-08-05 22:02:09 +02:00
Arne Morten Kvarving
5d572f846f
fix linking of applications after targets was renamed
2015-05-26 14:25:21 +02:00
chflo
8741d4497d
OPM 199: Changes due to changes in Schedule constructor
2015-05-26 09:43:59 +02:00
Joakim Hove
9fb229ccd7
Replaced references to logger with OpmLog::addMessage()
2015-03-04 22:14:31 +01:00
Joakim Hove
3a60605d99
Removed most of the functionality from CounterLog
2015-03-04 22:12:53 +01:00
Joakim Hove
25bff6480d
Renamed MessageCounter -> CounterLog
2015-03-04 22:12:52 +01:00
Joakim Hove
e6c6209991
Added StreamLog backend.
2015-03-04 22:09:57 +01:00
Joakim Hove
d3277543ec
Renamed existing Logger -> MessageCounter
2015-03-04 22:09:54 +01:00
Joakim Hove
875f591a1b
Changed ParserKeyword to use vector of records
2015-02-20 00:21:32 +01:00
Joakim Hove
3cfe0291fd
Added EclipseGrid as argument to Schedule constructor
2015-01-26 12:21:51 +01:00
Joakim Hove
87cfbb4f75
Let the opm-eclkwtest also create EclipseState
2015-01-02 16:53:26 +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
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
Andreas Lauser
ea38a25af4
remove all trailing white space
...
this is just the result of
```
find -iname "*.[ch]pp" | xargs sed -i "s/ *$//"
find opm/parser/share/keywords -type f | xargs sed -i "s/ *$//"
```
so if it causes conflicts with other patches, the others should get
priority. The rationale behind this patch is that some people tell
their editor to remove white space which leads to larger than
necessary patches...
2014-12-08 16:34:28 +01:00
Andreas Lauser
ff90fe71c0
replace the deck-internal logging system by ParserLog
2014-10-07 15:39:14 +02:00
Andreas Lauser
f754bd9c45
fix some screw-up with internal vs deck names
...
Parser::hasKeyword() was called with deckNames but looked up the map
for internal names. This patch renames the method to hasDeckName(),
renames Parser::getKeyword() to Parser::getKeywordFromDeckName() and
adapts/extends the tests.
2014-07-01 17:07:43 +02:00
Andreas Lauser
fe638c2fc8
separate the internal keyword names and the deck names more clearly
...
so far, these two concepts were partially mingled in Opm::Parser...
2014-06-29 14:32:06 +02:00
Arne Morten Kvarving
3827ddca64
fixed: mark static symbols as such to quell warnings
2014-05-15 14:46:16 +02:00
Atgeirr Flø Rasmussen
e3d167048f
Commented out unused function arguments.
2014-04-15 09:48:19 +02:00
Andreas Lauser
9a09fa29af
rename Parser::parse to Parser::parseFile and add Parser::parseData
...
Parser::parseData is quite useful for unit tests to prevent them
spilling files to everything. Also, what was formerly
Parser::parseFile has been renamed to Parser::parseStream and slightly
modified to not be specific for std::ifstream.
2014-01-10 14:51:56 +01:00
Atle Haugan
53edd3bdc7
Renamed EclipseDataDoctor[.cpp] to opm-eclkwtest
2014-01-10 14:02:15 +01:00
Atle Haugan
5a34966a75
Renamed KeywordDescriber to opm-eclkw
2014-01-10 11:15:00 +01:00
Atle Haugan
ddd4563f97
Renamed from 'help' to 'description' for ParserKeyword and ParserItem
2014-01-10 10:57:35 +01:00
Atle Haugan
308cfda3c5
Improved some type usage based on code review feedback
2014-01-10 08:53:19 +01:00
Atle Haugan
3271156f9d
First pull request candidate with help support
2014-01-09 13:33:32 +01:00
Atle Haugan
d837b688e6
Code cleanup in KeywordDescriber.cpp
2014-01-09 08:31:09 +01:00
Atle Haugan
09135500d6
Improved output layout somewhat + refactored some code
2014-01-08 15:22:14 +01:00
Atle Haugan
c9cda9916f
Code improvements based on code review feedback
2014-01-08 15:03:16 +01:00
Atle Haugan
e3f752f38b
Removed some green code
2014-01-08 11:12:52 +01:00
Atle Haugan
64f7f31f46
Added output from hasDimensions()
2014-01-08 10:49:22 +01:00
Atle Haugan
0c5f7bf731
Added output for items
2014-01-08 10:49:22 +01:00
Atle Haugan
25eb08aa52
After code review with Kristian and Joakim
2014-01-08 10:49:21 +01:00
Atle Haugan
73dfc77aab
Some more adjustments
2014-01-08 10:49:20 +01:00
Atle Haugan
a18cf41553
Some cleanup and refactoring
2014-01-08 10:49:20 +01:00
Atle Haugan
67ab48eee0
First running version of the KeyWordDescriber class. Some cleanup and refactoring required.
2014-01-08 10:49:20 +01:00
Atle Haugan
72545992e1
First running version of the KeyWordDescriber class. Some cleanup and refactoring required.
2014-01-08 10:49:20 +01:00
Atle Haugan (ITV DIS RD)
8f94b29547
Added KeywordDescriber.cpp
2014-01-08 10:49:19 +01:00
Joakim Hove
01b77e88df
Changed EclipseDoctor to strict parsing
2013-11-29 08:31:26 +01:00
Joakim Hove
e5b921fe1c
Added simple datafile parser which focuses on the Schedule section
2013-11-05 18:06:51 +01:00
Joakim Hove
253d8bec0f
Minor minor
2013-10-08 17:03:46 +02:00
Joakim Hove
1ff18bb38a
Removed constructor with one global JSON config file + addedd optional flag to include all built in keywords
2013-09-14 22:39:43 +02:00
Kristian Flikka
3deab9cdf8
Changed unknown keyword concept to be a constructor only setting
2013-08-22 15:53:57 +02:00
Kristian Flikka
e42a7a3a97
Refactoring the main function, added submethod. Removed valgrind uninitialized error
2013-08-21 14:29:46 +02:00
Kristian Flikka
3516b7d25c
Updated eclipse datafile application with flagging of unrecognized keywords
2013-08-21 11:47:24 +02:00
Kristian Flikka
b5dac4b5bd
Added function to get keyword from deck based on index. Added looping over all keywords in application. This should have been several commits
2013-08-20 15:51:19 +02:00
Kristian Flikka
13ec4f2b38
Added Applications folder, and an empty eclipsedatadoctor application
2013-08-20 13:24:57 +02:00