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
12 lines
439 B
C++
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());
|
|
}
|
|
} }
|