Skip to content

Instantly share code, notes, and snippets.

@joakim-hove
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joakim-hove/d51dc11b550031a15391 to your computer and use it in GitHub Desktop.
Save joakim-hove/d51dc11b550031a15391 to your computer and use it in GitHub Desktop.
Generated header: ParserKeyword.hpp
/* This is a header containing compile time constants for all the
keywords in the Json configuration. The actual values for the
keywordName, itemName and defaultValue members are compiled in.*/
#ifndef PARSER_KEYWORDS_HPP
#define PARSER_KEYWORDS_HPP
#include <opm/parser/eclipse/Parser/ParserKeyword.hpp>
namespace Opm {
namespace ParserKeywords {
.....
class EQUIL : public ParserKeyword {
public:
static const std::string keywordName;
class DATUM_DEPTH {
public:
static const std::string itemName;
static const double defaultValue;
};
class DATUM_PRESSURE {
public:
static const std::string itemName;
};
class OWC {
public:
static const std::string itemName;
static const double defaultValue;
};
class PC_OWC {
public:
static const std::string itemName;
static const double defaultValue;
};
class GOC {
public:
static const std::string itemName;
static const double defaultValue;
};
class PC_GOC {
public:
static const std::string itemName;
static const double defaultValue;
};
class BLACK_OIL_INIT {
public:
static const std::string itemName;
static const int defaultValue;
};
class BLACK_OIL_INIT_WG {
public:
static const std::string itemName;
static const int defaultValue;
};
class OIP_INIT {
public:
static const std::string itemName;
static const int defaultValue;
};
};
....
} // namespace ParserKeywords
} // namespace Opm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment