Files
ResInsight/ThirdParty/custom-opm-common/generated-opm-common/ParserKeywords/BuiltinQ.cpp
Magne Sjaastad 3f08901379 Use updated opm-common
* 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
2025-01-22 08:34:46 +01:00

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());
}
} }