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
6362bd2eb1
Fixed typo.
2015-07-28 09:27:05 +02:00
Joakim Hove
847fc3ba6f
Added EclipseGrid::cellThickNess() method
2015-07-27 17:57:34 +02:00
Joakim Hove
d7406273c5
Enforce bitwise equality in ZCORN with full TOPS.
2015-07-24 09:32:54 +02:00
Andreas Lauser
eca9a3016d
fix the data of grid property unit test
...
critical saturations must always be defined. again thanks to [at]bska
for the hint.
2015-07-21 13:07:34 +02:00
Andreas Lauser
40bef918a5
SatfuncPropertyInitializer: determine the critical saturations correctly
...
At least I hope it's correct: the condition for breaking the loops
where inverted in some places.
thanks to [at]bska for discovering this.
2015-07-21 13:07:28 +02:00
Atgeirr Flø Rasmussen
3cdc01fbe3
Do not mix signed and unsigned.
2015-07-15 11:15:49 +02:00
Andreas Lauser
d234d37616
grid properties: Add support for three point vertical relperm scaling
...
because it seems like the code in opm-core uses this at some point.
2015-07-09 12:16:08 +02:00
Andreas Lauser
f5c13deb0a
add grid properties required for the simple "vertical" endpoint scaling
...
i.e., the PC[GW] and KR[OGW] properties plus their imbibition and
directional variants. the properties required for three-point vertical
scaling (i.e., KRWR, et al.) are still to be done.
2015-07-09 12:16:03 +02:00
Andreas Lauser
16c7fdce6d
grid properties: check stricter has*Property() behavior in the unit test
...
thanks to [at]joakim-hove for the suggestion.
2015-07-09 12:16:01 +02:00
Joakim Hove
c38b892876
Moved initialization of FaultCollection.
2015-06-18 08:06:39 +02:00
Joakim Hove
f8bc617894
Changed Deck::getKeywordList:
...
The method will return an empty vector - instead of throwing, if you ask
for a missing keyword.
2015-06-18 08:06:38 +02:00
Tor Harald Sandve
486182b7de
Adress minor comments from PR
...
1) use addNNC() method to store the NNCs
2) convert all int's to size_t
3) remove .reserve() from the loop
4) use m_xxx instead of xxx_
5) rename xyz1 to ijk1 etc.
2015-06-11 06:43:25 +02:00
Tor Harald Sandve
5221f273b5
Store the NNC in SI units
2015-06-10 10:23:02 +02:00
Tor Harald Sandve
8a2fed1bf8
Address minor comments
...
Change int to size_t
Remove hasNNC_
2015-06-10 10:23:02 +02:00
Tor Harald Sandve
5cd9a7f7b2
Add NNC class
...
This class provides the raw non-neighboring connections data as read
from the deck and/or added using the addNNC method.
The NNC data is currently not processed. I.e. multiple NNC connection
between the same cell can exist side by side.
2015-06-10 10:23:02 +02:00
Joakim Hove
679ef35d0b
Updated code to use compiled defaults
2015-06-08 11:29:21 +02:00
Joakim Hove
fd87b22f7d
Added methods to Deck::getKeyword<T>()
2015-06-08 11:29:19 +02:00
Joakim Hove
216e80a845
Fixed wrong include path
2015-05-29 09:55:50 +02:00
Joakim Hove
a3451a4f7f
Merge pull request #466 from joakim-hove/remove-ert-cpp
...
Removed ERT Cxx wrappers
2015-05-29 09:22:16 +02:00
Joakim Hove
91826a3ffa
Merge pull request #468 from iLoop2/OPM-203
...
Added suport for converting of Metric grid values
2015-05-29 09:22:05 +02:00
Joakim Hove
60eaacb6fe
Removed ERT Cxx wrappers
2015-05-27 07:12:41 +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
Fredrik Gundersen
bb97d3f7bb
Fix parameter name
2015-05-22 22:58:39 +02:00
Fredrik Gundersen
48699b569a
OPM-203 Added supoort for converting of Metric grid values
2015-05-21 12:35:32 +02:00
Joakim Hove
24f49b35a8
Fixed bug
2015-05-06 12:27:43 +02:00
Joakim Hove
10facf19b3
Created classes for all the endpoint initializers.
2015-05-06 12:27:43 +02:00
Joakim Hove
121ec9320b
Added ISGU / SGU classes
2015-05-06 12:27:42 +02:00
Joakim Hove
2947336982
Added derived iniitializer classes SWL and ISWL
2015-05-06 12:27:41 +02:00
Joakim Hove
2d08d78257
MOved satfunc initializers to separate file.
2015-05-06 12:27:40 +02:00
Joakim Hove
819e92965f
Removed SGL and ISGL lookup from multiplex method
2015-05-06 12:27:40 +02:00
Joakim Hove
5aaf5ea6c2
Added derived class ISGLInitializer
2015-05-06 12:27:39 +02:00
Joakim Hove
5989d45b3a
Added derived class SGLInitializer.
2015-05-06 12:27:38 +02:00
Joakim Hove
21951cda90
Added GridProperty<T>::checkLimits()
2015-05-06 12:27:38 +02:00
Joakim Hove
863b5f9441
Refactor: calculation of endpoint + critical
2015-05-06 12:27:37 +02:00
Joakim Hove
c6429c3fe8
Refactor: critcial and enpoint values are members.
2015-05-06 12:27:37 +02:00
Joakim Hove
84e65886fb
Refactor: introduced const& and [] instead of at()
2015-05-06 12:27:36 +02:00
Joakim Hove
78408dab59
Refactor: extracted two small methods
2015-05-06 12:27:36 +02:00
Joakim Hove
63e16153c6
Renamed GridPropertyEndpointTableLookupInitializer -> EndpointInitializer
2015-05-06 12:27:35 +02:00
Joakim Hove
c11cca31dc
Added comment with reference to documentation.
2015-05-06 12:27:34 +02:00
Joakim Hove
6882653433
Using EclipseState::getIntGridProperty()
...
Old code used to first initialize with 1, and then check the
EclipseState - will rather just ask the EclipseState; which will
automagically create a keyword if that is required.
Also The SATNUM keyword was previously immediately overwritten with the
content of the ENDNUM keyword, that is now changed.
2015-05-06 12:27:33 +02:00
Joakim Hove
e3d4b205cd
Added test before finding critical saturations.
2015-05-06 12:27:32 +02:00
Joakim Hove
1b89196aa1
Using Tabdims in EclipseState and table initializer
2015-05-06 12:27:32 +02:00
Joakim Hove
bf61731536
Added vector based get of Properties
2015-05-05 19:23:06 +02:00
Joakim Hove
f0adb6a2d8
Added C++ wrappers for ERT: ecl_kw and fortio
2015-05-05 17:02:09 +02:00
Joakim Hove
45e13a1b40
Minor changes to silence some warnings.
2015-04-15 22:59:58 +02:00
Joakim Hove
08a7132db8
Merge pull request #398 from joakim-hove/singleton-example
...
Singleton Logger
2015-03-09 08:08:12 +01:00
Joakim Hove
9fb229ccd7
Replaced references to logger with OpmLog::addMessage()
2015-03-04 22:14:31 +01:00
Joakim Hove
3a60605d99
Removed most of the functionality from CounterLog
2015-03-04 22:12:53 +01:00