fix typo: it's PVCDO, not PVDCO

This commit is contained in:
Andreas Lauser 2014-04-11 11:54:56 +02:00
parent 79afd9850c
commit e92cac6d0c

View File

@ -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");