Commit Graph

16 Commits

Author SHA1 Message Date
Atgeirr Flø Rasmussen
61c33599cf Silence unused argument warning. 2015-08-31 11:05:18 +02:00
Joakim Hove
451fb97439 Added SimulationConfig::hasThresholdPressure() 2015-08-25 15:26:03 +02:00
Joakim Hove
f7283eb238 Changed THPRES implementation
With the current implementation the THPRES pressure table is implemented
with a map indexed by the equilibration region indicies for the regions
in contact.
2015-08-25 12:01:56 +02:00
Fredrik Gundersen
b10401d7c4 Added verification of values in ThresholdPressureTest 2015-08-24 15:35:32 +02:00
Fredrik Gundersen
5421609e65 Fixed tests to work with the new TP behavior 2015-08-24 14:26:01 +02:00
Fredrik Gundersen
e493ad22cb Added new Threshold Pressure behavior 2015-08-24 14:24:53 +02:00
Joakim Hove
d26428dd52 Reimplmented ParseMode based on string keys.
Completely reimplemented the ParseMode class. Now the main datastructure
is a map<string,action> where the possible error situations are the
keys. This approach allows for a much more flexible
setting/filtering/querying of the ParseMode settings.
2015-08-10 14:27:53 +02:00
Atgeirr Flø Rasmussen
3845e1c239 Suppress warnings from boost.
Done by using the disable_warnings.h and reenable_warnings.h headers.
In some cases also a little reordering of includes, to put all boost
includes in the warning-suppressed part.
2015-08-10 13:06:50 +02:00
Atgeirr Flø Rasmussen
3764c41405 Fix minor bug in helper function. 2015-08-10 12:50:49 +02:00
Joakim Hove
e964701023 Added ParseMode switch for missing data in THPRES. 2015-08-07 16:30:38 +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
Joakim Hove
679ef35d0b Updated code to use compiled defaults 2015-06-08 11:29:21 +02:00
Arne Morten Kvarving
2acd2db5d0 changed: rename Parser to opmparser for consistency 2015-05-26 13:53:54 +02:00
Arne Morten Kvarving
9e96127705 change how tests are added in the build system
- use a opm-macro to reduce code duplication
- add a 'test-suite' target which builds tests. for use if BUILD_TESTING
  is 0.
- add a 'check' target which builds tests, then executes them
2015-05-26 13:07:44 +02:00
Joakim Hove
93d5d19fc1 Merge fixup 2015-03-04 22:32:42 +01:00
chflo
ef57b3f074 OPM-166: Internalized tresholdPressure in EclipseState 2015-02-12 16:51:04 +01:00