Commit Graph
5 Commits
Author SHA1 Message Date
Bård Skaflestad bd73bb6c55 Linearised Table: Add Constructor with User-Defined Fill Value
Reimplement original constructor in terms of the new constructor.
The main purpose of the new constructor is to support PVT tables
which use a fill/padding value different from 1.0e+20.
2019-04-04 14:11:07 +02:00
Andreas Lauser 1083db48a3 test_LinearisedOutputTable: include config.h unconditionally
this is already the case for the vast majority of the other OPM code.
2018-03-03 13:23:37 +01:00
Arne Morten Kvarving 7f79101fb2 changed: let the build system handle the dynamic boost test defines 2018-02-14 16:03:57 +01:00
Bård Skaflestad 67cf8764aa Linearised Output Table: Store Derivatives at Right-Hand End Point
This is more in keeping with the intended application--at least for
saturation function output to the INIT result set.

While here, also remove an unused data table (SWOF from SPE1).
2017-11-27 09:15:00 +01:00
Bård Skaflestad e2bf7bf699 Table Output: Add Facility to Simplify Indexing Details
This commit introduces a new helper class, LinearisedOutputTable,
that is oriented towards managing tabular data such as the PVT or
saturation functions in an ECL result set (typically, .INIT file).
The class knows about row padding and the column oriented nature of
Fortran-like tables.

While here, and in anticipation of adding output of tabulated
saturation functions, also provide a mechanism for calculating
slopes of piecewise linear interpolants.  The ECL format stipulates
that function derivatives be output along with the actual table
data for most functions.
2017-11-27 09:15:00 +01:00