Exemplo n.º 1
0
void gen_data_deserialize(gen_data_type * gen_data , node_id_type node_id , const active_list_type * active_list , const matrix_type * A , int row_offset , int column) {
  {
    const gen_data_config_type *config   = gen_data->config;
    const int                data_size   = gen_data_config_get_data_size( gen_data->config , gen_data->current_report_step );
    ecl_data_type data_type              = gen_data_config_get_internal_data_type(config);

    enkf_matrix_deserialize( gen_data->data , data_size , data_type , active_list , A , row_offset , column);
  }
}
Exemplo n.º 2
0
Arquivo: gen_kw.c Projeto: blattms/ert
void gen_kw_deserialize(gen_kw_type *gen_kw , node_id_type node_id , const active_list_type * active_list , const matrix_type * A , int row_offset , int column) {
  const int data_size = gen_kw_config_get_data_size( gen_kw->config );
  enkf_matrix_deserialize( gen_kw->data , data_size , ECL_DOUBLE_TYPE , active_list , A , row_offset , column);
}
Exemplo n.º 3
0
void summary_deserialize(summary_type * summary , node_id_type node_id , const active_list_type * active_list , const matrix_type * A , int row_offset , int column) {
  double value;
  enkf_matrix_deserialize( &value , 1 , ECL_DOUBLE_TYPE , active_list , A , row_offset , column);
  SUMMARY_SET_VALUE( summary , node_id , value );
}