Commit Graph

7897 Commits

Author SHA1 Message Date
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
Joakim Hove
91615ca969 Create README.md 2013-03-14 08:42:45 +01:00
Roland Kaufmann
a23267a62f Restructure tests directory to unit tests
Every program that relies on manual inspection has been moved to a new
(hopefully short-lived) directory called not-unit/; every remaining
file has been given the prefix test_ to indicate that this is the
executable test to be run.
2013-02-11 22:38:01 +01:00
Atgeirr Flø Rasmussen
81ab7b4f2f Changed OpenRS->OPM in copyright notices and #include guards. 2013-01-29 13:17:01 +01:00
Atgeirr Flø Rasmussen
731f984c87 Formatting fixes. 2012-09-03 15:07:03 +02:00
Halvor Møll Nilsen
2a21bf4a75 Introduced posibility to change number of sample points for pvt.
Did change the PVTW calculation so derivatives are exact.
Extended the test functions for pvt and relperm
2012-08-31 17:01:07 +02:00
Atgeirr Flø Rasmussen
a4946eed7a Added class SinglePvtDead, add parameter 'props_use_spline' to simulators.
Recall that the class that used to be called SinglePvtDead has
been renamed to SinglePvtDeadSpline. If 'props_use_spline' is true,
that class is used (this is the default), which makes a monotone
spline that is uniformly, densely sampled. The new class simply
uses linear interpolation in the input tables.
2012-08-27 16:48:21 +02:00
Halvor Møll Nilsen
68c4db8472 Changed to extrapolation outside tables for pormult. Added facetags to the grid structure. Changed default fluid to Linear. 2012-08-14 09:36:19 +02:00
Alf Birger Rustad
c8fea44f4c Merge pull request #4 from bska/master
Document everal low-level OPM-Core interfaces related to mimetic solvers
2012-07-05 07:02:03 -07:00
Andreas Lauser
aa38fc81ff opm-core: make it work nicely with clang 2012-07-05 12:42:49 +02:00
Andreas Lauser
5bc6f36341 opm-core: make it work nicely with clang 2012-07-02 18:52:30 +02:00
Bård Skaflestad
4c22b3dc5f Reference <ErrorMacros.hpp> from canonical location. 2012-06-22 19:35:19 +02:00
Bård Skaflestad
759aea3673 Reference class header from canonical position. 2012-06-22 19:32:18 +02:00
Atgeirr Flø Rasmussen
acdd798225 Comment and indent bracketZero(). 2012-06-04 16:54:41 +02:00
Atgeirr Flø Rasmussen
b43a2e86f5 Whitespace cleanup. 2012-05-25 10:12:54 +02:00
Atgeirr Flø Rasmussen
0d21e0215d Implemented more error policies for regula falsi solver. Use in reorder code.
We have switched to WarnAndContinueOnError instead of ThrowOnError,
to reduce the annoyance factor when suffering from a minor error in
a long simulation run.
2012-05-24 10:21:38 +02:00
Atgeirr Flø Rasmussen
e1cf6f6d12 Policy-based design enables custom error handling in scalar regula falsi. 2012-05-24 10:02:14 +02:00
Atgeirr Flø Rasmussen
292772b140 Reinject UniformTableLinear into utils subnamespace for backwards compatibility. 2012-04-19 14:11:00 +02:00
Atgeirr Flø Rasmussen
ca046f9827 Moved UniformTableLinear and related func out of subnamespace utils. 2012-04-19 11:45:52 +02:00
Atgeirr Flø Rasmussen
a1bf64df3a Added new variant of Regula Falsi solver, which checks an initial guess first. 2012-04-02 13:23:14 +02:00
Atgeirr Flø Rasmussen
19bcab6b36 Suppressed multiple warnings. 2012-03-28 16:39:04 +02:00
Xavier Raynaud
4ffda4a95e Added general linear lapack solver. Updated test for band matrices. 2012-03-23 15:44:32 +01:00
Xavier Raynaud
b7bd56ab6a Added solver for band matrix and a test example. 2012-03-15 16:17:16 +01:00
Xavier Raynaud
0112d0e6c8 decrease tolerance for x1-x0 in falsi. 2012-03-15 16:16:31 +01:00