Go to the source code of this file.
|
| void | yac_interp_compute_weights_avg (double tgt_coord[3], yac_const_coordinate_pointer src_coords, size_t const n, double *weights, double const dummy) |
| |
| void | yac_interp_compute_weights_dist (double tgt_coord[3], yac_const_coordinate_pointer src_coords, size_t const n, double *weights, double const dummy) |
| |
| void | yac_interp_compute_weights_gauss (double tgt_coord[3], yac_const_coordinate_pointer src_coords, size_t const n, double *weights, double const gauss_scale) |
| |
| static void | inverse (double *A, size_t n) |
| |
| void | yac_interp_compute_weights_rbf (double tgt_coord[3], yac_const_coordinate_pointer src_coords, size_t const n, double *weights, double const rbf_scale) |
| |
◆ GAUSS_WEIGHT_SUM_TOL
| #define GAUSS_WEIGHT_SUM_TOL (1e-9) |
◆ inverse()
| static void inverse |
( |
double * | A, |
|
|
size_t | n ) |
|
static |
◆ yac_interp_compute_weights_avg()
| void yac_interp_compute_weights_avg |
( |
double | tgt_coord[3], |
|
|
yac_const_coordinate_pointer | src_coords, |
|
|
size_t const | n, |
|
|
double * | weights, |
|
|
double const | dummy ) |
Computes equal weights (simple average)
- Parameters
-
| [in] | tgt_coord | target coordinate (unused) |
| [in] | src_coords | source coordinates (unused) |
| [in] | n | number of source points |
| [out] | weights | weights array (size n) |
| [in] | dummy | dummy parameter (unused) |
Definition at line 19 of file interp_method_utils.c.
◆ yac_interp_compute_weights_dist()
| void yac_interp_compute_weights_dist |
( |
double | tgt_coord[3], |
|
|
yac_const_coordinate_pointer | src_coords, |
|
|
size_t const | n, |
|
|
double * | weights, |
|
|
double const | dummy ) |
Computes inverse distance weighted average
- Parameters
-
| [in] | tgt_coord | target coordinate |
| [in] | src_coords | source coordinates |
| [in] | n | number of source points |
| [out] | weights | weights array (size n) |
| [in] | dummy | dummy parameter (unused) |
Definition at line 31 of file interp_method_utils.c.
◆ yac_interp_compute_weights_gauss()
| void yac_interp_compute_weights_gauss |
( |
double | tgt_coord[3], |
|
|
yac_const_coordinate_pointer | src_coords, |
|
|
size_t const | n, |
|
|
double * | weights, |
|
|
double const | gauss_scale ) |
Computes Gauss weighted average
- Parameters
-
| [in] | tgt_coord | target coordinate |
| [in] | src_coords | source coordinates |
| [in] | n | number of source points |
| [out] | weights | weights array (size n) |
| [in] | gauss_scale | scale factor for Gauss weighting |
Definition at line 59 of file interp_method_utils.c.
◆ yac_interp_compute_weights_rbf()
| void yac_interp_compute_weights_rbf |
( |
double | tgt_coord[3], |
|
|
yac_const_coordinate_pointer | src_coords, |
|
|
size_t const | n, |
|
|
double * | weights, |
|
|
double const | rbf_scale ) |
Computes radial basis function (RBF) weighted average
- Parameters
-
| [in] | tgt_coord | target coordinate |
| [in] | src_coords | source coordinates |
| [in] | n | number of source points |
| [out] | weights | weights array (size n) |
| [in] | rbf_scale | scale factor for RBF weighting |
Definition at line 160 of file interp_method_utils.c.