YetAnotherCoupler 3.2.0_a
Loading...
Searching...
No Matches
Data Structures | Functions | Variables
interp_method_nnn.c File Reference
#include "config.h"
#include <string.h>
#include "interp_method_internal.h"
#include "interp_method_nnn.h"
#include "yac_lapack_interface.h"
Include dependency graph for interp_method_nnn.c:

Go to the source code of this file.

Data Structures

struct  interp_method_nnn
 
struct  interp_method_1nn
 

Functions

static size_t do_search_nnn (struct interp_method *method, struct yac_interp_grid *interp_grid, size_t *tgt_points, size_t count, struct yac_interp_weights *weights)
 
static size_t do_search_1nn (struct interp_method *method, struct yac_interp_grid *interp_grid, size_t *tgt_points, size_t count, struct yac_interp_weights *weights)
 
static void delete_nnn (struct interp_method *method)
 
static void compute_weights_avg (double tgt_coord[3], yac_coordinate_pointer src_coords, size_t const n, double *weights, double const dummy)
 
static void compute_weights_dist (double tgt_coord[3], yac_coordinate_pointer src_coords, size_t const n, double *weights, double const dummy)
 
static void compute_weights_gauss (double tgt_coord[3], yac_coordinate_pointer src_coords, size_t const n, double *weights, double const gauss_scale)
 
static void inverse (double *A, int n)
 
static void compute_weights_rbf (double tgt_coord[3], yac_coordinate_pointer src_coords, size_t const n, double *weights, double const rbf_scale)
 
static void interp_weights_add_zero (struct yac_interp_weights *weights, struct remote_points *tgts, struct remote_point *srcs)
 
struct interp_methodyac_interp_method_nnn_new (struct yac_nnn_config config)
 

Variables

static struct interp_method_vtable interp_method_nnn_vtable
 
static struct interp_method_vtable interp_method_1nn_vtable
 

Function Documentation

◆ compute_weights_avg()

static void compute_weights_avg ( double  tgt_coord[3],
yac_coordinate_pointer  src_coords,
size_t const  n,
double *  weights,
double const  dummy 
)
static

Definition at line 51 of file interp_method_nnn.c.

Here is the caller graph for this function:

◆ compute_weights_dist()

static void compute_weights_dist ( double  tgt_coord[3],
yac_coordinate_pointer  src_coords,
size_t const  n,
double *  weights,
double const  dummy 
)
static

Definition at line 61 of file interp_method_nnn.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ compute_weights_gauss()

static void compute_weights_gauss ( double  tgt_coord[3],
yac_coordinate_pointer  src_coords,
size_t const  n,
double *  weights,
double const  gauss_scale 
)
static

Definition at line 89 of file interp_method_nnn.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ compute_weights_rbf()

static void compute_weights_rbf ( double  tgt_coord[3],
yac_coordinate_pointer  src_coords,
size_t const  n,
double *  weights,
double const  rbf_scale 
)
static

Definition at line 169 of file interp_method_nnn.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ delete_nnn()

static void delete_nnn ( struct interp_method method)
static

Definition at line 473 of file interp_method_nnn.c.

◆ do_search_1nn()

static size_t do_search_1nn ( struct interp_method method,
struct yac_interp_grid interp_grid,
size_t *  tgt_points,
size_t  count,
struct yac_interp_weights weights 
)
static

Definition at line 332 of file interp_method_nnn.c.

Here is the call graph for this function:

◆ do_search_nnn()

static size_t do_search_nnn ( struct interp_method method,
struct yac_interp_grid interp_grid,
size_t *  tgt_points,
size_t  count,
struct yac_interp_weights weights 
)
static

Definition at line 232 of file interp_method_nnn.c.

Here is the call graph for this function:

◆ interp_weights_add_zero()

static void interp_weights_add_zero ( struct yac_interp_weights weights,
struct remote_points tgts,
struct remote_point srcs 
)
static

Definition at line 383 of file interp_method_nnn.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ inverse()

static void inverse ( double *  A,
int  n 
)
static

Definition at line 130 of file interp_method_nnn.c.

Here is the caller graph for this function:

◆ yac_interp_method_nnn_new()

struct interp_method * yac_interp_method_nnn_new ( struct yac_nnn_config  config)
Examples
test_interp_method_nnn_parallel.c, test_interp_method_nnn_parallel2.c, test_interp_method_rbf_parallel.c, and test_interpolation_parallel5.c.

Definition at line 401 of file interp_method_nnn.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ interp_method_1nn_vtable

struct interp_method_vtable interp_method_1nn_vtable
static
Initial value:
= {
.do_search = do_search_1nn,
.delete = delete_nnn}
static void delete_nnn(struct interp_method *method)
static size_t do_search_1nn(struct interp_method *method, struct yac_interp_grid *interp_grid, size_t *tgt_points, size_t count, struct yac_interp_weights *weights)

Definition at line 30 of file interp_method_nnn.c.

◆ interp_method_nnn_vtable

struct interp_method_vtable interp_method_nnn_vtable
static
Initial value:
= {
.do_search = do_search_nnn,
.delete = delete_nnn}
static size_t do_search_nnn(struct interp_method *method, struct yac_interp_grid *interp_grid, size_t *tgt_points, size_t count, struct yac_interp_weights *weights)

Definition at line 27 of file interp_method_nnn.c.