YetAnotherCoupler 3.5.2
|
#include "config.h"
#include <string.h>
#include <math.h>
#include "ppm/core.h"
#include "utils_core.h"
#include "interpolation_internal.h"
#include "interpolation_fixed.h"
#include "interpolation_direct.h"
#include "interpolation_direct_mf.h"
#include "interpolation_sum_mvp_at_src.h"
#include "interpolation_sum_mvp_at_tgt.h"
#include "yac_mpi_internal.h"
Go to the source code of this file.
Data Structures | |
struct | yac_interpolation |
Functions | |
struct yac_interpolation * | yac_interpolation_new (size_t collection_size, double frac_mask_fallback_value, double scale_factor, double scale_summand) |
static void | yac_interpolation_add (struct yac_interpolation *interp, struct yac_interpolation_type *interp_type) |
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_frac (struct yac_interpolation *interp, double ***src_fields, double ***src_frac_masks, double **tgt_field) |
void | yac_interpolation_execute (struct yac_interpolation *interp, double ***src_fields, double **tgt_field) |
void | yac_interpolation_execute_put_frac (struct yac_interpolation *interp, double ***src_fields, double ***src_frac_masks) |
void | yac_interpolation_execute_put (struct yac_interpolation *interp, double ***src_fields) |
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_inc_ref_count (struct yac_interpolation *interpolation) |
int | yac_interpolation_with_frac_mask (struct yac_interpolation *interpolation) |
void | yac_interpolation_delete (struct yac_interpolation *interp) |
double | yac_interpolation_get_const_frac_mask_no_value_c2f () |
double | yac_interpolation_get_const_frac_mask_undef_c2f () |
Variables | |
double const | YAC_FRAC_MASK_NO_VALUE = 133713371337.0 |
double const | YAC_FRAC_MASK_UNDEF = -133713371337.0 |
|
static |
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 | ) |
Definition at line 345 of file interpolation.c.
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 ) |
Definition at line 203 of file interpolation.c.
void yac_interpolation_execute_get | ( | struct yac_interpolation * | interp, |
double ** | tgt_field ) |
Definition at line 282 of file interpolation.c.
void yac_interpolation_execute_get_async | ( | struct yac_interpolation * | interp, |
double ** | tgt_field ) |
Definition at line 293 of file interpolation.c.
int yac_interpolation_execute_get_test | ( | struct yac_interpolation * | interp | ) |
Definition at line 316 of file interpolation.c.
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 ) |
Definition at line 245 of file interpolation.c.
int yac_interpolation_execute_put_test | ( | struct yac_interpolation * | interp | ) |
Definition at line 304 of file interpolation.c.
void yac_interpolation_execute_wait | ( | struct yac_interpolation * | interp | ) |
Definition at line 328 of file interpolation.c.
double yac_interpolation_get_const_frac_mask_no_value_c2f | ( | ) |
Definition at line 357 of file interpolation.c.
double yac_interpolation_get_const_frac_mask_undef_c2f | ( | ) |
Definition at line 361 of file interpolation.c.
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 ) |
Definition at line 42 of file interpolation.c.
int yac_interpolation_with_frac_mask | ( | struct yac_interpolation * | interpolation | ) |
double const YAC_FRAC_MASK_NO_VALUE = 133713371337.0 |
Definition at line 23 of file interpolation.c.
double const YAC_FRAC_MASK_UNDEF = -133713371337.0 |
Definition at line 24 of file interpolation.c.