YetAnotherCoupler 3.2.0
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
27
28#define YAC_INTERP_NNN_WEIGHTED_DEFAULT (0)
29#define YAC_INTERP_NNN_N_DEFAULT (1)
30#define YAC_INTERP_NNN_GAUSS_SCALE_DEFAULT (0.1)
31
32#define YAC_INTERP_RBF_N_DEFAULT (9)
33#define YAC_INTERP_RBF_SCALE_DEFAULT (1.487973e+01)
34#define YAC_INTERP_RBF_KERNEL_DEFAULT (0)
35
38 size_t n;
39 union {
40 double rbf_scale;
43};
44
46
47// YAC PUBLIC HEADER STOP
48
49#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::@22 data
enum yac_interp_nnn_weight_type type