fix typo: it's PVCDO, not PVDCO
(since the parser did not have a definition for this keyword until _very_ recently, I severly doubt that these code paths have been used recently...)
This commit is contained in:
parent
f1b4321d28
commit
693ac17aed
@ -33,7 +33,7 @@
|
|||||||
#include <opm/core/utility/linearInterpolation.hpp>
|
#include <opm/core/utility/linearInterpolation.hpp>
|
||||||
|
|
||||||
#include <opm/parser/eclipse/Utility/PvtwTable.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>
|
#include <opm/parser/eclipse/Deck/Deck.hpp>
|
||||||
|
|
||||||
namespace Opm
|
namespace Opm
|
||||||
@ -168,7 +168,7 @@ namespace Opm
|
|||||||
|
|
||||||
props_[phase_usage_.phase_pos[Liquid]].reset(new SinglePvtLiveOil(pvtoTable));
|
props_[phase_usage_.phase_pos[Liquid]].reset(new SinglePvtLiveOil(pvtoTable));
|
||||||
} else if (newParserDeck->hasKeyword("PVCDO")) {
|
} 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));
|
props_[phase_usage_.phase_pos[Liquid]].reset(new SinglePvtConstCompr(pvcdoTable));
|
||||||
} else {
|
} else {
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
#include <opm/core/utility/ErrorMacros.hpp>
|
#include <opm/core/utility/ErrorMacros.hpp>
|
||||||
|
|
||||||
#include <opm/parser/eclipse/Utility/PvtwTable.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 <vector>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
@ -71,7 +71,7 @@ namespace Opm
|
|||||||
visc_comp_ = pvtwTable.getViscosibilityColumn()[0];
|
visc_comp_ = pvtwTable.getViscosibilityColumn()[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
SinglePvtConstCompr(const Opm::PvdcoTable &pvdcoTable)
|
SinglePvtConstCompr(const Opm::PvcdoTable &pvdcoTable)
|
||||||
{
|
{
|
||||||
if (pvdcoTable.numRows() != 1)
|
if (pvdcoTable.numRows() != 1)
|
||||||
OPM_THROW(std::runtime_error,
|
OPM_THROW(std::runtime_error,
|
||||||
|
Loading…
Reference in New Issue
Block a user