YetAnotherCoupler 3.5.2
Loading...
Searching...
No Matches
interpolation_sum_mvp_at_tgt.c File Reference
#include <string.h>
#include "interpolation_sum_mvp_at_tgt.h"
#include "utils_core.h"
#include "yaxt.h"
#include "interpolation_utils.h"
#include "interpolation_exchange.h"
Include dependency graph for interpolation_sum_mvp_at_tgt.c:

Go to the source code of this file.

Data Structures

struct  yac_interpolation_sum_mvp_at_tgt
 

Functions

static int yac_interpolation_sum_mvp_at_tgt_is_source (struct yac_interpolation_type *interp)
 
static int yac_interpolation_sum_mvp_at_tgt_is_target (struct yac_interpolation_type *interp)
 
static void yac_interpolation_sum_mvp_at_tgt_execute (struct yac_interpolation_type *interp, double ***src_fields, double ***src_frac_masks, double **tgt_field, double frac_mask_fallback_value, double scale_factor, double scale_summand)
 
static void yac_interpolation_sum_mvp_at_tgt_execute_put (struct yac_interpolation_type *interp, double ***src_fields, double ***src_frac_masks, int is_target, double frac_mask_fallback_value, double scale_factor, double scale_summand)
 
static void yac_interpolation_sum_mvp_at_tgt_execute_get (struct yac_interpolation_type *interp, double **tgt_field, double frac_mask_fallback_value, double scale_factor, double scale_summand)
 
static void yac_interpolation_sum_mvp_at_tgt_execute_get_async (struct yac_interpolation_type *interp, double **tgt_field, double frac_mask_fallback_value, double scale_factor, double scale_summand)
 
static int yac_interpolation_sum_mvp_at_tgt_execute_put_test (struct yac_interpolation_type *interp)
 
static int yac_interpolation_sum_mvp_at_tgt_execute_get_test (struct yac_interpolation_type *interp)
 
static void yac_interpolation_sum_mvp_at_tgt_execute_wait (struct yac_interpolation_type *interp)
 
static struct yac_interpolation_typeyac_interpolation_sum_mvp_at_tgt_copy (struct yac_interpolation_type *interp)
 
static void yac_interpolation_sum_mvp_at_tgt_delete (struct yac_interpolation_type *interp)
 
static struct yac_interpolation_typeyac_interpolation_sum_mvp_at_tgt_new_ (size_t collection_size, struct yac_interpolation_buffer src_send_data, struct yac_interpolation_buffer src_recv_data, struct yac_interpolation_exchange *src2tgt, size_t *tgt_pos, size_t tgt_count, size_t *prefix_num_src_per_tgt, double *weights, size_t *src_field_idx, size_t *src_idx, size_t num_src_fields, int with_frac_mask, int *ref_count)
 
struct yac_interpolation_typeyac_interpolation_sum_mvp_at_tgt_new (size_t collection_size, 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)
 
static void compute_tgt (struct yac_interpolation_sum_mvp_at_tgt *sum_mvp_at_tgt)
 

Variables

static struct yac_interpolation_type_vtable const interpolation_sum_mvp_at_tgt_vtable
 

Function Documentation

◆ compute_tgt()

static void compute_tgt ( struct yac_interpolation_sum_mvp_at_tgt * sum_mvp_at_tgt)
static

Definition at line 336 of file interpolation_sum_mvp_at_tgt.c.

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

◆ yac_interpolation_sum_mvp_at_tgt_copy()

static struct yac_interpolation_type * yac_interpolation_sum_mvp_at_tgt_copy ( struct yac_interpolation_type * interp)
static

Definition at line 469 of file interpolation_sum_mvp_at_tgt.c.

Here is the call graph for this function:

◆ yac_interpolation_sum_mvp_at_tgt_delete()

static void yac_interpolation_sum_mvp_at_tgt_delete ( struct yac_interpolation_type * interp)
static

Definition at line 494 of file interpolation_sum_mvp_at_tgt.c.

Here is the call graph for this function:

◆ yac_interpolation_sum_mvp_at_tgt_execute()

static void yac_interpolation_sum_mvp_at_tgt_execute ( struct yac_interpolation_type * interp,
double *** src_fields,
double *** src_frac_masks,
double ** tgt_field,
double frac_mask_fallback_value,
double scale_factor,
double scale_summand )
static

Definition at line 239 of file interpolation_sum_mvp_at_tgt.c.

Here is the call graph for this function:

◆ yac_interpolation_sum_mvp_at_tgt_execute_get()

static void yac_interpolation_sum_mvp_at_tgt_execute_get ( struct yac_interpolation_type * interp,
double ** tgt_field,
double frac_mask_fallback_value,
double scale_factor,
double scale_summand )
static

Definition at line 370 of file interpolation_sum_mvp_at_tgt.c.

Here is the call graph for this function:

◆ yac_interpolation_sum_mvp_at_tgt_execute_get_async()

