Go to the source code of this file.
◆ YAC_INTERP_SPMAP_CELL_AREA_CONFIG_DEFAULT
#define YAC_INTERP_SPMAP_CELL_AREA_CONFIG_DEFAULT |
Value: ((struct yac_spmap_cell_area_config) { \
#define YAC_INTERP_SPMAP_VARNAME_DEFAULT
#define YAC_INTERP_SPMAP_FILENAME_DEFAULT
@ YAC_INTERP_SPMAP_CELL_AREA_YAC
#define YAC_INTERP_SPMAP_SPHERE_RADIUS_DEFAULT
#define YAC_INTERP_SPMAP_MIN_GLOBAL_ID_DEFAULT
Definition at line 60 of file interp_method_spmap.h.
◆ YAC_INTERP_SPMAP_FILENAME_DEFAULT
#define YAC_INTERP_SPMAP_FILENAME_DEFAULT (NULL) |
◆ YAC_INTERP_SPMAP_MAX_SEARCH_DISTANCE_DEFAULT
#define YAC_INTERP_SPMAP_MAX_SEARCH_DISTANCE_DEFAULT (0.0) |
◆ YAC_INTERP_SPMAP_MIN_GLOBAL_ID_DEFAULT
#define YAC_INTERP_SPMAP_MIN_GLOBAL_ID_DEFAULT (0) |
◆ YAC_INTERP_SPMAP_SCALE_CONFIG_DEFAULT
#define YAC_INTERP_SPMAP_SCALE_CONFIG_DEFAULT |
◆ YAC_INTERP_SPMAP_SCALE_TYPE_DEFAULT
◆ YAC_INTERP_SPMAP_SPHERE_RADIUS_DEFAULT
#define YAC_INTERP_SPMAP_SPHERE_RADIUS_DEFAULT (1.0) |
◆ YAC_INTERP_SPMAP_SPREAD_DISTANCE_DEFAULT
#define YAC_INTERP_SPMAP_SPREAD_DISTANCE_DEFAULT (0.0) |
◆ YAC_INTERP_SPMAP_VARNAME_DEFAULT
#define YAC_INTERP_SPMAP_VARNAME_DEFAULT (NULL) |
◆ YAC_INTERP_SPMAP_WEIGHTED_DEFAULT
◆ yac_interp_spmap_cell_area_provider
Enumerator |
---|
YAC_INTERP_SPMAP_CELL_AREA_FILE | |
YAC_INTERP_SPMAP_CELL_AREA_YAC | |
Definition at line 34 of file interp_method_spmap.h.
◆ yac_interp_spmap_scale_type
Enumerator |
---|
YAC_INTERP_SPMAP_NONE | weights are not scaled
|
YAC_INTERP_SPMAP_SRCAREA | weights are multiplied by the area of the associated source cell
|
YAC_INTERP_SPMAP_INVTGTAREA | weights are muliplied by the inverse of the area of the associated target cell
|
YAC_INTERP_SPMAP_FRACAREA | weights are multiplied by the area of the associated source cell and the inverse of the area of the associated target cell
|
Definition at line 21 of file interp_method_spmap.h.
◆ yac_interp_spmap_weight_type
◆ yac_interp_method_spmap_new()
Constructor for a interpolation method of type interp_method_spmap
This method searches for each unmasked source point the closest unmasked target point.
If the maximum search distance is > 0.0, only target points that are within this distance from the source points are being considered. If spread_distance is > 0.0, the method uses the previously found target points as a starting point. Around each starting point, a bounding circle is generated. Afterwards for each starting point all target cells whose bounding circles intersect with the generated one are put into a list. Out of this list all target cells connected directly or indirectly through other cells from this list to the target cell of the starting are selected for the interpolation. Then a weighting method is applied to the selected target cells to generate the weights. Afterwards the weights are scaled.
- Parameters
-
[in] | spread_distance | spreading distance |
[in] | max_search_distance | maximum search distance |
[in] | weight_type | weighting type |
[in] | scale_config | scaling configuration |
Definition at line 982 of file interp_method_spmap.c.