mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-29 12:33:49 -06:00
fix typo: it's PVCDO, not PVDCO
This commit is contained in:
parent
79afd9850c
commit
e92cac6d0c
@ -35,7 +35,7 @@
|
|||||||
#include <opm/parser/eclipse/Deck/Deck.hpp>
|
#include <opm/parser/eclipse/Deck/Deck.hpp>
|
||||||
#include <opm/parser/eclipse/Utility/PvdoTable.hpp>
|
#include <opm/parser/eclipse/Utility/PvdoTable.hpp>
|
||||||
#include <opm/parser/eclipse/Utility/PvtgTable.hpp>
|
#include <opm/parser/eclipse/Utility/PvtgTable.hpp>
|
||||||
#include <opm/parser/eclipse/Utility/PvdcoTable.hpp>
|
#include <opm/parser/eclipse/Utility/PvcdoTable.hpp>
|
||||||
|
|
||||||
namespace Opm
|
namespace Opm
|
||||||
{
|
{
|
||||||
@ -191,7 +191,7 @@ namespace Opm
|
|||||||
Opm::PvtoTable pvtoTable(newParserDeck->getKeyword("PVTO"), /*tableIdx=*/0);
|
Opm::PvtoTable pvtoTable(newParserDeck->getKeyword("PVTO"), /*tableIdx=*/0);
|
||||||
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 pvdcoTable(newParserDeck->getKeyword("PVCDO"), region_number);
|
Opm::PvcdoTable pvdcoTable(newParserDeck->getKeyword("PVCDO"), region_number);
|
||||||
props_[phase_usage_.phase_pos[Liquid]].reset(new SinglePvtConstCompr(pvdcoTable));
|
props_[phase_usage_.phase_pos[Liquid]].reset(new SinglePvtConstCompr(pvdcoTable));
|
||||||
} else {
|
} else {
|
||||||
OPM_THROW(std::runtime_error, "Input is missing PVDO, PVTO or PVCDO\n");
|
OPM_THROW(std::runtime_error, "Input is missing PVDO, PVTO or PVCDO\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user