5#ifndef INTERP_WEIGHTS_H
6#define INTERP_WEIGHTS_H
52 char const * src_grid_name,
char const * tgt_grid_name,
53 size_t src_grid_size,
size_t tgt_grid_size);
81 double scaling_factor,
double scaling_summand,
82 char const * yaxt_exchanger_name);
void yac_interp_weights_delete(struct yac_interp_weights *weights)
yac_int * yac_interp_weights_get_interp_tgt(struct yac_interp_weights *weights)
void yac_interp_weights_write_to_file(struct yac_interp_weights *weights, char const *filename, char const *src_grid_name, char const *tgt_grid_name, size_t src_grid_size, size_t tgt_grid_size)
struct yac_interpolation * yac_interp_weights_get_interpolation(struct yac_interp_weights *weights, enum yac_interp_weights_reorder_type reorder, size_t collection_size, double frac_mask_fallback_value, double scaling_factor, double scaling_summand, char const *yaxt_exchanger_name)
yac_interp_weights_reorder_type
@ YAC_MAPPING_ON_TGT
weights will be applied at target processes
@ YAC_MAPPING_ON_SRC
weights will be appied at source processes
struct yac_interp_weights * yac_interp_weights_new(MPI_Comm comm, enum yac_location tgt_location, enum yac_location *src_locations, size_t num_src_fields)
size_t yac_interp_weights_get_interp_count(struct yac_interp_weights *weights)
enum yac_location tgt_location
enum yac_location * src_locations
double frac_mask_fallback_value