|
YAC 3.18.0
Yet Another Coupler
|
#include "config.h"#include <limits.h>#include <string.h>#include "interpolation/methods/interp_method_internal.h"#include "interpolation/methods/interp_method_config_internal.h"#include "parameter/param_str.h"#include "parameter/param_struct.h"#include "utils_core.h"#include "ensure_array_size.h"#include "interpolation/methods/interp_method_callback.h"#include "yac_mpi_common.h"#include "yac_mpi_internal.h"
Go to the source code of this file.
Data Structures | |
| struct | tgt_request_data |
| struct | interp_method_callback |
| struct | yac_interp_method_config_callback |
| Concrete implementation of yac_interp_method_config for the callback method. More... | |
Typedefs | |
| typedef void(* | func_dummy) (void) |
Variables | ||
| static struct interp_method_vtable | interp_method_callback_vtable | |
| struct { | ||
| yac_func_compute_weights callback | ||
| void * user_data | ||
| char * key | ||
| } * | callback_lookup_table = NULL | |
| static size_t | callback_lookup_table_array_size = 0 | |
| static size_t | callback_lookup_table_size = 0 | |
| static struct yac_interp_method_config_vtable | yac_interp_method_config_vtable_callback | |
| typedef void(* func_dummy) (void) |
Definition at line 467 of file interp_method_callback.c.
|
static |
Definition at line 583 of file interp_method_callback.c.
|
static |
Definition at line 571 of file interp_method_callback.c.
|
static |
Definition at line 563 of file interp_method_callback.c.
|
static |
|
static |
|
static |
|
static |
Definition at line 614 of file interp_method_callback.c.
|
static |
|
static |
Definition at line 463 of file interp_method_callback.c.
|
static |
Definition at line 133 of file interp_method_callback.c.


|
static |
|
static |
Definition at line 101 of file interp_method_callback.c.

|
static |
Definition at line 78 of file interp_method_callback.c.


| void yac_interp_method_callback_add_compute_weights_callback | ( | yac_func_compute_weights | compute_weights_callback, |
| void * | user_data, | ||
| char const * | key ) |
sets a weight computation routine that can afterwards be retrieved by yac_interp_method_callback_get_compute_weights_callback
| [in] | compute_weights_callback | pointer to a weight computation routine |
| [in] | user_data | data pointer that will be passed to compute_weights_callback |
| [in] | key | key that can afterwards be used to retrieve the provided pointers |
Definition at line 476 of file interp_method_callback.c.


| void yac_interp_method_callback_buf_free | ( | ) |
free internal array with provided pointers to callback routines
Definition at line 514 of file interp_method_callback.c.

| void yac_interp_method_callback_get_compute_weights_callback | ( | char const * | key, |
| yac_func_compute_weights * | compute_weights_callback, | ||
| void ** | user_data ) |
retrieves a compute_weights_callback pointer that was set by yac_interp_method_callback_add_compute_weights_callback
| [in] | key | key that identifies the pointers that are to be retrieved |
| [out] | compute_weights_callback | pointer to a weight computation routine |
| [out] | user_data | data pointer that was provided together with the function pointer |
Definition at line 524 of file interp_method_callback.c.


| struct interp_method * yac_interp_method_callback_new | ( | yac_func_compute_weights | compute_weights_callback, |
| void * | user_data ) |
constructor for an interpolation method of type interp_method_callback
| [in] | compute_weights_callback | pointer to routine that is used by YAC to compute the weights |
| [in] | user_data | data pointer associated to the function pointer |
Definition at line 451 of file interp_method_callback.c.


| struct yac_interp_method_config * yac_interp_method_config_callback_unpack | ( | void * | buffer, |
| int | buffer_size, | ||
| int * | position, | ||
| MPI_Comm | comm ) |
Unpacks a callback 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 692 of file interp_method_callback.c.

| struct yac_interp_method_config * yac_interp_method_config_default_callback_new | ( | void | ) |
Creates a callback interpolation method configuration with default parameters.
Definition at line 679 of file interp_method_callback.c.
| yac_func_compute_weights callback |
Definition at line 469 of file interp_method_callback.c.
| struct { ... } * callback_lookup_table |
|
static |
Definition at line 473 of file interp_method_callback.c.
|
static |
Definition at line 474 of file interp_method_callback.c.
|
static |
Definition at line 37 of file interp_method_callback.c.
| char* key |
Definition at line 471 of file interp_method_callback.c.
| void* user_data |
Definition at line 470 of file interp_method_callback.c.
|
static |
Definition at line 668 of file interp_method_callback.c.