Read the table for the PVTG and provide convenient access to it. More...

#include <PvtgTable.hpp>

Inheritance diagram for Opm::PvtgTable:
Inheritance graph

Public Types

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

Public Member Functions

 PvtgTable ()=default
 
std::shared_ptr< const
Opm::PvtgOuterTable
getOuterTable () const
 
std::shared_ptr< const
Opm::PvtgInnerTable
getInnerTable (size_t rowIdx) const
 

Static Public Member Functions

static size_t numTables (Opm::DeckKeywordConstPtr keyword)
 

Protected Member Functions

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

Protected Attributes

std::shared_ptr< const
Opm::PvtgOuterTable
m_outerTable
 
std::vector< std::shared_ptr
< const Opm::PvtgInnerTable > > 
m_innerTables
 

Friends

class TableManager
 

Detailed Description

Read the table for the PVTG and provide convenient access to it.

Member Typedef Documentation

typedef std::shared_ptr<const Self> Opm::FullTable< Opm::PvtgOuterTable , Opm::PvtgInnerTable >::ConstPointer
inherited
typedef std::shared_ptr<Self> Opm::FullTable< Opm::PvtgOuterTable , Opm::PvtgInnerTable >::Pointer
inherited

Constructor & Destructor Documentation

Opm::PvtgTable::PvtgTable ( )
default

Member Function Documentation

std::shared_ptr<const Opm::PvtgInnerTable > Opm::FullTable< Opm::PvtgOuterTable , Opm::PvtgInnerTable >::getInnerTable ( size_t  rowIdx) const
inlineinherited
std::shared_ptr<const Opm::PvtgOuterTable > Opm::FullTable< Opm::PvtgOuterTable , Opm::PvtgInnerTable >::getOuterTable ( ) const
inlineinherited
void Opm::FullTable< Opm::PvtgOuterTable , Opm::PvtgInnerTable >::init ( Opm::DeckKeywordConstPtr  keyword,
size_t  tableIdx 
)
inlineprotectedinherited

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.

static size_t Opm::FullTable< Opm::PvtgOuterTable , Opm::PvtgInnerTable >::numTables ( Opm::DeckKeywordConstPtr  keyword)
inlinestaticinherited

Friends And Related Function Documentation

friend class TableManager
friend

Member Data Documentation

std::vector<std::shared_ptr<const Opm::PvtgInnerTable > > Opm::FullTable< Opm::PvtgOuterTable , Opm::PvtgInnerTable >::m_innerTables
protectedinherited
std::shared_ptr<const Opm::PvtgOuterTable > Opm::FullTable< Opm::PvtgOuterTable , Opm::PvtgInnerTable >::m_outerTable
protectedinherited

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