Go to the source code of this file.
◆ YAC_INTERP_SPMAP_MAX_SEARCH_DISTANCE_DEFAULT
#define YAC_INTERP_SPMAP_MAX_SEARCH_DISTANCE_DEFAULT (0.0) |
◆ YAC_INTERP_SPMAP_SCALE_DEFAULT
◆ YAC_INTERP_SPMAP_SPREAD_DISTANCE_DEFAULT
#define YAC_INTERP_SPMAP_SPREAD_DISTANCE_DEFAULT (0.0) |
◆ YAC_INTERP_SPMAP_SRC_SPHERE_RADIUS_DEFAULT
#define YAC_INTERP_SPMAP_SRC_SPHERE_RADIUS_DEFAULT (1.0) |
◆ YAC_INTERP_SPMAP_TGT_SPHERE_RADIUS_DEFAULT
#define YAC_INTERP_SPMAP_TGT_SPHERE_RADIUS_DEFAULT (1.0) |
◆ YAC_INTERP_SPMAP_WEIGHTED_DEFAULT
◆ 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_type | scaling type |
[in] | src_sphere_radius | sphere radius used for source cell area computation |
[in] | tgt_sphere_radius | sphere radius used for target cell area computation |
Definition at line 644 of file interp_method_spmap.c.