ecl::ecl_sum_file_data Class Reference

#include <ecl_sum_file_data.hpp>

Public Member Functions

 ecl_sum_file_data (const ecl_smspec_type *smspec)
 
 ~ecl_sum_file_data ()
 
const ecl_smspec_typesmspec () const
 
int length_before (time_t end_time) const
 
void get_time (int length, time_t *data)
 
void get_data (int params_index, int length, double *data)
 
int length () const
 
time_t get_data_start () const
 
time_t get_sim_end () const
 
double iget (int time_index, int params_index) const
 
time_t iget_sim_time (int time_index) const
 
double iget_sim_days (int time_index) const
 
double iget_sim_seconds (int time_index) const
 
ecl_sum_tstep_typeiget_ministep (int internal_index) const
 
double get_days_start () const
 
double get_sim_length () const
 
std::pair< int, int > report_range (int report_step) const
 
bool report_step_equal (const ecl_sum_file_data &other, bool strict) const
 
int report_before (time_t end_time) const
 
int get_time_report (int max_internal_index, time_t *data)
 
int get_data_report (int params_index, int max_internal_index, double *data, double default_value)
 
int first_report () const
 
int last_report () const
 
int iget_report (int time_index) const
 
bool has_report (int report_step) const
 
int report_step_from_days (double sim_days) const
 
int report_step_from_time (time_t sim_time) const
 
ecl_sum_tstep_typeadd_new_tstep (int report_step, double sim_seconds)
 
bool can_write () const
 
void fwrite_unified (fortio_type *fortio) const
 
void fwrite_multiple (const char *ecl_case, bool fmt_case) const
 
bool fread (const stringlist_type *filelist, bool lazy_load, int file_options)
 

Constructor & Destructor Documentation

◆ ecl_sum_file_data()

ecl::ecl_sum_file_data::ecl_sum_file_data ( const ecl_smspec_type smspec)

◆ ~ecl_sum_file_data()

ecl::ecl_sum_file_data::~ecl_sum_file_data ( )

Member Function Documentation

◆ add_new_tstep()

ecl_sum_tstep_type * ecl::ecl_sum_file_data::add_new_tstep ( int  report_step,
double  sim_seconds 
)

◆ can_write()

bool ecl::ecl_sum_file_data::can_write ( ) const

◆ first_report()

int ecl::ecl_sum_file_data::first_report ( ) const

◆ fread()

bool ecl::ecl_sum_file_data::fread ( const stringlist_type filelist,
bool  lazy_load,
int  file_options 
)

◆ fwrite_multiple()

void ecl::ecl_sum_file_data::fwrite_multiple ( const char *  ecl_case,
bool  fmt_case 
) const

◆ fwrite_unified()

void ecl::ecl_sum_file_data::fwrite_unified ( fortio_type fortio) const

◆ get_data()

void ecl::ecl_sum_file_data::get_data ( int  params_index,
int  length,
double *  data 
)

◆ get_data_report()

int ecl::ecl_sum_file_data::get_data_report ( int  params_index,
int  max_internal_index,
double *  data,
double  default_value 
)

◆ get_data_start()

time_t ecl::ecl_sum_file_data::get_data_start ( ) const

◆ get_days_start()

double ecl::ecl_sum_file_data::get_days_start ( ) const

◆ get_sim_end()

time_t ecl::ecl_sum_file_data::get_sim_end ( ) const

◆ get_sim_length()

double ecl::ecl_sum_file_data::get_sim_length ( ) const

◆ get_time()

void ecl::ecl_sum_file_data::get_time ( int  length,
time_t *  data 
)

◆ get_time_report()

int ecl::ecl_sum_file_data::get_time_report ( int  max_internal_index,
time_t *  data 
)

◆ has_report()

bool ecl::ecl_sum_file_data::has_report ( int  report_step) const

◆ iget()

double ecl::ecl_sum_file_data::iget ( int  time_index,
int  params_index 
) const

◆ iget_ministep()

ecl_sum_tstep_type * ecl::ecl_sum_file_data::iget_ministep ( int  internal_index) const

◆ iget_report()

int ecl::ecl_sum_file_data::iget_report ( int  time_index) const

◆ iget_sim_days()

double ecl::ecl_sum_file_data::iget_sim_days ( int  time_index) const

◆ iget_sim_seconds()

double ecl::ecl_sum_file_data::iget_sim_seconds ( int  time_index) const

◆ iget_sim_time()

time_t ecl::ecl_sum_file_data::iget_sim_time ( int  time_index) const

◆ last_report()

int ecl::ecl_sum_file_data::last_report ( ) const

◆ length()

int ecl::ecl_sum_file_data::length ( ) const

◆ length_before()

int ecl::ecl_sum_file_data::length_before ( time_t  end_time) const

◆ report_before()

int ecl::ecl_sum_file_data::report_before ( time_t  end_time) const

◆ report_range()

std::pair< int, int > ecl::ecl_sum_file_data::report_range ( int  report_step) const

◆ report_step_equal()

bool ecl::ecl_sum_file_data::report_step_equal ( const ecl_sum_file_data other,
bool  strict 
) const

◆ report_step_from_days()

int ecl::ecl_sum_file_data::report_step_from_days ( double  sim_days) const

◆ report_step_from_time()

int ecl::ecl_sum_file_data::report_step_from_time ( time_t  sim_time) const

◆ smspec()

const ecl_smspec_type * ecl::ecl_sum_file_data::smspec ( ) const

The documentation for this class was generated from the following file: