Files
ResInsight/ThirdParty/custom-opm-common/generated-opm-common/ParserKeywords/BuiltinK.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

12 lines
439 B
C++

#include <opm/input/eclipse/Parser/ParserKeywords/K.hpp>
#include <opm/input/eclipse/Parser/ParserKeywords/Builtin.hpp>
namespace Opm { namespace ParserKeywords {
const ::Opm::ParserKeyword Builtin::get_KRNUM() { return KRNUM(); }
const ::Opm::ParserKeyword Builtin::get_KRNUMMF() { return KRNUMMF(); }
void Builtin::emplaceK() const {
this->keywords.emplace("KRNUM", KRNUM());
this->keywords.emplace("KRNUMMF", KRNUMMF());
}
} }