Opm::ECLPropTableRawData Struct Reference

Raw table data from which to construct collection of interpolants. More...

#include <ECLPropTable.hpp>

Public Types

using DataVector = std::vector< double >
 
using SizeType = DataVector::size_type
 Size type for subsets of table data. More...
 
using ElementIterator = DataVector::const_iterator
 Iterator to table elements. Must be random access. More...
 

Public Attributes

DataVector data {}
 
DataVector primaryKey {}
 
SizeType numPrimary {0}
 
SizeType numRows {0}
 
SizeType numCols {0}
 Number of columns in this table. Varies by keyword/table. More...
 
SizeType numTables {0}
 

Detailed Description

Raw table data from which to construct collection of interpolants.

Member Typedef Documentation

◆ DataVector

using Opm::ECLPropTableRawData::DataVector = std::vector<double>

Representation of the raw table data. 1D array with implicit substructure.

◆ ElementIterator

using Opm::ECLPropTableRawData::ElementIterator = DataVector::const_iterator

Iterator to table elements. Must be random access.

◆ SizeType

using Opm::ECLPropTableRawData::SizeType = DataVector::size_type

Size type for subsets of table data.

Member Data Documentation

◆ data

DataVector Opm::ECLPropTableRawData::data {}

Raw table data. Column major (Fortran) order. Typically copied/extracted directly from TAB vector of INIT result-set. Array of size

SizeType numRows
Definition: ECLPropTable.hpp:68
SizeType numCols
Number of columns in this table. Varies by keyword/table.
Definition: ECLPropTable.hpp:71
SizeType numPrimary
Definition: ECLPropTable.hpp:62

for each table, stored consecutively.

◆ numCols

SizeType Opm::ECLPropTableRawData::numCols {0}

Number of columns in this table. Varies by keyword/table.

◆ numPrimary

SizeType Opm::ECLPropTableRawData::numPrimary {0}

Number of primary key elements for each individual table. Only relevant (i.e., != 1) for PVT tables of wet gas and/or live oil.

◆ numRows

SizeType Opm::ECLPropTableRawData::numRows {0}

Number of rows allocated in the result set for each individual primary key. Typically corresponds to setting in one of the *DIMS keywords. Should normally be at least two for saturation functions.

◆ numTables

SizeType Opm::ECLPropTableRawData::numTables {0}

Number of tables of this type. Must match the corresponding region keyword.

◆ primaryKey

DataVector Opm::ECLPropTableRawData::primaryKey {}

Primary lookup key for 2D interpolation. Only relevant for PVT tables of wet gas and/or live oil (Pg or Rs, respectively). Array of size numPrimary elements for each table, stored consecutively.


The documentation for this struct was generated from the following file: