ecl_util.hpp
Go to the documentation of this file.
96#define ECL_PHASE_ENUM_DEFS {.value = 1 , .name = "ECL_OIL_PHASE"}, {.value = 2 , .name = "ECL_GAS_PHASE"} , {.value = 4 , .name = "ECL_WATER_PHASE"}
122char * ecl_util_alloc_filename(const char * /* path */, const char * /* base */, ecl_file_enum , bool /* fmt_file */ , int /*report_nr*/);
123char * ecl_util_alloc_exfilename(const char * /* path */, const char * /* base */, ecl_file_enum , bool /* fmt_file */ , int /*report_nr*/);
126bool ecl_util_alloc_summary_files(const char * , const char * , const char * , char ** , stringlist_type * );
127void ecl_util_alloc_summary_data_files(const char * path , const char * base , bool fmt_file , stringlist_type * filelist);
128void ecl_util_alloc_restart_files(const char * , const char * , char *** , int * , bool * , bool *);
132char * ecl_util_alloc_exfilename_anyfmt(const char * path, const char * base , ecl_file_enum file_type , bool start_fmt , int report_nr);
143int ecl_util_select_filelist( const char * path , const char * base , ecl_file_enum file_type , bool fmt_file , stringlist_type * filelist);
144void ecl_util_append_month_range( time_t_vector_type * date_list , time_t start_date , time_t end_date , bool force_append_end);
145void ecl_util_init_month_range( time_t_vector_type * date_list , time_t start_date , time_t end_date);
int ecl_util_get_month_nr(const char *month_name) bool ecl_util_valid_basename(const char *basename) char * ecl_util_alloc_base_guess(const char *) void ecl_util_append_month_range(time_t_vector_type *date_list, time_t start_date, time_t end_date, bool force_append_end) void ecl_util_memcpy_typed_data(void *, const void *, ecl_data_type, ecl_data_type, int) bool ecl_util_valid_basename_fmt(const char *basename_fmt) void ecl_util_set_date_values(time_t t, int *mday, int *month, int *year) void ecl_util_escape_kw(char *kw) bool ecl_util_path_access(const char *ecl_case) time_t ecl_util_get_start_date(const char *) bool ecl_util_unified_file(const char *filename) int ecl_util_get_num_cpu(const char *data_file) bool ecl_util_alloc_summary_files(const char *, const char *, const char *, char **, stringlist_type *) const char * ecl_util_get_phase_name(ecl_phase_enum phase) void ecl_util_alloc_restart_files(const char *, const char *, char ***, int *, bool *, bool *) int ecl_util_fname_report_cmp(const void *f1, const void *f2) char * ecl_util_alloc_exfilename(const char *, const char *, ecl_file_enum, bool, int) ert_ecl_unit_enum ecl_util_get_unit_set(const char *data_file) time_t ecl_util_make_date__(int mday, int month, int year, int *year_offset) const char * ecl_util_file_type_name(ecl_file_enum file_type) char * ecl_util_alloc_filename(const char *, const char *, ecl_file_enum, bool, int) bool ecl_util_fmt_file(const char *filename, bool *__fmt_file) time_t ecl_util_make_date(int mday, int month, int year) void ecl_util_init_month_range(time_t_vector_type *date_list, time_t start_date, time_t end_date) int ecl_util_select_filelist(const char *path, const char *base, ecl_file_enum file_type, bool fmt_file, stringlist_type *filelist) int ecl_util_filename_report_nr(const char *) ecl_file_enum ecl_util_inspect_extension(const char *ext, bool *_fmt_file, int *_report_nr) char * ecl_util_alloc_exfilename_anyfmt(const char *path, const char *base, ecl_file_enum file_type, bool start_fmt, int report_nr) void ecl_util_alloc_summary_data_files(const char *path, const char *base, bool fmt_file, stringlist_type *filelist) ecl_file_enum ecl_util_get_file_type(const char *filename, bool *fmt_file, int *report_nr) constexpr const double year Definition: custom-opm-common/opm-common/opm/parser/eclipse/Units/Units.hpp:108 std::string basename(const std::string &fname) x y t t *t x y t t t x y t t t x *y t *t t x *y t *t t x y t t t x y t t t t(t+t)") define_sfop3(16 Definition: ecl_type.hpp:72 |