|
YAC 3.18.0
Yet Another Coupler
|
#include "interpolation/methods/interp_method.h"

Go to the source code of this file.
Data Structures | |
| struct | yac_interp_method_dnn_config_search_distance |
| struct | yac_interp_method_dnn_config |
Macros | |
| #define | YAC_INTERP_DNN_DUMMY_SCALE (0.0) |
| #define | YAC_INTERP_DNN_GAUSS_SCALE_DEFAULT (0.1) |
| #define | YAC_INTERP_DNN_RBF_SCALE_DEFAULT (1.487973e+01) |
| #define | YAC_INTERP_DNN_SEARCH_DISTANCE_FIXED_DEFAULT (0.0) |
| #define | YAC_INTERP_DNN_SEARCH_DISTANCE_CELL_AREA_DEFAULT (1.0) |
| #define | YAC_INTERP_DNN_WEIGHT_DEFAULT (YAC_INTERP_DNN_WEIGHT_DIST) |
| #define | YAC_INTERP_DNN_SEARCH_DISTANCE_TYPE_DEFAULT (YAC_INTERP_DNN_SEARCH_DISTANCE_CELL_AREA) |
| #define | YAC_INTERP_DNN_SEARCH_DISTANCE_DEFAULT (YAC_INTERP_DNN_SEARCH_DISTANCE_CELL_AREA_DEFAULT) |
| #define | YAC_INTERP_DNN_SCALE_DEFAULT (YAC_INTERP_DNN_DUMMY_SCALE) |
Enumerations | |
| enum | yac_interp_dnn_weight_type { YAC_INTERP_DNN_WEIGHT_AVG = 0 , YAC_INTERP_DNN_WEIGHT_DIST = 1 , YAC_INTERP_DNN_WEIGHT_GAUSS = 2 , YAC_INTERP_DNN_WEIGHT_RBF = 3 } |
| enum | yac_interp_dnn_search_distance_type { YAC_INTERP_DNN_SEARCH_DISTANCE_FIXED = 0 , YAC_INTERP_DNN_SEARCH_DISTANCE_CELL_AREA = 1 , YAC_INTERP_DNN_SEARCH_DISTANCE_UNDEFINED = 2 } |
Functions | |
| struct interp_method * | yac_interp_method_dnn_new (struct yac_interp_method_dnn_config config) |
| struct yac_interp_method_config * | yac_interp_method_config_dnn_unpack (void *buffer, int buffer_size, int *position, MPI_Comm comm) |
| Unpacks a distance-to-nearest-neighbor interpolation method configuration from a buffer. | |
| struct yac_interp_method_config * | yac_interp_method_config_default_dnn_new (void) |
| Creates a distance-nearest-neighbour (DNN) interpolation method configuration with default parameters. | |
| #define YAC_INTERP_DNN_DUMMY_SCALE (0.0) |
Definition at line 37 of file interp_method_dnn.h.
| #define YAC_INTERP_DNN_GAUSS_SCALE_DEFAULT (0.1) |
Definition at line 40 of file interp_method_dnn.h.
| #define YAC_INTERP_DNN_RBF_SCALE_DEFAULT (1.487973e+01) |
Definition at line 41 of file interp_method_dnn.h.
| #define YAC_INTERP_DNN_SCALE_DEFAULT (YAC_INTERP_DNN_DUMMY_SCALE) |
Definition at line 52 of file interp_method_dnn.h.
| #define YAC_INTERP_DNN_SEARCH_DISTANCE_CELL_AREA_DEFAULT (1.0) |
Definition at line 44 of file interp_method_dnn.h.
| #define YAC_INTERP_DNN_SEARCH_DISTANCE_DEFAULT (YAC_INTERP_DNN_SEARCH_DISTANCE_CELL_AREA_DEFAULT) |
Definition at line 51 of file interp_method_dnn.h.
| #define YAC_INTERP_DNN_SEARCH_DISTANCE_FIXED_DEFAULT (0.0) |
Definition at line 43 of file interp_method_dnn.h.
| #define YAC_INTERP_DNN_SEARCH_DISTANCE_TYPE_DEFAULT (YAC_INTERP_DNN_SEARCH_DISTANCE_CELL_AREA) |
Definition at line 50 of file interp_method_dnn.h.
| #define YAC_INTERP_DNN_WEIGHT_DEFAULT (YAC_INTERP_DNN_WEIGHT_DIST) |
Definition at line 49 of file interp_method_dnn.h.
Method for determining the search distance
Definition at line 25 of file interp_method_dnn.h.
Weighting type for distance-nearest-neighbour interpolation
Definition at line 15 of file interp_method_dnn.h.
| struct yac_interp_method_config * yac_interp_method_config_default_dnn_new | ( | void | ) |
Creates a distance-nearest-neighbour (DNN) interpolation method configuration with default parameters.
Definition at line 793 of file interp_method_dnn.c.
| struct yac_interp_method_config * yac_interp_method_config_dnn_unpack | ( | void * | buffer, |
| int | buffer_size, | ||
| int * | position, | ||
| MPI_Comm | comm ) |
Unpacks a distance-to-nearest-neighbor interpolation method configuration from a buffer.
| [in] | buffer | Buffer containing the packed configuration data |
| [in] | buffer_size | Size of the buffer |
| [in,out] | position | Current position in the buffer (will be updated) |
| [in] | comm | MPI communicator for parallel unpacking |
Definition at line 854 of file interp_method_dnn.c.

| struct interp_method * yac_interp_method_dnn_new | ( | struct yac_interp_method_dnn_config | config | ) |
Creates a distance-nearest-neighbour (DNN) interpolation method.
DNN interpolates target points using all source points located within a given search distance (bounding circle) around each target point.
The search distance can be either:
search_distance_scale.| [in] | config | configuration for the interpolation method |
Definition at line 301 of file interp_method_dnn.c.

