mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-20 21:43:20 -06:00
7a0bfd4917
* Adjustments to build system for opm-common * Add opm-common as submodule * Disable use of unity build for opm-common
71 lines
1.8 KiB
C++
71 lines
1.8 KiB
C++
|
|
#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>
|
|
|
|
|
|
|
|
|
|
|
|
#include <opm/input/eclipse/Parser/ParserKeywords/Q.hpp>
|
|
namespace Opm {
|
|
namespace ParserKeywords {
|
|
QDRILL::QDRILL() : ParserKeyword("QDRILL", KeywordSize(1, false)) {
|
|
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";
|
|
|
|
|
|
QHRATING::QHRATING() : ParserKeyword("QHRATING", KeywordSize("RIVRDIMS", "NRATTA", false, 0)) {
|
|
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";
|
|
|
|
|
|
QMOBIL::QMOBIL() : ParserKeyword("QMOBIL", KeywordSize(1, false)) {
|
|
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";
|
|
|
|
|
|
}
|
|
}
|