Commit Graph

31 Commits

Author SHA1 Message Date
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