#include <FullTable.hpp>

Inheritance diagram for Opm::FullTable< OuterTable, InnerTable >:
Inheritance graph

Public Types

typedef std::shared_ptr< SelfPointer
 
typedef std::shared_ptr< const
Self
ConstPointer
 

Public Member Functions

 FullTable ()=default
 
std::shared_ptr< const OuterTable > getOuterTable () const
 
std::shared_ptr< const InnerTable > getInnerTable (size_t rowIdx) const
 

Static Public Member Functions

static size_t numTables (Opm::DeckKeywordConstPtr keyword)
 

Protected Member Functions

 FullTable (const FullTable &)=default
 
void init (Opm::DeckKeywordConstPtr keyword, size_t tableIdx)
 Read full tables from keywords like PVTO. More...
 

Protected Attributes

std::shared_ptr< const OuterTable > m_outerTable
 
std::vector< std::shared_ptr
< const InnerTable > > 
m_innerTables
 

Member Typedef Documentation

template<class OuterTable, class InnerTable>
typedef std::shared_ptr<const Self> Opm::FullTable< OuterTable, InnerTable >::ConstPointer
template<class OuterTable, class InnerTable>
typedef std::shared_ptr<Self> Opm::FullTable< OuterTable, InnerTable >::Pointer

Constructor & Destructor Documentation

template<class OuterTable, class InnerTable>
Opm::FullTable< OuterTable, InnerTable >::FullTable ( const FullTable< OuterTable, InnerTable > &  )
protecteddefault
template<class OuterTable, class InnerTable>
Opm::FullTable< OuterTable, InnerTable >::FullTable ( )
default

Member Function Documentation

template<class OuterTable, class InnerTable>
std::shared_ptr<const InnerTable> Opm::FullTable< OuterTable, InnerTable >::getInnerTable ( size_t  rowIdx) const
inline
template<class OuterTable, class InnerTable>
std::shared_ptr<const OuterTable> Opm::FullTable< OuterTable, InnerTable >::getOuterTable ( ) const
inline
template<class OuterTable, class InnerTable>
void Opm::FullTable< OuterTable, InnerTable >::init ( Opm::DeckKeywordConstPtr  keyword,
size_t  tableIdx 
)
inlineprotected

Read full tables from keywords like PVTO.

The data for these keywords can be considered a 2D table: The outer one is a multi-record table for a given state, the inner one is a normal table which extends this state. For the PVTO keyword, the outer table represents the gas dissolution factor, pressure, volume factor and viscosity at the oil's saturation point, the inner table is the pressure, volume factor and viscosity of untersaturated oil with the same gas dissolution factor.

template<class OuterTable, class InnerTable>
static size_t Opm::FullTable< OuterTable, InnerTable >::numTables ( Opm::DeckKeywordConstPtr  keyword)
inlinestatic

Member Data Documentation

template<class OuterTable, class InnerTable>
std::vector<std::shared_ptr<const InnerTable> > Opm::FullTable< OuterTable, InnerTable >::m_innerTables
protected
template<class OuterTable, class InnerTable>
std::shared_ptr<const OuterTable> Opm::FullTable< OuterTable, InnerTable >::m_outerTable
protected

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