|
static void | normalise_vector (double v[]) |
|
static void | parse_arguments (int argc, char **argv, struct grid_config *src_grid_config, struct grid_config *tgt_grid_config, char const **weight_filename, char const **vtk_filename) |
|
static void | read_link_data (char const *weight_filename, int src_address_offset, int tgt_address_offset, struct link_data **links, unsigned *num_links, enum yac_location **src_locations, enum yac_location *tgt_location, unsigned *max_src_idx, unsigned *max_tgt_idx) |
|
static void | write_data_to_file (char const *filename, struct yac_basic_grid_data src_grid, struct yac_basic_grid_data tgt_grid, struct link_data *links, unsigned num_links, enum yac_location *src_locations, enum yac_location tgt_location) |
|
static struct yac_basic_grid_data | create_grid (struct grid_config grid_config) |
|
int | main (int argc, char **argv) |
|
static int | check_global_attribute (int ncid, char const *att_name, char const *ref_att_text) |
|
static enum weight_file_type | determine_weight_file_type (int ncid) |
|
static void | get_cell_middle_point (struct yac_basic_grid_data *grid, size_t cell_index, double *point) |
|
static void | get_edge_middle_point (struct yac_basic_grid_data *grid, size_t edge_index, double *point) |
|
static void | get_point_coordinates (struct yac_basic_grid_data *grid, size_t point_index, enum yac_location location, double *point) |
|
static int | get_point_id (struct yac_basic_grid_data *grid, size_t point_index, enum yac_location location) |
|
static void | get_link_xyz_coordinates (struct link_data *links, unsigned num_links, struct yac_basic_grid_data *src_grid, struct yac_basic_grid_data *tgt_grid, enum yac_location *src_locations, enum yac_location tgt_location, yac_coordinate_pointer points) |
|
static void | get_grid_cell_data (struct yac_basic_grid_data *grid, unsigned *cell_data, unsigned offset) |
|
static void | get_link_address_data (unsigned num_links, unsigned *polygon_data, unsigned offset) |
|
static void | interpret_grid_arg (struct grid_config *grid_config, char *arg, char *str) |
|
static double * | generate_vertices (double start, double end, size_t count) |
|
static struct yac_basic_grid_data | generate_gauss_grid (double *first_corner, double *last_corner, size_t *num_cells) |
|
static struct yac_basic_grid_data | create_grid (struct grid_config grid_config) |
|