20 #ifndef OPM_UPSCALING_PARSER_ADDITIONS_HPP
21 #define OPM_UPSCALING_PARSER_ADDITIONS_HPP
23 #include <opm/parser/eclipse/Parser/Parser.hpp>
24 #include <opm/parser/eclipse/Parser/ParserKeyword.hpp>
25 #include <opm/json/JsonObject.hpp>
38 const char *rhoJsonData =
39 "{\"name\" : \"RHO\", \"sections\" : [], \"data\" : {\"value_type\" : \"DOUBLE\" }}\n";
41 Json::JsonObject rhoJson(rhoJsonData);
42 parser->addParserKeyword( std::make_shared<const ParserKeyword>( rhoJson ));
Definition: applier.hpp:18
void addNonStandardUpscalingKeywords(Opm::ParserPtr parser)
This function registers the non-standard keywords used by opm-upscaling in a parser object...
Definition: ParserAdditions.hpp:36