5#ifndef WEIGHT_FILE_COMMON_H
6#define WEIGHT_FILE_COMMON_H
39 int const * tgt_id,
double const * weights,
42 unsigned num_src_fields,
43 int const * num_links_per_src_field,
44 int * tgt_id_fixed,
unsigned num_fixed_tgt,
45 double * fixed_values,
46 int * num_tgt_per_fixed_value,
47 unsigned num_fixed_values,
65 int const * tgt_id,
double const * weights,
98 unsigned ref_num_src_fields,
99 int const * ref_num_links_per_src_field,
100 int const * ref_tgt_id_fixed,
105 char const * ref_src_grid_name,
106 char const * ref_tgt_grid_name);
char const src_grid_name[]
char const tgt_grid_name[]
unsigned ref_num_fixed_values
int ref_src_address[4 *36]
double ref_weights[4 *36]
int const * ref_num_tgt_per_fixed_value
double const * ref_fixed_values
int ref_tgt_address[4 *36]
void write_cdo_weight_file(char const *file_name, int const *src_id, int const *tgt_id, double const *weights, unsigned num_links, char const *src_grid_name, char const *tgt_grid_name)
void check_weight_file(char const *file_name, int const *ref_src_address, int const *ref_tgt_address, double const *ref_weights, unsigned ref_num_links, enum yac_location const *ref_src_locations, unsigned ref_num_src_fields, int const *ref_num_links_per_src_field, int const *ref_tgt_id_fixed, double const *ref_fixed_values, int const *ref_num_tgt_per_fixed_value, unsigned ref_num_fixed_values, enum yac_location ref_tgt_location, char const *ref_src_grid_name, char const *ref_tgt_grid_name)
void write_weight_file(char const *file_name, int const *src_id, int const *tgt_id, double const *weights, unsigned num_links, enum yac_location const *src_locations, unsigned num_src_fields, int const *num_links_per_src_field, int *tgt_id_fixed, unsigned num_fixed_tgt, double *fixed_values, int *num_tgt_per_fixed_value, unsigned num_fixed_values, enum yac_location tgt_location, char const *src_grid_name, char const *tgt_grid_name)