static void yac_interpolation_sum_mvp_at_tgt_execute_get_async ( struct yac_interpolation_type * interp,
double ** tgt_field,
double frac_mask_fallback_value,
double scale_factor,
double scale_summand )
static

Definition at line 397 of file interpolation_sum_mvp_at_tgt.c.

Here is the call graph for this function:

◆ yac_interpolation_sum_mvp_at_tgt_execute_get_test()

static int yac_interpolation_sum_mvp_at_tgt_execute_get_test ( struct yac_interpolation_type * interp)
static

Definition at line 438 of file interpolation_sum_mvp_at_tgt.c.

Here is the call graph for this function:

◆ yac_interpolation_sum_mvp_at_tgt_execute_put()

static void yac_interpolation_sum_mvp_at_tgt_execute_put ( struct yac_interpolation_type * interp,
double *** src_fields,
double *** src_frac_masks,
int is_target,
double frac_mask_fallback_value,
double scale_factor,
double scale_summand )
static

Definition at line 286 of file interpolation_sum_mvp_at_tgt.c.

Here is the call graph for this function:

◆ yac_interpolation_sum_mvp_at_tgt_execute_put_test()

static int yac_interpolation_sum_mvp_at_tgt_execute_put_test ( struct yac_interpolation_type * interp)
static

Definition at line 421 of file interpolation_sum_mvp_at_tgt.c.

Here is the call graph for this function:

◆ yac_interpolation_sum_mvp_at_tgt_execute_wait()

static void yac_interpolation_sum_mvp_at_tgt_execute_wait ( struct yac_interpolation_type * interp)
static

Definition at line 455 of file interpolation_sum_mvp_at_tgt.c.

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

◆ yac_interpolation_sum_mvp_at_tgt_is_source()

static int yac_interpolation_sum_mvp_at_tgt_is_source ( struct yac_interpolation_type * interp)
static

Definition at line 221 of file interpolation_sum_mvp_at_tgt.c.

◆ yac_interpolation_sum_mvp_at_tgt_is_target()

static int yac_interpolation_sum_mvp_at_tgt_is_target ( struct yac_interpolation_type * interp)
static

Definition at line 230 of file interpolation_sum_mvp_at_tgt.c.

◆ yac_interpolation_sum_mvp_at_tgt_new()

struct yac_interpolation_type * yac_interpolation_sum_mvp_at_tgt_new ( size_t collection_size,
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 )

Definition at line 166 of file interpolation_sum_mvp_at_tgt.c.

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

◆ yac_interpolation_sum_mvp_at_tgt_new_()

static struct yac_interpolation_type * yac_interpolation_sum_mvp_at_tgt_new_ ( size_t collection_size,
struct yac_interpolation_buffer src_send_data,
struct yac_interpolation_buffer src_recv_data,
struct yac_interpolation_exchange * src2tgt,
size_t * tgt_pos,
size_t tgt_count,
size_t * prefix_num_src_per_tgt,
double * weights,
size_t * src_field_idx,
size_t * src_idx,
size_t num_src_fields,
int with_frac_mask,
int * ref_count )
static

Definition at line 113 of file interpolation_sum_mvp_at_tgt.c.

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

Variable Documentation

◆ interpolation_sum_mvp_at_tgt_vtable

struct yac_interpolation_type_vtable const interpolation_sum_mvp_at_tgt_vtable
static
Initial value:
= {
}
static void yac_interpolation_sum_mvp_at_tgt_execute_get_async(struct yac_interpolation_type *interp, double **tgt_field, double frac_mask_fallback_value, double scale_factor, double scale_summand)
static struct yac_interpolation_type * yac_interpolation_sum_mvp_at_tgt_copy(struct yac_interpolation_type *interp)
static int yac_interpolation_sum_mvp_at_tgt_execute_put_test(struct yac_interpolation_type *interp)
static int yac_interpolation_sum_mvp_at_tgt_is_target(struct yac_interpolation_type *interp)
static void yac_interpolation_sum_mvp_at_tgt_delete(struct yac_interpolation_type *interp)
static void yac_interpolation_sum_mvp_at_tgt_execute_get(struct yac_interpolation_type *interp, double **tgt_field, double frac_mask_fallback_value, double scale_factor, double scale_summand)
static void yac_interpolation_sum_mvp_at_tgt_execute_wait(struct yac_interpolation_type *interp)
static void yac_interpolation_sum_mvp_at_tgt_execute(struct yac_interpolation_type *interp, double ***src_fields, double ***src_frac_masks, double **tgt_field, double frac_mask_fallback_value, double scale_factor, double scale_summand)
static void yac_interpolation_sum_mvp_at_tgt_execute_put(struct yac_interpolation_type *interp, double ***src_fields, double ***src_frac_masks, int is_target, double frac_mask_fallback_value, double scale_factor, double scale_summand)
static int yac_interpolation_sum_mvp_at_tgt_is_source(struct yac_interpolation_type *interp)
static int yac_interpolation_sum_mvp_at_tgt_execute_get_test(struct yac_interpolation_type *interp)

Definition at line 43 of file interpolation_sum_mvp_at_tgt.c.