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
26 lines
1.2 KiB
C++
26 lines
1.2 KiB
C++
#include <opm/input/eclipse/Parser/ParserKeywords/Z.hpp>
|
|
#include <opm/input/eclipse/Parser/ParserKeywords/Builtin.hpp>
|
|
namespace Opm { namespace ParserKeywords {
|
|
const ::Opm::ParserKeyword Builtin::get_ZCORN() { return ZCORN(); }
|
|
const ::Opm::ParserKeyword Builtin::get_ZFACT1() { return ZFACT1(); }
|
|
const ::Opm::ParserKeyword Builtin::get_ZFACT1S() { return ZFACT1S(); }
|
|
const ::Opm::ParserKeyword Builtin::get_ZFACTOR() { return ZFACTOR(); }
|
|
const ::Opm::ParserKeyword Builtin::get_ZFACTORS() { return ZFACTORS(); }
|
|
const ::Opm::ParserKeyword Builtin::get_ZIPP2OFF() { return ZIPP2OFF(); }
|
|
const ::Opm::ParserKeyword Builtin::get_ZIPPY2() { return ZIPPY2(); }
|
|
const ::Opm::ParserKeyword Builtin::get_ZMF() { return ZMF(); }
|
|
const ::Opm::ParserKeyword Builtin::get_ZMFVD() { return ZMFVD(); }
|
|
|
|
void Builtin::emplaceZ() const {
|
|
this->keywords.emplace("ZCORN", ZCORN());
|
|
this->keywords.emplace("ZFACT1", ZFACT1());
|
|
this->keywords.emplace("ZFACT1S", ZFACT1S());
|
|
this->keywords.emplace("ZFACTOR", ZFACTOR());
|
|
this->keywords.emplace("ZFACTORS", ZFACTORS());
|
|
this->keywords.emplace("ZIPP2OFF", ZIPP2OFF());
|
|
this->keywords.emplace("ZIPPY2", ZIPPY2());
|
|
this->keywords.emplace("ZMF", ZMF());
|
|
this->keywords.emplace("ZMFVD", ZMFVD());
|
|
}
|
|
} }
|