Kristian Flikka
f89b8362ff
Changed to tabsize 2 after discussion with Joakim. I vote for real tabs.
2013-04-08 10:36:14 +02:00
Kristian Flikka
1868615a4a
Moved some consts for the Raw classes to a separate file, characters and sizes
2013-04-08 10:31:54 +02:00
Kristian Flikka
76b8df09ad
Changed the logic in raw-reading, only adding keyword after it is finished. Simplified special casing for INCLUDE. Reset keyword pointer when keyword finished
2013-04-08 10:07:24 +02:00
Kristian Flikka
c76767b9aa
Adding recursive reading of Include files. Fixed a performance bug when appending strings to a record
2013-04-05 16:14:43 +02:00
Kristian Flikka
b200d74c9d
Rename variable
2013-04-04 15:57:21 +02:00
Kristian Flikka
041ac87337
Removed unused variable
2013-04-04 15:54:55 +02:00
Kristian Flikka
e6d9007dfb
Changed static logger to be initalized and closed explicitly, destructor did not quite do the trick
2013-04-04 15:09:38 +02:00
Kristian Flikka
0d5ce81809
Merge pull request 2 from joakim-hove/master - Added code to add Keywords to parser class
2013-04-04 14:17:12 +02:00
Kristian Flikka
aa8cd7b4ca
Added a thin container for knowledge about keywords with fixed number of records. Changed some getter methods to return reference
2013-04-04 13:30:50 +02:00
Kristian Flikka
8a0892b388
Rename file-checking-function
2013-04-04 09:58:54 +02:00
Kristian Flikka
3adb09cb5a
Review updates: Keyword can have numbers, comment lines can start with space, data can start at pos 0 on line, must explicitly have end-of-keyword control
2013-04-04 09:56:00 +02:00
Kristian Flikka
14772d8c86
File containing questions or observations that needs to be discussed
2013-04-04 09:25:43 +02:00
Joakim Hove
f3e14aa76b
Added Keywords map to Parser
2013-04-03 11:38:06 +02:00
Joakim Hove
57c6946c07
Merged data/ -> RawDeck/ source code reorganisation
2013-04-03 09:27:55 +02:00
Kristian Flikka
d24f487d18
Refactoring for readability. Added a couple of unit tests
2013-04-02 15:42:19 +02:00
Joakim Hove
295b1929ab
Added subdirectory Parser/ + added ParserRecordSize as element in ParserKW
2013-04-02 15:19:32 +02:00
Kristian Flikka
2be8700e66
Moved data to RawDeck, added gmon.out to gitignore
2013-04-02 13:39:41 +02:00
Joakim Hove
36053bd91c
Added symlink to test-data
2013-04-02 13:05:24 +02:00
Joakim Hove
e860091f30
Merged changes from Kristian
2013-04-02 12:58:12 +02:00
Kristian Flikka
8432334106
Changed working directory of tests to be project source dir. Added symlink to statoil data in testdata folder
2013-04-02 12:34:44 +02:00
Kristian Flikka
7002348e8e
Added splitting of record into items in a string vector. Added tests. Must enhance readability of this splitting code before review
2013-03-26 14:31:05 +01:00
Kristian Flikka
4f65285828
Changed more heap and smart pointers
2013-03-26 10:27:48 +01:00
Kristian Flikka
2f7cc609d0
Changed to heap allocation and boost smart pointers
2013-03-26 10:00:06 +01:00
Kristian Flikka
990648e95b
More tests, changed logging, and adding record
2013-03-25 17:17:09 +01:00
Atgeirr Flø Rasmussen
b6db8534d8
Whitespace cleanup.
2013-03-23 23:46:05 +01:00
Atgeirr Flø Rasmussen
12ccebf396
Whitespace cleanup.
2013-03-23 23:46:05 +01:00
Atgeirr Flø Rasmussen
4e9e2f0438
Added test for class UniformTableLinear.
...
Moved from opm-porsol.
2013-03-22 21:39:32 +01:00
Atgeirr Flø Rasmussen
dd8041890f
Added test for class NonuniformTableLinear.
...
Formerly lived in opm-porsol.
2013-03-22 16:24:52 +01:00
Atgeirr Flø Rasmussen
f0fb3756f6
Simplified class NonuniformTableLinear.
...
Removed the policy control for what to do beyond the domain.
Old behaviour was constant extrapolation, current behaviour
is linear extrapolation. The possibility to choose was never
needed and has beem removed.
2013-03-22 16:22:29 +01:00
Kristian Flikka
ed0d04fcc6
Added classes for holding the raw deck structure
2013-03-22 15:35:40 +01:00
Atgeirr Flø Rasmussen
09253686e8
Finished unification of linear interpolation.
...
The functions of linInt.hpp are now used everywhere, but:
- linInt.hpp -> linearInterpolation.hpp (better name)
- linearInterpolationExtrap() -> linearInterpolation() (extrapolate by default)
2013-03-22 15:33:07 +01:00
Atgeirr Flø Rasmussen
751ba70eff
Make all codes use the same linear interpolation routines.
2013-03-22 15:28:16 +01:00
Joakim Hove
05cea003be
Added ParserKW skeleton and ParserConst.hpp
2013-03-21 15:37:40 +01:00
Atgeirr Flø Rasmussen
b1c554fe32
Moved MonotCubicInterpolator to Opm namespace.
...
Also minor doc fix.
2013-03-21 14:57:36 +01:00
Kristian Flikka
e7d1444ad4
Added tests and Record class. Moved BOOST_ROOT into CMakeLists file
2013-03-21 13:18:52 +01:00
Kristian Flikka
aa43fef0e9
Renamed keyword data class, and added test file
2013-03-21 09:27:57 +01:00
Kristian Flikka
9ad7f77107
Changed KeywordRawData to a one-per-keyword object, moved into data folder
2013-03-21 09:02:40 +01:00
Kristian Flikka
ce0990e5ca
Fixed a bug when keywords had trailing spaces. Now trimming right side of string.
2013-03-20 17:35:03 +01:00
Kristian Flikka
488d7655f7
Moved files into structure similar to opm-core. Added KeywordRawData class to store 0th pass objects
2013-03-20 16:29:51 +01:00
Kristian Flikka
7d6bba588b
Removing gtest, retry... Updated logger with levels
2013-03-18 16:38:14 +01:00
Kristian Flikka
db646dc844
Removed gtest, using boost testing. Throws invalid_argument exception if file not found
2013-03-18 15:59:57 +01:00
Kristian Flikka
e4fad8ea83
Added logging class. Changed bin output, added test DATA file, with 18 keywords.
2013-03-18 13:40:14 +01:00
Kristian Flikka
1fab5c2e1c
Added more line by line checks, very much WIP. Failing unit test.
2013-03-15 16:09:24 +01:00
Kristian Flikka
307c09602f
Added documentation folder and file that will describe the different types and concepts in the Eclipse data file
2013-03-15 14:50:35 +01:00
Kristian Flikka
ec46baab12
Test file changed
2013-03-14 16:06:14 +01:00
Kristian Flikka
45acb83d32
Refactoring casing and naming
2013-03-14 16:05:35 +01:00
Kristian Flikka
b403377abc
Reading some lines
2013-03-14 15:53:36 +01:00
Kristian Flikka
c1696f0ed1
Introduced boost and a failing test
2013-03-14 14:54:53 +01:00
Kristian Flikka
49d5b50cec
Added CmakeLists on root level, moving old root content out in this file
2013-03-14 12:38:05 +01:00
Kristian Flikka
bcc234c945
Initial deck and parser classes, and google test with google test src
2013-03-14 12:07:33 +01:00