Commit Graph

128 Commits

Author SHA1 Message Date
Jørgen Kvalsvik
f0ae5db131 opm-parser adoption of Deck automatic ownership
Since the Deck* family of classes have changed their interfaces to no
longer use shared_ptr, a lot of code broke. This patch fixes all
problems in tests, other signatures and accesses to now use the new Deck
interfaces.
2016-02-18 13:27:24 +01:00
Jørgen Kvalsvik
0781ec968d Change static private methods to static functions
Since these really aren't a part of the class, they're moved to the more
approperiate static function to not pollute the header.
2016-02-18 13:26:55 +01:00
Jørgen Kvalsvik
4b98943665 Replaces unecessary header includes with fwd decls
Every header is self-contained and includes only what it must to
function, relying on users include what they need in source files,
adopting a pay-what-you-use model (in particular for internal
dependencies).
2016-01-26 13:23:22 +01:00
Jørgen Kvalsvik
04900a4bb6 ParserKeywords.hpp -> ParserKeywordsX.hpp
To reduce compiler stress and be more explicit w.r.t. dependencies, all
files now includes only the keywords they need, instead of the
collection of all files.
2016-01-21 09:25:58 +01:00
Jørgen Kvalsvik
c85a032240 Splits tables' implementations into .cpp file
Most tables are trivial extensions of SimpleTable, but had their
implementation in headers. This required them to include more headers
than we want to expose and makes them harder to maintain and verify.
Instead, all these SimpleTable derivatives are now implemented in
Tables.cpp, only declaring their interfaces in their respective .hpp
files. Clients won't notice the difference.

rebase into tables
2016-01-21 09:23:07 +01:00
Jørgen Kvalsvik
f404828d63 Cleans up headers to improve build preformance
This is an effort to improve build performance.  Several includes
scattered across the project are either unused or partially used (i.e.
just used to import a type name, not depending on the actual contents of
the header file).

Replaces a lot of these includes with forward declarations.
2016-01-21 09:22:06 +01:00
Joakim Hove
d59b34bcb5 Added copy constructor for TableIndex. 2016-01-17 16:37:31 +01:00
Joakim Hove
356958309c Added hasColumn() method. 2016-01-08 14:04:30 +01:00
Joakim Hove
6cff4d5aae Changed PVTO / PVTG implementation 2016-01-08 14:04:29 +01:00
Joakim Hove
a2b64a83eb SimpleTable improvements:
- Added constructor without DeckItem
 - Added addRow( ) method
 - Added random access get( ) methd.
