|
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 "interpolation/methods/interp_method_ncc.h"#include "interpolation/methods/interp_method_utils.h"#include "parameter/param_bool.h"#include "parameter/param_enum.h"#include "parameter/param_struct.h"#include "yac_mpi_common.h"
Go to the source code of this file.
Data Structures | |
| struct | interp_method_ncc |
| struct | yac_interp_method_config_ncc |
| Concrete implementation of yac_interp_method_config for the NCC method. More... | |
Typedefs | |
| typedef int(* | func_compute_weights) (double[3], size_t, yac_const_coordinate_pointer, int *, double *) |
Functions | |
| static size_t | do_search_ncc (struct interp_method *method, struct yac_interp_grid *interp_grid, size_t *tgt_points, size_t count, struct yac_interp_weights *weights, int *interpolation_compelte) |
| static void | delete_ncc (struct interp_method *method) |
| static size_t | get_closest_src_corner (struct yac_const_basic_grid_data *grid_data, size_t cell, double const coord[3]) |
| static int | compute_weights_avg_yes (double tgt_coords[3], size_t num_src, yac_const_coordinate_pointer src_coords, int *src_mask, double *weights) |
| static int | compute_weights_avg_no (double tgt_coords[3], size_t num_src, yac_const_coordinate_pointer src_coords, int *src_mask, double *weights) |
| static int | compute_weights_dist_yes (double tgt_coords[3], size_t num_src, yac_const_coordinate_pointer src_coords, int *src_mask, double *weights) |
| static int | compute_weights_dist_no (double tgt_coords[3], size_t num_src, yac_const_coordinate_pointer src_coords, int *src_mask, double *weights) |
| static func_compute_weights | select_compute_weight_routine (enum yac_interp_ncc_weight_type weight_type, int partial_coverage) |
| struct interp_method * | yac_interp_method_ncc_new (enum yac_interp_ncc_weight_type weight_type, int partial_coverage) |
| static void | config_ncc_delete (struct yac_interp_method_config *config) |
| static struct yac_interp_method_config * | config_ncc_copy (const struct yac_interp_method_config *config) |
| static int | config_ncc_compare (void const *a_, void const *b_) |
| static size_t | config_ncc_get_pack_size (struct yac_interp_method_config const *config, MPI_Comm comm) |
| static void | config_ncc_pack (struct yac_interp_method_config const *config, void *buffer, int buffer_size, int *position, MPI_Comm comm) |
| static enum yac_interpolation_list | config_ncc_get_type () |
| static struct interp_method * | config_ncc_generate (struct yac_interp_method_config const *config) |
| static struct yac_param * | config_ncc_get_param (struct yac_interp_method_config const *config) |
| struct yac_interp_method_config * | yac_interp_method_config_default_ncc_new (void) |
| Creates a nearest-corner-cells interpolation method configuration with default parameters. | |
| struct yac_interp_method_config * | yac_interp_method_config_ncc_unpack (void *buffer, int buffer_size, int *position, MPI_Comm comm) |
| Unpacks a nearest-cell-centre interpolation method configuration from a buffer. | |
Variables | |
| static struct interp_method_vtable | interp_method_ncc_vtable |
| static struct yac_interp_method_config_vtable | yac_interp_method_config_vtable_ncc |
| typedef int(* func_compute_weights) (double[3], size_t, yac_const_coordinate_pointer, int *, double *) |
Definition at line 29 of file interp_method_ncc.c.
|
static |
|
static |
|
static |
Definition at line 372 of file interp_method_ncc.c.


|
static |
Definition at line 313 of file interp_method_ncc.c.


|
static |
Definition at line 478 of file interp_method_ncc.c.
|
static |
Definition at line 468 of file interp_method_ncc.c.
|
static |
Definition at line 463 of file interp_method_ncc.c.
|
static |
|
static |
Definition at line 490 of file interp_method_ncc.c.
|
static |
|
static |
Definition at line 515 of file interp_method_ncc.c.
|
static |
Definition at line 500 of file interp_method_ncc.c.
|
static |
Definition at line 441 of file interp_method_ncc.c.
|
static |
Definition at line 78 of file interp_method_ncc.c.


|
static |
Definition at line 45 of file interp_method_ncc.c.


|
static |
Definition at line 409 of file interp_method_ncc.c.


| struct yac_interp_method_config * yac_interp_method_config_default_ncc_new | ( | void | ) |
Creates a nearest-corner-cells interpolation method configuration with default parameters.
Definition at line 584 of file interp_method_ncc.c.
| struct yac_interp_method_config * yac_interp_method_config_ncc_unpack | ( | void * | buffer, |
| int | buffer_size, | ||
| int * | position, | ||
| MPI_Comm | comm ) |
Unpacks a nearest-cell-centre 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 595 of file interp_method_ncc.c.
| struct interp_method * yac_interp_method_ncc_new | ( | enum yac_interp_ncc_weight_type | weight_type, |
| int | partial_coverage ) |
Definition at line 428 of file interp_method_ncc.c.


|
static |
Definition at line 33 of file interp_method_ncc.c.
|
static |
Definition at line 573 of file interp_method_ncc.c.