Joakim Hove
e732564fb4
Merge pull request #242 from andlaus/deck_keyword_lists
...
Implement deck keyword lists
2014-06-20 13:54:30 +02:00
Andreas Lauser
7a015fcb76
use deck keyword name list for the well output specifier keywords
2014-06-13 13:54:24 +02:00
Joakim Hove
a2d9d45da6
Added Parser test of deck with TOPS keyword.
2014-06-11 16:42:37 +02:00
Joakim Hove
5c04cd4540
Basic BOX support when reading integer properties.
2014-06-03 22:42:23 +02:00
Atle Haugan
344d02ad1c
Add support for wildcard in WCONPROD and WCONINJE keywords.
2014-05-06 09:54:37 +02:00
Joakim Hove
5becf79dd1
The ParserKeyword->parse() method will throw if the raw input argument is not finished.
...
Requires several changes to assure that the rawkeyword instances are
marked as finished before reacing the ParserKeyword->parse method.
2014-04-11 13:42:22 +02:00
Joakim Hove
9c29c00c2b
Added ability to create EclipseGrid from cornerpoint keywords.
2014-04-01 09:06:43 +02:00
Atle Haugan
9ac0401af5
Support for PATHS keyword - first take
2014-02-21 12:56:20 +01:00
Kristian Flikka
15682a71df
Merge pull request #114 from joakim-hove/valgrind
...
Valgrind
2014-02-06 16:39:30 +01:00
Arne Morten Kvarving
4a9c18ac9f
run tests through valgrind
2014-01-27 15:16:34 +01:00
Atle Haugan
f2c451e07a
OPM-17: Minor change to END[INC] parsing + started to parse TITLE keyword
2014-01-24 11:18:07 +01:00
Atle Haugan
ef11a2331f
OPM-17: First attempt to handle END and ENDINC keywords
2014-01-24 10:01:17 +01:00
Andreas Lauser
9332f0edd1
PVTO: Add unit test and make the function names of the table class consistent with PVTG
2014-01-16 15:22:33 +01:00
Andreas Lauser
6bf3e3ef8d
add unit test for SGOF
2014-01-15 12:52:12 +01:00
Andreas Lauser
3a3336028a
add class for simple tables
...
This is intended for keywords like SWOF which currently is a big
vector of doubles but one needs to use the data in a column oriented
way.
This class is intended to be used like this:
Opm::DeckKeywordConstPtr swofKeyword = newParserDeck->getKeyword("SWOF");
Opm::SimpleTable swofTable(swofKeyword,
/*columns=*/std::vector<std::string>{"SW", "KRW", "KROW", "PCOW"},
/*recordIdx=*/table_num);
const std::vector<double>& sw = swofTable.getColumn(0);
// ...
what might be useful is to move the column names into the JSON
description of the keywords, but I could not find a way to go back to
the parser from the deck/keyword. maybe this is not even desireable as
decks might also be created by other means...
Also, a multi-record variant of the class is available. That one is
intended for keywords like PVTO where the first few items of each
record form a table (in the case of PVTO: Rs, pressure, Bo, and
viscosity for staturated oil) and the next entries constitute another
table (in the case of PVTO: pressure, Bo and viscosity for
undersaturated oil with the same RS factor as the first entry).
The second kind of tables can be constructed using the item-based
variant of SimpleTable.
2014-01-15 12:52:12 +01:00
Joakim Hove
1d80ffaed8
Added test example for parsing DENSITY keyword.
2013-12-18 12:32:02 +01:00
Joakim Hove
24e233a53c
Support for parsing keywords with unknown size.
2013-12-05 08:26:29 +01:00
Joakim Hove
5095862298
Added integration test for parsing of TVDP* keywords.
2013-12-01 09:28:45 +01:00
Joakim Hove
b9b9a984ae
Created integrationTest for building a collections of Completions from COMPDAT Record & Keyword
2013-11-11 10:29:36 +01:00
Joakim Hove
77cc1fd03b
Added Integration test to build TimeMap from Deck
2013-10-25 17:30:16 +02:00
Joakim Hove
8e550b7f32
Added warnings in Deck for keywords of type IGNORE_WARNING and unrecognized keywords
2013-10-08 16:19:18 +02:00
Joakim Hove
f019d40dd4
Parser will inspect keyword->action; only INTERNALIZE are stored
2013-10-08 14:45:41 +02:00
Joakim Hove
b4b4a50092
Completed tableCollection implementation - added PVTG based testing
2013-10-01 17:13:40 +02:00
Joakim Hove
72aec8893b
Added test for parsing PORO keyword from file
2013-09-22 18:54:14 +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
Joakim Hove
0dce7e5aec
Cmake if test update
2013-09-12 10:58:21 +02:00
Joakim Hove
41376779f0
Fixed handling of INCLUDE keyword
2013-09-02 10:08:37 +02:00
Joakim Hove
52b1cbdd2e
Added option INCLUDE_STATOIL_TESTS wrapping usage of the Statoil internal test data
2013-08-28 13:50:32 +02:00
Joakim Hove
c05b90f4f9
Added #define symbol KEYWORD_DIRECTORY
2013-08-23 00:17:53 +02:00
Joakim Hove
5c3de27077
1. Implemented support for inferring size from another kewyord - i.e EQLDIMS + EQUIL.
...
2. Cleaned up the main parser loop considerably; the RawKeyword instance now itself knows whether it is complete or not.
2013-08-11 12:36:16 +02:00
Joakim Hove
c864576424
Added FAILING: IntegrationTest to parse EQUIL
2013-08-06 16:28:48 +02:00
Joakim Hove
3bd3c7a306
Can parse one isolated WCONHIST keyword
2013-08-01 10:05:13 +02:00
Joakim Hove
b7397ca502
Parser instantiated with json config file
2013-07-31 11:30:52 +02:00
Kristian Flikka
2cce97f115
Split parser function, to make more modular and testable. Moved integrationtests from ParserTests into Integration tests.
2013-06-18 10:28:30 +02:00
Kristian Flikka
6e20bfda09
Added Deck class (empty), and some integration tests. WIP
2013-05-27 14:27:22 +02:00