YetAnotherCoupler 3.5.2
Loading...
Searching...
No Matches
duplicate_stencils.h File Reference
#include "interp_weights.h"
Include dependency graph for duplicate_stencils.h:

Go to the source code of this file.

Functions

void yac_duplicate_stencils (struct yac_interp_weights *weights, struct yac_basic_grid *tgt_grid, yac_int *tgt_orig_global_id, size_t *tgt_duplicated_idx, size_t nbr_duplicated, enum yac_location location)
 

Function Documentation

◆ yac_duplicate_stencils()

void yac_duplicate_stencils ( struct yac_interp_weights * weights,
struct yac_basic_grid * tgt_grid,
yac_int * tgt_orig_global_id,
size_t * tgt_duplicated_idx,
size_t nbr_duplicated,
enum yac_location location )

Duplicates stencils for specified target points in a yac_interp_weights data structure.

Parameters
[in,out]weightsweights data structure
[in]tgt_gridtarget grid
[in]tgt_orig_global_idglobal ids of target points, whose interpolation stencils are to be duplicated
[in]tgt_duplicated_idxlocal ids of target points, who are to interpolated using the duplicated stencils
[in]nbr_duplicatednumber of stencils that are to be duplicated
[in]locationlocation of target points
Remarks
this operation is collective for all processes involved in the creation of the weights data structure

Definition at line 90 of file duplicate_stencils.c.

Here is the call graph for this function:
Here is the caller graph for this function: