5#ifndef WEIGHT_FILE_COMMON_H
6#define WEIGHT_FILE_COMMON_H
38void utest_write_weight_file(
char const *
file_name,
int const * src_id,
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,
64void utest_write_cdo_weight_file(
char const *
file_name,
int const * src_id,
65 int const * tgt_id,
double const * weights,
94void utest_check_weight_file(
99 unsigned ref_num_src_fields,
100 int const * ref_num_links_per_src_field,
101 int const * ref_tgt_id_fixed,
106 char const * ref_src_grid_name,
107 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]