void gen_data_serialize(const gen_data_type * gen_data , node_id_type node_id , const active_list_type * active_list , 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_serialize( gen_data->data , data_size , data_type , active_list , A , row_offset , column ); }
void gen_kw_serialize(const gen_kw_type *gen_kw , node_id_type node_id , const active_list_type * active_list , matrix_type * A , int row_offset , int column) { const int data_size = gen_kw_config_get_data_size( gen_kw->config ); enkf_matrix_serialize( gen_kw->data , data_size , ECL_DOUBLE_TYPE , active_list , A , row_offset , column); }
void summary_serialize(const summary_type * summary , node_id_type node_id , const active_list_type * active_list , matrix_type * A , int row_offset , int column) { double value = SUMMARY_GET_VALUE( summary , node_id ); enkf_matrix_serialize( &value , 1 , ECL_DOUBLE_TYPE , active_list , A , row_offset , column); }