YAC 3.7.1
Yet Another Coupler
Loading...
Searching...
No Matches
interp_method_nnn.h
Go to the documentation of this file.
1// Copyright (c) 2024 The YAC Authors
2//
3// SPDX-License-Identifier: BSD-3-Clause
4
5#ifndef INTERP_METHOD_NNN_H
6#define INTERP_METHOD_NNN_H
7
8#include "interp_method.h"
9
10// YAC PUBLIC HEADER START
11
19
20#define YAC_INTERP_NNN_WEIGHTED_DEFAULT (0)
21#define YAC_INTERP_NNN_N_DEFAULT (1)
22#define YAC_INTERP_NNN_MAX_SEARCH_DISTANCE_DEFAULT (0.0)
23#define YAC_INTERP_NNN_GAUSS_SCALE_DEFAULT (0.1)
24
25#define YAC_INTERP_RBF_N_DEFAULT (9)
26#define YAC_INTERP_RBF_MAX_SEARCH_DISTANCE_DEFAULT (0.0)
27#define YAC_INTERP_RBF_SCALE_DEFAULT (1.487973e+01)
28#define YAC_INTERP_RBF_KERNEL_DEFAULT (0)
29
32 size_t n;
34 union {
35 double rbf_scale;
38};
39
41
42// YAC PUBLIC HEADER STOP
43
44#endif // INTERP_METHOD_NNN_H
yac_interp_nnn_weight_type
@ YAC_INTERP_NNN_GAUSS
distance with Gauss weights of n source points
@ YAC_INTERP_NNN_RBF
radial basis functions
@ YAC_INTERP_NNN_AVG
average of n source points
@ YAC_INTERP_NNN_DIST
distance weighted average of n source points
@ YAC_INTERP_NNN_ZERO
all weights are set to zero
struct interp_method * yac_interp_method_nnn_new(struct yac_nnn_config config)
union yac_nnn_config::@28 data
enum yac_interp_nnn_weight_type type