TableManager.getPvtwTable

Provide a richer interface to the PVTW table.
This commit is contained in:
Jørgen Kvalsvik
2016-12-06 14:28:08 +01:00
parent 9f312d2508
commit 1d535124ec
6 changed files with 138 additions and 1 deletions

View File

@@ -84,6 +84,8 @@ namespace Opm {
initSimpleTables( deck );
initFullTables(deck, "PVTG", m_pvtgTables);
initFullTables(deck, "PVTO", m_pvtoTables);
if( deck.hasKeyword( "PVTW" ) )
this->m_pvtwTable = PvtwTable( deck.getKeyword( "PVTW" ) );
initVFPProdTables(deck, m_vfpprodTables);
initVFPInjTables(deck, m_vfpinjTables);
@@ -631,6 +633,10 @@ namespace Opm {
return m_pvtoTables;
}
const PvtwTable& TableManager::getPvtwTable() const {
return this->m_pvtwTable;
}
const TableContainer& TableManager::getMsfnTables() const {
return getTables("MSFN");
}