2020-08-27 06:55:41 -05:00
|
|
|
|
2022-07-07 09:42:06 -05:00
|
|
|
#include <opm/input/eclipse/Deck/UDAValue.hpp>
|
|
|
|
#include <opm/input/eclipse/Parser/ParserItem.hpp>
|
|
|
|
#include <opm/input/eclipse/Parser/ParserRecord.hpp>
|
|
|
|
#include <opm/input/eclipse/Parser/Parser.hpp>
|
2020-08-27 06:55:41 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-07-07 09:42:06 -05:00
|
|
|
|
|
|
|
#include <opm/input/eclipse/Parser/ParserKeywords/Q.hpp>
|
2020-08-27 06:55:41 -05:00
|
|
|
namespace Opm {
|
|
|
|
namespace ParserKeywords {
|
2022-07-07 09:42:06 -05:00
|
|
|
QDRILL::QDRILL() : ParserKeyword("QDRILL", KeywordSize(1, false)) {
|
2020-08-27 06:55:41 -05:00
|
|
|
addValidSectionName("SCHEDULE");
|
|
|
|
clearDeckNames();
|
|
|
|
addDeckName("QDRILL");
|
|
|
|
{
|
|
|
|
ParserRecord record;
|
|
|
|
{
|
|
|
|
ParserItem item("WELL_NAME", ParserItem::itype::STRING);
|
|
|
|
item.setSizeType(ParserItem::item_size::ALL);
|
|
|
|
record.addItem(item);
|
|
|
|
}
|
|
|
|
addRecord( record );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
const std::string QDRILL::keywordName = "QDRILL";
|
|
|
|
const std::string QDRILL::WELL_NAME::itemName = "WELL_NAME";
|
|
|
|
|
|
|
|
|
2022-07-07 09:42:06 -05:00
|
|
|
QHRATING::QHRATING() : ParserKeyword("QHRATING", KeywordSize("RIVRDIMS", "NRATTA", false, 0)) {
|
2020-08-27 06:55:41 -05:00
|
|
|
addValidSectionName("PROPS");
|
|
|
|
clearDeckNames();
|
|
|
|
addDeckName("QHRATING");
|
|
|
|
{
|
|
|
|
ParserRecord record;
|
|
|
|
{
|
|
|
|
ParserItem item("DATA", ParserItem::itype::DOUBLE);
|
|
|
|
item.setSizeType(ParserItem::item_size::ALL);
|
|
|
|
item.push_backDimension("Length*Length*Length/Time");
|
|
|
|
item.push_backDimension("Length");
|
|
|
|
record.addItem(item);
|
|
|
|
}
|
|
|
|
addRecord( record );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
const std::string QHRATING::keywordName = "QHRATING";
|
|
|
|
const std::string QHRATING::DATA::itemName = "DATA";
|
|
|
|
|
|
|
|
|
2022-07-07 09:42:06 -05:00
|
|
|
QMOBIL::QMOBIL() : ParserKeyword("QMOBIL", KeywordSize(1, false)) {
|
2020-08-27 06:55:41 -05:00
|
|
|
addValidSectionName("GRID");
|
|
|
|
clearDeckNames();
|
|
|
|
addDeckName("QMOBIL");
|
|
|
|
{
|
|
|
|
ParserRecord record;
|
|
|
|
{
|
|
|
|
ParserItem item("MOBILE_END_POINT_CORRECTION", ParserItem::itype::STRING);
|
|
|
|
record.addItem(item);
|
|
|
|
}
|
|
|
|
addRecord( record );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
const std::string QMOBIL::keywordName = "QMOBIL";
|
|
|
|
const std::string QMOBIL::MOBILE_END_POINT_CORRECTION::itemName = "MOBILE_END_POINT_CORRECTION";
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|