Merge pull request #570 from andlaus/pvdco_to_pvcdo
fix typo: it's PVCDO, not PVDCO
This commit is contained in:
commit
0ced59db4a
@ -33,7 +33,7 @@
|
||||
#include <opm/core/utility/linearInterpolation.hpp>
|
||||
|
||||
#include <opm/parser/eclipse/Utility/PvtwTable.hpp>
|
||||
#include <opm/parser/eclipse/Utility/PvdcoTable.hpp>
|
||||
#include <opm/parser/eclipse/Utility/PvcdoTable.hpp>
|
||||
#include <opm/parser/eclipse/Deck/Deck.hpp>
|
||||
|
||||
namespace Opm
|
||||
@ -168,7 +168,7 @@ namespace Opm
|
||||
|
||||
props_[phase_usage_.phase_pos[Liquid]].reset(new SinglePvtLiveOil(pvtoTable));
|
||||
} else if (newParserDeck->hasKeyword("PVCDO")) {
|
||||
Opm::PvdcoTable pvcdoTable(newParserDeck->getKeyword("PVCDO"));
|
||||
Opm::PvcdoTable pvcdoTable(newParserDeck->getKeyword("PVCDO"));
|
||||
|
||||
props_[phase_usage_.phase_pos[Liquid]].reset(new SinglePvtConstCompr(pvcdoTable));
|
||||
} else {
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include <opm/core/utility/ErrorMacros.hpp>
|
||||
|
||||
#include <opm/parser/eclipse/Utility/PvtwTable.hpp>
|
||||
#include <opm/parser/eclipse/Utility/PvdcoTable.hpp>
|
||||
#include <opm/parser/eclipse/Utility/PvcdoTable.hpp>
|
||||
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
@ -71,7 +71,7 @@ namespace Opm
|
||||
visc_comp_ = pvtwTable.getViscosibilityColumn()[0];
|
||||
}
|
||||
|
||||
SinglePvtConstCompr(const Opm::PvdcoTable &pvdcoTable)
|
||||
SinglePvtConstCompr(const Opm::PvcdoTable &pvdcoTable)
|
||||
{
|
||||
if (pvdcoTable.numRows() != 1)
|
||||
OPM_THROW(std::runtime_error,
|
||||
|
Loading…
Reference in New Issue
Block a user