chflo
78fee8b0ca
Added new Tuning class.
2015-04-20 15:13:21 +02:00
chflo
3775cb69dd
OPM-191: Updated TUNING keyword
2015-04-20 15:13:21 +02:00
Joakim Hove
b02e536ad8
Added ability to check index of keyword from Deck.
2015-04-20 14:56:52 +02:00
Joakim Hove
7bd566d6a6
Changed Deck & Section implementation
...
- Removed the KeywordContainer class; and implemented the behaviour
directly in the Deck.
- Added begin() and end() iterators to the Deck.
- Section class inherits from Deck.
2015-04-20 14:56:52 +02:00
Joakim Hove
150a6f8ebd
Merge pull request #456 from joakim-hove/Dynamicstate-initial
...
Dynamicstate initial
2015-04-20 14:55:36 +02:00
Joakim Hove
8f277d56ca
Added modifiable initial value to DynamicState
2015-04-20 14:04:10 +02:00
Joakim Hove
446a94e97f
Added read only operator[] to DynamicState
2015-04-20 14:03:44 +02:00
Kai Bao
96bf3648df
Adding unit Salinity.
...
For the METRIC and FIELD system.
2015-04-16 16:59:59 +02:00
Joakim Hove
45e13a1b40
Minor changes to silence some warnings.
2015-04-15 22:59:58 +02:00
Joakim Hove
5d31eb29dc
Merge pull request #444 from iLoop2/Fix_BUG_PATHS_Keyword
...
Fix bug paths keyword
2015-04-09 10:42:59 +02:00
Joakim Hove
b932208634
Merge pull request #441 from edbru/OPM-87
...
OPM-87, added code for handling keyword WELTARG.
2015-04-08 12:45:52 +02:00
Edvin Brudevoll
c620fde78a
Updates and actions 2 related to Joacim's comments.
2015-04-08 12:12:57 +02:00
Edvin Brudevoll
8a7f8e6c59
Updates and actions related to Joacim's comments
2015-04-07 08:02:06 +02:00
Fredrik Gundersen
574deeff18
Clean up and fix indentation
2015-04-01 13:37:55 +02:00
Fredrik Gundersen
89960331cf
Rewrite of constructor to support g++4.4
2015-04-01 13:34:23 +02:00
Fredrik Gundersen
5401b828ba
Changed to use C++11 syntax for constructor
2015-04-01 08:49:36 +02:00
Fredrik Gundersen
a64c3a62bf
Added new constuctor with PATHS parameter
2015-03-31 13:30:02 +02:00
Fredrik Gundersen
b522daf9b1
Updated test to include testing of nested PATHS replacment
2015-03-31 13:28:32 +02:00
Atgeirr Flø Rasmussen
bfea9e7406
Suppress warning in Logger::addMessageType().
2015-03-25 08:52:59 +01:00
Atgeirr Flø Rasmussen
61f9855381
Suppress an unused argument warning.
2015-03-25 08:48:07 +01:00
Edvin Brudevoll (ITV DIS RD)
8ac548d564
OPM-87, added code for handling keyword WELTARG.
2015-03-25 08:20:22 +01:00
Joakim Hove
be93f81360
Removed Statoil internal test.
2015-03-18 13:58:31 +01:00
Joakim Hove
7afa65a230
Fixed bug with iterator modification
2015-03-09 12:38:16 +01:00
Joakim Hove
08a7132db8
Merge pull request #398 from joakim-hove/singleton-example
...
Singleton Logger
2015-03-09 08:08:12 +01:00
Atgeirr Flø Rasmussen
d33a05db70
Remove surplus const for return-by-value.
...
This triggers compiler warnings at high warning levels.
2015-03-06 08:52:39 +01:00
Joakim Hove
a5e6236580
Merge pull request #433 from joakim-hove/new-keywords
...
New keywords
2015-03-05 13:05:21 +01:00
chflo
439d0ee924
OPM-157: Added enum UnitType, using this when creating an UnitSystem instance
2015-03-05 12:40:59 +01:00
Joakim Hove
93d5d19fc1
Merge fixup
2015-03-04 22:32:42 +01:00
Joakim Hove
cb4e3571e3
Updated the default messagetypes - inspired by ECLIPSE
2015-03-04 22:14:33 +01:00
Joakim Hove
dc992bbc53
Added methods to remove a logger backend.
2015-03-04 22:14:32 +01:00
Joakim Hove
3562ac4344
Added TimerLog example
2015-03-04 22:14:32 +01:00
Joakim Hove
130879f01a
Changed OpmLog to be more careful to create logger.
2015-03-04 22:14:32 +01:00
Joakim Hove
9fb229ccd7
Replaced references to logger with OpmLog::addMessage()
2015-03-04 22:14:31 +01:00
Joakim Hove
f3419e8e61
Removed methods from CounterLog:
...
- Methods to get the number of Warning, Errors and Notes.
- Methods to get the file/line/description content of a message.
2015-03-04 22:12:53 +01:00
Joakim Hove
3a60605d99
Removed most of the functionality from CounterLog
2015-03-04 22:12:53 +01:00
Joakim Hove
33034b0319
Logger will throw if the messageType is not enabled.
2015-03-04 22:12:52 +01:00
Joakim Hove
ce5960bbcd
Added new CounterLog constructor
2015-03-04 22:12:52 +01:00
Joakim Hove
25bff6480d
Renamed MessageCounter -> CounterLog
2015-03-04 22:12:52 +01:00
Joakim Hove
aa604aad9e
Add ostream.flush() call in the StreamLog
2015-03-04 22:10:02 +01:00
Joakim Hove
44d4b92f68
Renamed AllMessageTypes -> DefaultMessageTypes
...
A newly created Logger instance should have all these message types
enabled.
2015-03-04 22:10:01 +01:00
Joakim Hove
46a98747f9
Added messageType methods to OpmLog
2015-03-04 22:10:00 +01:00
Joakim Hove
139330ec88
Added backend manipulation through OpmLog frontend.
2015-03-04 22:09:59 +01:00
Joakim Hove
5d3daabaef
Added Logger::getBackend<T>() method
2015-03-04 22:09:58 +01:00
Joakim Hove
e6c6209991
Added StreamLog backend.
2015-03-04 22:09:57 +01:00
Joakim Hove
2c2da004b9
WIP: Added simple backend map in Logger
2015-03-04 22:09:57 +01:00
Joakim Hove
f52b5397f7
Using LogUtil to format message.
2015-03-04 22:09:56 +01:00
Joakim Hove
245b91d0c2
Introduced LogUtil file + Logger class
...
- The new LogUtil.cpp / LogUtil.hpp files contain the enum definitions
for MessageType and formatting functions.
- The Logger class is meant to be the instance which is held by the
static OpmLog singleton class.
2015-03-04 22:09:55 +01:00
Joakim Hove
930d70744d
Added thin abstract class LogBackend
2015-03-04 22:09:55 +01:00
Joakim Hove
d3277543ec
Renamed existing Logger -> MessageCounter
2015-03-04 22:09:54 +01:00
Joakim Hove
738fb0c05c
Moved MessageType enum to OpmLog
2015-03-04 22:07:04 +01:00