YetAnotherCoupler 3.2.0_a
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
31
32#define YAC_INTERP_NNN_WEIGHTED_DEFAULT (0)
33#define YAC_INTERP_NNN_N_DEFAULT (1)
34#define YAC_INTERP_NNN_GAUSS_SCALE_DEFAULT (0.1)
35
36#define YAC_INTERP_RBF_N_DEFAULT (9)
37#define YAC_INTERP_RBF_SCALE_DEFAULT (1.487973e+01)
38#define YAC_INTERP_RBF_KERNEL_DEFAULT (0)
39
42 size_t n;
43 union {
44 double rbf_scale;
47};
48
50
51// YAC PUBLIC HEADER STOP
52
53#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