ecl_sum_tstep.hpp File Reference
#include <ert/util/int_vector.hpp>
#include <ert/ecl/ecl_smspec.hpp>
#include <ert/ecl/ecl_kw.hpp>
Include dependency graph for ecl_sum_tstep.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct ecl_sum_tstep_struct ecl_sum_tstep_type
 

Functions

ecl_sum_tstep_typeecl_sum_tstep_alloc_remap_copy (const ecl_sum_tstep_type *src, const ecl_smspec_type *new_smspec, float default_value, const int *params_map)
 
ecl_sum_tstep_typeecl_sum_tstep_alloc_copy (const ecl_sum_tstep_type *src)
 
void ecl_sum_tstep_free (ecl_sum_tstep_type *ministep)
 
void ecl_sum_tstep_free__ (void *__ministep)
 
ecl_sum_tstep_typeecl_sum_tstep_alloc_from_file (int report_step, int ministep_nr, const ecl_kw_type *params_kw, const char *src_file, const ecl_smspec_type *smspec)
 
ecl_sum_tstep_typeecl_sum_tstep_alloc_new (int report_step, int ministep, float sim_seconds, const ecl_smspec_type *smspec)
 
void ecl_sum_tstep_set_from_node (ecl_sum_tstep_type *tstep, const ecl::smspec_node &smspec_node, float value)
 
double ecl_sum_tstep_get_from_node (const ecl_sum_tstep_type *tstep, const ecl::smspec_node &smspec_node)
 
double ecl_sum_tstep_iget (const ecl_sum_tstep_type *ministep, int index)
 
time_t ecl_sum_tstep_get_sim_time (const ecl_sum_tstep_type *ministep)
 
double ecl_sum_tstep_get_sim_days (const ecl_sum_tstep_type *ministep)
 
double ecl_sum_tstep_get_sim_seconds (const ecl_sum_tstep_type *ministep)
 
int ecl_sum_tstep_get_report (const ecl_sum_tstep_type *ministep)
 
int ecl_sum_tstep_get_ministep (const ecl_sum_tstep_type *ministep)
 
void ecl_sum_tstep_fwrite (const ecl_sum_tstep_type *ministep, const int *index_map, int index_map_size, fortio_type *fortio)
 
void ecl_sum_tstep_iset (ecl_sum_tstep_type *tstep, int index, float value)
 
void ecl_sum_tstep_iscale (ecl_sum_tstep_type *tstep, int index, float scalar)
 scales with value; equivalent to iset( iget() * scalar) More...
 
void ecl_sum_tstep_ishift (ecl_sum_tstep_type *tstep, int index, float addend)
 adds addend to tstep[index]; equivalent to iset( iget() + addend) More...
 
void ecl_sum_tstep_set_from_key (ecl_sum_tstep_type *tstep, const char *gen_key, float value)
 
double ecl_sum_tstep_get_from_key (const ecl_sum_tstep_type *tstep, const char *gen_key)
 
bool ecl_sum_tstep_has_key (const ecl_sum_tstep_type *tstep, const char *gen_key)
 
bool ecl_sum_tstep_sim_time_equal (const ecl_sum_tstep_type *tstep1, const ecl_sum_tstep_type *tstep2)
 
 UTIL_SAFE_CAST_HEADER (ecl_sum_tstep)
 
 UTIL_SAFE_CAST_HEADER_CONST (ecl_sum_tstep)
 

Typedef Documentation

◆ ecl_sum_tstep_type

typedef struct ecl_sum_tstep_struct ecl_sum_tstep_type

Function Documentation

◆ ecl_sum_tstep_alloc_copy()

ecl_sum_tstep_type * ecl_sum_tstep_alloc_copy ( const ecl_sum_tstep_type src)

◆ ecl_sum_tstep_alloc_from_file()

ecl_sum_tstep_type * ecl_sum_tstep_alloc_from_file ( int  report_step,
int  ministep_nr,
const ecl_kw_type params_kw,
const char *  src_file,
const ecl_smspec_type smspec 
)

