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

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

#include <yaxt.h>
#include "interp_operator.h"
#include "collection_selection.h"
Include dependency graph for interp_operator_sum_mvp_at_tgt.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_tgt_new (struct yac_collection_selection const *collection_selection, Xt_redist *src_redists, size_t *tgt_pos, 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, int with_frac_mask)
 Create a sum (weighted or unweighted) interpolation operator computed on the target processes.
 

Detailed Description

Weighted/unweighted sum operator at target in YAC.

This header defines the constructor for a target-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_tgt.h.