mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
* Update opm-common submodule and use branch development https://github.com/CeetronSolutions/opm-common/tree/development * Add cmake-format of ThirdParty/custom-opm-common/CMakeLists.txt * Add boost-test * Update generated files and simplify CMake configuration Add -D_USE_MATH_DEFINES to CMake to avoid multiple local defines Introduce flag CREATE_OPM_COMMON_KEYWORDS used to generate C++ files JSON files. This enables use also in MSVC. Remove obsolete direct include of source files. * Update generated ESMRY test file There was a invalid extra : postfix for some keywords like NEWTON and other N* keywords. When creating ESRMY using updated opm-common fix this issue. * Update URL for custom-opm-common
14 lines
565 B
C++
14 lines
565 B
C++
#include <opm/input/eclipse/Parser/ParserKeywords/Q.hpp>
|
|
#include <opm/input/eclipse/Parser/ParserKeywords/Builtin.hpp>
|
|
namespace Opm { namespace ParserKeywords {
|
|
const ::Opm::ParserKeyword Builtin::get_QDRILL() { return QDRILL(); }
|
|
const ::Opm::ParserKeyword Builtin::get_QHRATING() { return QHRATING(); }
|
|
const ::Opm::ParserKeyword Builtin::get_QMOBIL() { return QMOBIL(); }
|
|
|
|
void Builtin::emplaceQ() const {
|
|
this->keywords.emplace("QDRILL", QDRILL());
|
|
this->keywords.emplace("QHRATING", QHRATING());
|
|
this->keywords.emplace("QMOBIL", QMOBIL());
|
|
}
|
|
} }
|