◆ ecl_sum_tstep_alloc_new()

ecl_sum_tstep_type * ecl_sum_tstep_alloc_new ( int  report_step,
int  ministep,
float  sim_seconds,
const ecl_smspec_type smspec 
)

◆ ecl_sum_tstep_alloc_remap_copy()

ecl_sum_tstep_type * ecl_sum_tstep_alloc_remap_copy ( const ecl_sum_tstep_type src,
const ecl_smspec_type new_smspec,
float  default_value,
const int *  params_map 
)

◆ ecl_sum_tstep_free()

void ecl_sum_tstep_free ( ecl_sum_tstep_type ministep)

◆ ecl_sum_tstep_free__()

void ecl_sum_tstep_free__ ( void *  __ministep)

◆ ecl_sum_tstep_fwrite()

void ecl_sum_tstep_fwrite ( const ecl_sum_tstep_type ministep,
const int *  index_map,
int  index_map_size,
fortio_type fortio 
)

◆ ecl_sum_tstep_get_from_key()

double ecl_sum_tstep_get_from_key ( const ecl_sum_tstep_type tstep,
const char *  gen_key 
)

◆ ecl_sum_tstep_get_from_node()

double ecl_sum_tstep_get_from_node ( const ecl_sum_tstep_type tstep,
const ecl::smspec_node smspec_node 
)

◆ ecl_sum_tstep_get_ministep()

int ecl_sum_tstep_get_ministep ( const ecl_sum_tstep_type ministep)

◆ ecl_sum_tstep_get_report()

int ecl_sum_tstep_get_report ( const ecl_sum_tstep_type ministep)

◆ ecl_sum_tstep_get_sim_days()

double ecl_sum_tstep_get_sim_days ( const ecl_sum_tstep_type ministep)

◆ ecl_sum_tstep_get_sim_seconds()

double ecl_sum_tstep_get_sim_seconds ( const ecl_sum_tstep_type ministep)

◆ ecl_sum_tstep_get_sim_time()

time_t ecl_sum_tstep_get_sim_time ( const ecl_sum_tstep_type ministep)

◆ ecl_sum_tstep_has_key()

bool ecl_sum_tstep_has_key ( const ecl_sum_tstep_type tstep,
const char *  gen_key 
)

◆ ecl_sum_tstep_iget()

double ecl_sum_tstep_iget ( const ecl_sum_tstep_type ministep,
int  index 
)

◆ ecl_sum_tstep_iscale()

void ecl_sum_tstep_iscale ( ecl_sum_tstep_type tstep,
int  index,
float  scalar 
)

scales with value; equivalent to iset( iget() * scalar)

◆ ecl_sum_tstep_iset()

void ecl_sum_tstep_iset ( ecl_sum_tstep_type tstep,
int  index,
float  value 
)

◆ ecl_sum_tstep_ishift()

void ecl_sum_tstep_ishift ( ecl_sum_tstep_type tstep,
int  index,
float  addend 
)

adds addend to tstep[index]; equivalent to iset( iget() + addend)

◆ ecl_sum_tstep_set_from_key()

void ecl_sum_tstep_set_from_key ( ecl_sum_tstep_type tstep,
const char *  gen_key,
float  value 
)

◆ ecl_sum_tstep_set_from_node()

void ecl_sum_tstep_set_from_node ( ecl_sum_tstep_type tstep,
const ecl::smspec_node smspec_node,
float  value 
)

◆ ecl_sum_tstep_sim_time_equal()

bool ecl_sum_tstep_sim_time_equal ( const ecl_sum_tstep_type tstep1,
const ecl_sum_tstep_type tstep2 
)

◆ UTIL_SAFE_CAST_HEADER()

UTIL_SAFE_CAST_HEADER ( ecl_sum_tstep  )

◆ UTIL_SAFE_CAST_HEADER_CONST()

UTIL_SAFE_CAST_HEADER_CONST ( ecl_sum_tstep  )