|
YAC 3.12.0
Yet Another Coupler
|
#include "interpolation/interp_weights.h"#include "interpolation/interpolation_internal.h"#include "grids/dist_grid_internal.h"

Go to the source code of this file.
Functions | |
| void | yac_interp_weights_add_fixed (struct yac_interp_weights *weights, struct remote_points *tgts, double fixed_value) |
| void | yac_interp_weights_add_wsum (struct yac_interp_weights *weights, struct remote_points *tgts, size_t *num_src_per_tgt, struct remote_point *srcs, double *w) |
| void | yac_interp_weights_add_sum (struct yac_interp_weights *weights, struct remote_points *tgts, size_t *num_src_per_tgt, struct remote_point *srcs) |
| void | yac_interp_weights_add_direct (struct yac_interp_weights *weights, struct remote_points *tgts, struct remote_point *srcs) |
| void | yac_interp_weights_add_wsum_mf (struct yac_interp_weights *weights, struct remote_points *tgts, size_t *num_src_per_field_per_tgt, struct remote_point **srcs_per_field, double *w, size_t num_src_fields) |
| void | yac_interp_weights_add_sum_mf (struct yac_interp_weights *weights, struct remote_points *tgts, size_t *num_src_per_field_per_tgt, struct remote_point **srcs_per_field, size_t num_src_fields) |
| void | yac_interp_weights_add_direct_mf (struct yac_interp_weights *weights, struct remote_points *tgts, size_t *src_field_indices, struct remote_point **srcs_per_field, size_t num_src_fields) |
| void | yac_interp_weights_wcopy_weights (struct yac_interp_weights *weights, struct remote_points *tgts, size_t *num_stencils_per_tgt, size_t *stencil_indices, int *stencil_ranks, double *w) |
| MPI_Comm | yac_interp_weights_get_comm (struct yac_interp_weights *weights) |
| void yac_interp_weights_add_direct | ( | struct yac_interp_weights * | weights, |
| struct remote_points * | tgts, | ||
| struct remote_point * | srcs ) |
adds targets that are to get single source values
| [in] | weights | interpolation weights |
| [in] | tgts | targets that get the value of a selected source point |
| [in] | srcs | sources |
Definition at line 482 of file interp_weights.c.


| void yac_interp_weights_add_direct_mf | ( | struct yac_interp_weights * | weights, |
| struct remote_points * | tgts, | ||
| size_t * | src_field_indices, | ||
| struct remote_point ** | srcs_per_field, | ||
| size_t | num_src_fields ) |
adds targets that are to get single source values
| [in] | weights | interpolation weights |
| [in] | tgts | targets that get the value of a selected source point |
| [in] | src_field_indices | source field indices of selected source point |
| [in] | srcs_per_field | sources per source field |
| [in] | num_src_fields | number of input source fields |
Definition at line 506 of file interp_weights.c.


| void yac_interp_weights_add_fixed | ( | struct yac_interp_weights * | weights, |
| struct remote_points * | tgts, | ||
| double | fixed_value ) |
adds targets that are to get a fixed value
| [in] | weights | interpolation weights |
| [in] | tgts | targets that get a fixed value |
| [in] | fixed_value | fixed value that is to be assigned to the provided targets |
Definition at line 307 of file interp_weights.c.


| void yac_interp_weights_add_sum | ( | struct yac_interp_weights * | weights, |
| struct remote_points * | tgts, | ||
| size_t * | num_src_per_tgt, | ||
| struct remote_point * | srcs ) |
adds targets that are to get a sum of source values
| [in] | weights | interpolation weights |
| [in] | tgts | targets that get the weighted sum |
| [in] | num_src_per_tgt | number of sources per target |
| [in] | srcs | sources |
Definition at line 435 of file interp_weights.c.


| void yac_interp_weights_add_sum_mf | ( | struct yac_interp_weights * | weights, |
| struct remote_points * | tgts, | ||
| size_t * | num_src_per_field_per_tgt, | ||
| struct remote_point ** | srcs_per_field, | ||
| size_t | num_src_fields ) |
adds targets that are to get a sum of source values
| [in] | weights | interpolation weights |
| [in] | tgts | targets that get the sum |
| [in] | num_src_per_field_per_tgt | number of sources per target per source field |
| [in] | srcs_per_field | sources per source field |
| [in] | num_src_fields | number of input source fields |
Definition at line 545 of file interp_weights.c.


| void yac_interp_weights_add_wsum | ( | struct yac_interp_weights * | weights, |
| struct remote_points * | tgts, | ||
| size_t * | num_src_per_tgt, | ||
| struct remote_point * | srcs, | ||
| double * | w ) |
adds targets that are to get a weighted sum of source values
| [in] | weights | interpolation weights |
| [in] | tgts | targets that get the sum |
| [in] | num_src_per_tgt | number of sources per target |
| [in] | srcs | sources |
| [in] | w | weights |
Definition at line 329 of file interp_weights.c.


| void yac_interp_weights_add_wsum_mf | ( | struct yac_interp_weights * | weights, |
| struct remote_points * | tgts, | ||
| size_t * | num_src_per_field_per_tgt, | ||
| struct remote_point ** | srcs_per_field, | ||
| double * | w, | ||
| size_t | num_src_fields ) |
adds targets that are to get a weighted sum of source values
| [in] | weights | interpolation weights |
| [in] | tgts | targets that get the weighted sum |
| [in] | num_src_per_field_per_tgt | number of sources per target per source field |
| [in] | srcs_per_field | sources per source field |
| [in] | w | weights |
| [in] | num_src_fields | number of input source fields |
Definition at line 632 of file interp_weights.c.


| MPI_Comm yac_interp_weights_get_comm | ( | struct yac_interp_weights * | weights | ) |
returns the MPI communicator used by weights
| [in] | weights | interpololation weights |
Definition at line 6410 of file interp_weights.c.

| void yac_interp_weights_wcopy_weights | ( | struct yac_interp_weights * | weights, |
| struct remote_points * | tgts, | ||
| size_t * | num_stencils_per_tgt, | ||
| size_t * | stencil_indices, | ||
| int * | stencil_ranks, | ||
| double * | w ) |
adds targets whose stencil is the weighted sum of the copies of existing stencils
| [in] | weights | interpolation weights |
| [in] | tgts | targets that get the weightes sum |
| [in] | num_stencils_per_tgt | number of stencils per target |
| [in] | stencil_indices | indices of the stencils to be copied |
| [in] | stencil_ranks | ranks of the processs owning the respective stencil |
| [in] | w | weights |
Definition at line 3201 of file interp_weights.c.

