YAC 3.20.0
Yet Another Coupler
Loading...
Searching...
No Matches
interp_method_avg.h File Reference
Include dependency graph for interp_method_avg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  yac_interp_method_avg_config
 

Macros

#define YAC_INTERP_AVG_WEIGHT_TYPE_DEFAULT   (YAC_INTERP_AVG_ARITHMETIC)
 
#define YAC_INTERP_AVG_PARTIAL_COVERAGE_DEFAULT   (0)
 

Enumerations

enum  yac_interp_avg_weight_type { YAC_INTERP_AVG_ARITHMETIC = 0 , YAC_INTERP_AVG_DIST = 1 , YAC_INTERP_AVG_BARY = 2 }
 

Functions

struct interp_methodyac_interp_method_avg_new (enum yac_interp_avg_weight_type weight_type, int partial_coverage)
 
struct yac_interp_method_configyac_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 yac_interp_method_configyac_interp_method_config_default_avg_new (void)
 Creates an average interpolation method configuration with default parameters.
 

Macro Definition Documentation

◆ YAC_INTERP_AVG_PARTIAL_COVERAGE_DEFAULT

#define YAC_INTERP_AVG_PARTIAL_COVERAGE_DEFAULT   (0)

Definition at line 19 of file interp_method_avg.h.

◆ YAC_INTERP_AVG_WEIGHT_TYPE_DEFAULT

#define YAC_INTERP_AVG_WEIGHT_TYPE_DEFAULT   (YAC_INTERP_AVG_ARITHMETIC)

Definition at line 18 of file interp_method_avg.h.

Enumeration Type Documentation

◆ yac_interp_avg_weight_type

Enumerator
YAC_INTERP_AVG_ARITHMETIC 
YAC_INTERP_AVG_DIST 
YAC_INTERP_AVG_BARY 

Definition at line 12 of file interp_method_avg.h.

Function Documentation

◆ yac_interp_method_avg_new()

struct interp_method * yac_interp_method_avg_new ( enum yac_interp_avg_weight_type weight_type,
int partial_coverage )

Definition at line 997 of file interp_method_avg.c.

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

◆ yac_interp_method_config_avg_unpack()

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.

Parameters
[in]bufferBuffer containing the packed configuration data
[in]buffer_sizeSize of the buffer
[in,out]positionCurrent position in the buffer (will be updated)
[in]commMPI communicator for parallel unpacking
Returns
Pointer to the unpacked yac_interp_method_config structure

Definition at line 1167 of file interp_method_avg.c.

◆ yac_interp_method_config_default_avg_new()

struct yac_interp_method_config * yac_interp_method_config_default_avg_new ( void )

Creates an average interpolation method configuration with default parameters.

Returns
Pointer to the created yac_interp_method_config structure

Definition at line 1155 of file interp_method_avg.c.