smspec_node.hpp
Go to the documentation of this file.
42 int num; /* The value of the NUMS vector for this elements - NB this will have the value SMSPEC_NUMS_INVALID if the smspec file does not have a NUMS vector. */
43 std::string lgr_name; /* The lgr name of the current variable - will be NULL for non-lgr variables. */
46 /*------------------------------------------- All members below this line are *derived* quantities. */
49 std::string gen_key2; /* Some of the ijk based elements will have both a xxx:i,j,k and a xxx:num key. Some of the region_2_region elements will have both a xxx:num and a xxx:r2-r2 key. Mostly NULL. */
51 std::array<int,3> ijk; /* The ijk coordinates (NB: OFFSET 1) corresponding to the nums value - will be NULL if not relevant. */
52 bool rate_variable; /* Is this a rate variable (i.e. WOPR) or a state variable (i.e. BPR). Relevant when doing time interpolation. */
55 int params_index; /* The index of this variable (applies to all the vectors - in particular the PARAMS vectors of the summary files *.Snnnn / *.UNSMRY ). */
90 smspec_node(int param_index, const char * keyword, int num, const char * unit, const int grid_dims[3], float default_value, const char * key_join_string);
91 smspec_node(int param_index, const char * keyword, int num, const char * unit, float default_value, const char * key_join_string);
92 smspec_node(int param_index, const char * keyword, const char * wgname, const char * unit, float default_value, const char * key_join_string);
93 smspec_node(int param_index, const char * keyword, const char * wgname, int num, const char * unit, float default_value, const char * key_join_string);
Definition: smspec_node.hpp:36 smspec_node(int param_index, const char *keyword, int num, const char *unit, const int grid_dims[3], float default_value, const char *key_join_string) bool is_rate() const const std::array< int, 3 > & get_ijk() const int cmp(const smspec_node &node2) const smspec_node(int param_index, const char *keyword, const char *unit, float default_value) const char * get_gen_key1() const float get_default() const bool need_nums() const int get_num() const smspec_node(const smspec_node &node, int param_index) static ecl_smspec_var_type valid_type(const char *keyword, const char *wgname, int num) smspec_node(int param_index, const char *keyword, const char *wgname, int num, const char *unit, const int grid_dims[3], float default_value, const char *key_join_string) const char * get_gen_key2() const const std::array< int, 3 > & get_lgr_ijk() const int get_R1() const int get_params_index() const static int cmp(const smspec_node *node1, const smspec_node *node2) Definition: smspec_node.hpp:98 int get_R2() const bool is_total() const const char * get_lgr_name() const smspec_node(int param_index, const char *keyword, const char *wgname, const char *unit, float default_value, const char *key_join_string) smspec_node(int param_index, const char *keyword, const char *wgname, const char *unit, const char *lgr, int lgr_i, int lgr_j, int lgr_k, float default_value, const char *key_join_string) ecl_smspec_var_type get_var_type() const const char * get_wgname() const static int cmp(const smspec_node &node1, const smspec_node &node2) const char * get_keyword() const void fprintf__(FILE *stream) const smspec_node(int param_index, const char *keyword, int num, const char *unit, float default_value, const char *key_join_string) smspec_node(int param_index, const char *keyword, const char *wgname, int num, const char *unit, float default_value, const char *key_join_string) const char * get_unit() const static ecl_smspec_var_type identify_var_type(const char *var) bool is_historical() const Definition: ecl_box.hpp:26 |