2016-01-08 14:04:28 +01:00
Joakim Hove
874a5320e7 Changed implementation of all SimpleTable tables. 2016-01-05 12:33:19 +01:00
Joakim Hove
772473ae1c Refactored SimpleTable class 2015-12-21 15:38:49 +01:00
Joakim Hove
40ac6ec7e8 Added class TableColumn. 2015-12-21 15:38:45 +01:00
Joakim Hove
5e469c0676 Added class TableSchema with table metadata. 2015-12-21 15:31:29 +01:00
Joakim Hove
e94d01e88c Added class ColumnSchema with table metadata. 2015-12-21 15:30:54 +01:00
Joakim Hove
102a994190 Added TableIndex to bookkeep linear interpolation. 2015-12-21 14:52:23 +01:00
Tor Harald Sandve
3ba7382146 Add missing methods in TableManager.cpp
Add missing methods for MSFN, PMISC, MISC, SGCWMIS and SORWMIS
2015-12-03 15:18:56 +01:00
Tor Harald Sandve
d3f3c74358 Adress minor issues
- rename checkRange() to assertUnitRange()
- use string instead of char
2015-12-01 14:12:39 +01:00
Tor Harald Sandve
dc7cf4ada6 Add missing tables 2015-12-01 13:53:05 +01:00
Tor Harald Sandve
ddcba13dfe Add support for MSFN 2015-12-01 12:19:43 +01:00
Tor Harald Sandve
9badf045a9 Add support for PMISC 2015-12-01 12:19:43 +01:00
Tor Harald Sandve
e97c6461e1 Add support for MISC 2015-12-01 12:19:43 +01:00
Tor Harald Sandve
ce595d7592 Add method to check that table input spans [0,1] 2015-12-01 12:19:43 +01:00
Tor Harald Sandve
5c35b8edeb Add support for SGCWMIS 2015-12-01 12:19:43 +01:00
Tor Harald Sandve
d151bfc83a Add support for SORWMIS 2015-12-01 12:19:42 +01:00
Liu Ming
664b6a80e5 SGWFN table. 2015-10-12 14:26:51 +08:00
Liu Ming
68a9366d8d Add keyword SGWFN. 2015-10-12 10:56:21 +08:00
Atgeirr Flø Rasmussen
6cf9d01cc3 Avoid shadowing the 'record' variable. 2015-10-07 09:43:51 +02:00
Joakim Hove
51e3aa82cc Update include path 2015-10-06 11:30:43 +02:00
Joakim Hove
6dee686dc0 Implemented accessor functions for REGDIMS. 2015-10-06 08:44:00 +02:00
Joakim Hove
7070517d1c Removed debug output. 2015-10-05 07:46:49 +02:00
Joakim Hove
b3972de557 Immplemented PLYSHLOG table with TableContainer.
The PLYSHLOG table specification is based on alternating header and data
records, this is not supported by th parser - and the thing will throw
if more than table is specified.
2015-10-04 20:03:54 +02:00
Joakim Hove
ea86b51b8d TableContainer for PLYMAX and PLYROCK. 2015-10-04 20:03:53 +02:00
Joakim Hove
40fa456603 TableContainer for PLYADS,PLYDHFL and PLYVISC. 2015-10-04 20:03:51 +02:00
Joakim Hove
821bc9bc9e Implemented ROCKTAB with TableContainer. 2015-10-04 20:03:48 +02:00
Joakim Hove
4857f2299f Using TableContainer for RTEMPVD. 2015-10-03 17:32:12 +02:00
Joakim Hove
d1451bc4e3 Using TableContainer for gas viscosity. 2015-10-03 17:32:12 +02:00
Joakim Hove
1542957e49 Using TableContainer for oil and water viscosity. 2015-10-03 17:32:11 +02:00
Joakim Hove
eb69d85ee4 TableContainer: PVDO, PVDS and PVDG. 2015-10-03 17:32:11 +02:00
Joakim Hove
d9c5811e90 TableContainer: ENKRVD, ENPTVD, IMKRVD and IMPTVD. 2015-10-03 17:32:10 +02:00
Joakim Hove
295385cab7 TableContainer for RSVD and RVVD tables. 2015-10-03 17:32:10 +02:00
Joakim Hove
9c9e9f48fd TableContainer for SGFN, SWFN and SSFN tables. 2015-10-03 17:32:09 +02:00
Joakim Hove
836ea66a49 TableContainer for SWOF,SGOF,SLGOF,SOF2 ans SOF3. 2015-10-03 17:32:08 +02:00
Joakim Hove
f77e1af9f0 Added TableContainers for the simplest tables. 2015-10-03 17:32:08 +02:00
Joakim Hove
d1bb9bd2f0 Added Eqldims and Regdims wrapper classes 2015-10-03 17:32:07 +02:00
Joakim Hove
d377345f95 Added map of tablecontainers to TableManager. 2015-10-03 17:32:07 +02:00
Joakim Hove
2e1533c945 Added new default based Tabdims constructor. 2015-10-03 17:32:06 +02:00
Joakim Hove
dfb2ff6744 All simple table inits called from common method. 2015-10-03 17:32:06 +02:00
Joakim Hove
f9b1063175 Added simple TableContainer 2015-10-03 17:32:05 +02:00
Joakim Hove
f2132df245 Added TABDIMS 25 items test 2015-09-29 18:50:06 +02:00