YAC 3.12.0
Yet Another Coupler
Loading...
Searching...
No Matches
interp_operator_sum_mvp_at_src.h File Reference

Weighted/unweighted sum operator at source in YAC. More...

#include <yaxt.h>
#include "interp_operator.h"
#include "collection_selection.h"
Include dependency graph for interp_operator_sum_mvp_at_src.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

struct yac_interp_operatoryac_interp_operator_sum_mvp_at_src_new (struct yac_collection_selection const *collection_selection, Xt_redist *halo_redists, size_t tgt_count, size_t *num_src_per_tgt, double *weights, size_t *src_field_idx, size_t *src_idx, size_t num_src_fields, Xt_redist result_redist, int with_frac_mask)
 Create a sum (weighted or unweighted) interpolation operator computed on the source processes.
 

Detailed Description

Weighted/unweighted sum operator at source in YAC.

This header defines the constructor for a source-side sum operator, expressed as a distributed matrix–vector product (MVP). Each target point is computed as the weighted sum of a number of source points. If the argument weights is NULL, the operator performs a simple unweighted sum instead.

Definition in file interp_operator_sum_mvp_at_src.h.