|
YAC 3.18.0
Yet Another Coupler
|
#include "config.h"#include "interpolation/methods/interp_method_internal.h"#include "interpolation/methods/interp_method_check.h"#include "interpolation/methods/interp_method_callback.h"#include "yac_mpi_common.h"
Go to the source code of this file.
Functions | |
| struct yac_interp_weights * | yac_interp_method_do_search (struct interp_method **method, struct yac_interp_grid *interp_grid) |
| Perform weight computation using given interpolation stack and grid. | |
| void | yac_interp_method_delete (struct interp_method **method) |
| Delete an interpolation stack and free its resources (but not the pointer array). | |
| void | yac_interp_method_cleanup () |
| Free static internal resources of all interpolation methods. | |
| void yac_interp_method_cleanup | ( | ) |
Free static internal resources of all interpolation methods.
Cleans up static internal resources such as lookup tables for callback functions used by the check and user callback interpolation methods. This function should be called to release memory used by these resources after all interpolation operations are complete.
Definition at line 63 of file interp_method.c.


| void yac_interp_method_delete | ( | struct interp_method ** | method | ) |
Delete an interpolation stack and free its resources (but not the pointer array).
This function deletes all interpolation method instances in the stack pointed to by method. The pointer array itself (the stack) is not freed; only the method instances are deleted. The stack must be NULL-terminated.
| method | Array of pointers to interpolation method instances (stack), NULL-terminated |
Definition at line 54 of file interp_method.c.

| struct yac_interp_weights * yac_interp_method_do_search | ( | struct interp_method ** | method, |
| struct yac_interp_grid * | interp_grid ) |
Perform weight computation using given interpolation stack and grid.
This function computes the interpolation weights for the specified interpolation stack and source/target grid configuration (interp_grid). The input is an interpolation stack: An array of pointers to interpolation methods, where the last entry must be NULL to mark the end of the list.
| method | Array of pointers to interpolation method instances (stack), NULL-terminated (last entry must be NULL) |
| interp_grid | Pointer to the interpolation grid |
Definition at line 15 of file interp_method.c.

