YetAnotherCoupler 3.5.2
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_MAX_SEARCH_DISTANCE_DEFAULT (0.0)
31#define YAC_INTERP_NNN_GAUSS_SCALE_DEFAULT (0.1)
32
33#define YAC_INTERP_RBF_N_DEFAULT (9)
34#define YAC_INTERP_RBF_MAX_SEARCH_DISTANCE_DEFAULT (0.0)
35#define YAC_INTERP_RBF_SCALE_DEFAULT (1.487973e+01)
36#define YAC_INTERP_RBF_KERNEL_DEFAULT (0)
37
40 size_t n;
42 union {
43 double rbf_scale;
46};
47
49
50// YAC PUBLIC HEADER STOP
51
52#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::@21 data
enum yac_interp_nnn_weight_type type