5#ifndef INTERP_METHOD_AVG_H
6#define INTERP_METHOD_AVG_H
18#define YAC_INTERP_AVG_WEIGHT_TYPE_DEFAULT (YAC_INTERP_AVG_ARITHMETIC)
19#define YAC_INTERP_AVG_PARTIAL_COVERAGE_DEFAULT (0)
23 int partial_coverage);
47 void *
buffer,
int buffer_size,
int *position, MPI_Comm comm);
Defines the interface of the interpolation method "base class" in YAC.
struct yac_interp_method_config * yac_interp_method_config_avg_unpack(void *buffer, int buffer_size, int *position, MPI_Comm comm)
Unpacks an average interpolation method configuration from a buffer.
struct interp_method * yac_interp_method_avg_new(enum yac_interp_avg_weight_type weight_type, int partial_coverage)
struct yac_interp_method_config * yac_interp_method_config_default_avg_new(void)
Creates an average interpolation method configuration with default parameters.
yac_interp_avg_weight_type
@ YAC_INTERP_AVG_ARITHMETIC
enum yac_interp_avg_weight_type weight_type