YetAnotherCoupler 3.5.2
|
#include <yaxt.h>
#include <math.h>
Go to the source code of this file.
Macros | |
#define | YAC_FRAC_MASK_VALUE_IS_SET(value) (!isnormal(value) || ((value) != YAC_FRAC_MASK_UNDEF)) |
#define | YAC_FRAC_MASK_VALUE_IS_VALID(value) |
Functions | |
struct yac_interpolation * | yac_interpolation_new (size_t collection_size, double frac_mask_fallback_value, double scale_factor, double scale_summand) |
void | yac_interpolation_inc_ref_count (struct yac_interpolation *interpolation) |
int | yac_interpolation_with_frac_mask (struct yac_interpolation *interpolation) |
void | yac_interpolation_add_fixed (struct yac_interpolation *interp, double value, size_t count, size_t *pos) |
void | yac_interpolation_add_direct (struct yac_interpolation *interp, Xt_redist redist) |
void | yac_interpolation_add_direct_mf (struct yac_interpolation *interp, Xt_redist *redists, size_t num_src_fields) |
void | yac_interpolation_add_sum_at_src (struct yac_interpolation *interp, Xt_redist *halo_redists, size_t tgt_count, size_t *num_src_per_tgt, size_t *src_field_idx, size_t *src_idx, size_t num_src_fields, Xt_redist result_redist) |
void | yac_interpolation_add_sum_at_tgt (struct yac_interpolation *interp, Xt_redist *src_redists, size_t *tgt_pos, size_t tgt_count, size_t *num_src_per_tgt, size_t *src_field_idx, size_t *src_idx, size_t num_src_fields) |
void | yac_interpolation_add_weight_sum_mvp_at_src (struct yac_interpolation *interp, 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) |
void | yac_interpolation_add_weight_sum_mvp_at_tgt (struct yac_interpolation *interp, 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) |
struct yac_interpolation * | yac_interpolation_copy (struct yac_interpolation *interp) |
void | yac_interpolation_execute (struct yac_interpolation *interp, double ***src_fields, double **tgt_field) |
void | yac_interpolation_execute_frac (struct yac_interpolation *interp, double ***src_fields, double ***src_frac_masks, double **tgt_field) |
void | yac_interpolation_execute_put (struct yac_interpolation *interp, double ***src_fields) |
void | yac_interpolation_execute_put_frac (struct yac_interpolation *interp, double ***src_fields, double ***src_frac_masks) |
void | yac_interpolation_execute_get (struct yac_interpolation *interp, double **tgt_field) |
void | yac_interpolation_execute_get_async (struct yac_interpolation *interp, double **tgt_field) |
int | yac_interpolation_execute_put_test (struct yac_interpolation *interp) |
int | yac_interpolation_execute_get_test (struct yac_interpolation *interp) |
void | yac_interpolation_execute_wait (struct yac_interpolation *interp) |
void | yac_interpolation_delete (struct yac_interpolation *interp) |
Variables | |
double const | YAC_FRAC_MASK_NO_VALUE |
double const | YAC_FRAC_MASK_UNDEF |
#define YAC_FRAC_MASK_VALUE_IS_SET | ( | value | ) | (!isnormal(value) || ((value) != YAC_FRAC_MASK_UNDEF)) |
Definition at line 47 of file interpolation.h.
#define YAC_FRAC_MASK_VALUE_IS_VALID | ( | value | ) |
Definition at line 49 of file interpolation.h.
void yac_interpolation_add_direct | ( | struct yac_interpolation * | interp, |
Xt_redist | redist ) |
Definition at line 100 of file interpolation.c.
void yac_interpolation_add_direct_mf | ( | struct yac_interpolation * | interp, |
Xt_redist * | redists, | ||
size_t | num_src_fields ) |
Definition at line 107 of file interpolation.c.
void yac_interpolation_add_fixed | ( | struct yac_interpolation * | interp, |
double | value, | ||
size_t | count, | ||
size_t * | pos ) |
Definition at line 91 of file interpolation.c.
void yac_interpolation_add_sum_at_src | ( | struct yac_interpolation * | interp, |
Xt_redist * | halo_redists, | ||
size_t | tgt_count, | ||
size_t * | num_src_per_tgt, | ||
size_t * | src_field_idx, | ||
size_t * | src_idx, | ||
size_t | num_src_fields, | ||
Xt_redist | result_redist ) |
Definition at line 117 of file interpolation.c.
void yac_interpolation_add_sum_at_tgt | ( | struct yac_interpolation * | interp, |
Xt_redist * | src_redists, | ||
size_t * | tgt_pos, | ||
size_t | tgt_count, | ||
size_t * | num_src_per_tgt, | ||
size_t * | src_field_idx, | ||
size_t * | src_idx, | ||
size_t | num_src_fields ) |
Definition at line 131 of file interpolation.c.
void yac_interpolation_add_weight_sum_mvp_at_src | ( | struct yac_interpolation * | interp, |
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 ) |
Definition at line 145 of file interpolation.c.
void yac_interpolation_add_weight_sum_mvp_at_tgt | ( | struct yac_interpolation * | interp, |
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 ) |
Definition at line 159 of file interpolation.c.
struct yac_interpolation * yac_interpolation_copy | ( | struct yac_interpolation * | interp | ) |
Definition at line 173 of file interpolation.c.
void yac_interpolation_delete | ( | struct yac_interpolation * | interp | ) |
void yac_interpolation_execute | ( | struct yac_interpolation * | interp, |
double *** | src_fields, | ||
double ** | tgt_field ) |
Definition at line 226 of file interpolation.c.
void yac_interpolation_execute_frac | ( | struct yac_interpolation * | interp, |
double *** | src_fields, | ||
double *** | src_frac_masks, | ||
double ** | tgt_field ) |
void yac_interpolation_execute_get | ( | struct yac_interpolation * | interp, |
double ** | tgt_field ) |
void yac_interpolation_execute_get_async | ( | struct yac_interpolation * | interp, |
double ** | tgt_field ) |
int yac_interpolation_execute_get_test | ( | struct yac_interpolation * | interp | ) |
void yac_interpolation_execute_put | ( | struct yac_interpolation * | interp, |
double *** | src_fields ) |
Definition at line 268 of file interpolation.c.
void yac_interpolation_execute_put_frac | ( | struct yac_interpolation * | interp, |
double *** | src_fields, | ||
double *** | src_frac_masks ) |
int yac_interpolation_execute_put_test | ( | struct yac_interpolation * | interp | ) |
void yac_interpolation_execute_wait | ( | struct yac_interpolation * | interp | ) |
void yac_interpolation_inc_ref_count | ( | struct yac_interpolation * | interpolation | ) |
struct yac_interpolation * yac_interpolation_new | ( | size_t | collection_size, |
double | frac_mask_fallback_value, | ||
double | scale_factor, | ||
double | scale_summand ) |
int yac_interpolation_with_frac_mask | ( | struct yac_interpolation * | interpolation | ) |
|
extern |
Definition at line 23 of file interpolation.c.
|
extern |
Definition at line 24 of file interpolation.c.