YAC 3.21.0
Yet Another Coupler
Loading...
Searching...
No Matches
interp_method_nnn.h File Reference
Include dependency graph for interp_method_nnn.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  yac_interp_method_nnn_config
 

Macros

#define YAC_INTERP_NNN_WEIGHTED_DEFAULT   (YAC_INTERP_NNN_AVG)
 
#define YAC_INTERP_NNN_N_DEFAULT   (1)
 
#define YAC_INTERP_NNN_N_MIN_DEFAULT   (0)
 a value of 0 is interpreted as "use the value of n"
 
#define YAC_INTERP_NNN_MAX_SEARCH_DISTANCE_DEFAULT   (0.0)
 
#define YAC_INTERP_NNN_GAUSS_SCALE_DEFAULT   (0.1)
 
#define YAC_INTERP_RBF_N_DEFAULT   (9)
 
#define YAC_INTERP_RBF_N_MIN_DEFAULT   (0)
 a value of 0 is interpreted as "use the value of n"
 
#define YAC_INTERP_RBF_MAX_SEARCH_DISTANCE_DEFAULT   (0.0)
 
#define YAC_INTERP_RBF_SCALE_DEFAULT   (1.487973e+01)
 
#define YAC_INTERP_RBF_KERNEL_DEFAULT   (0)
 

Enumerations

enum  yac_interp_nnn_weight_type {
  YAC_INTERP_NNN_AVG = 0 , YAC_INTERP_NNN_DIST = 1 , YAC_INTERP_NNN_GAUSS = 2 , YAC_INTERP_NNN_RBF = 3 ,
  YAC_INTERP_NNN_ZERO = 4
}
 

Functions

struct interp_methodyac_interp_method_nnn_new (struct yac_interp_method_nnn_config config)
 
struct yac_interp_method_configyac_interp_method_config_default_nnn_new (void)
 Creates a nearest-neighbour interpolation method configuration with default parameters.
 
struct yac_interp_method_configyac_interp_method_config_default_rbf_new (void)
 Creates a radial-basis-function interpolation method configuration with default parameters.
 

Macro Definition Documentation

◆ YAC_INTERP_NNN_GAUSS_SCALE_DEFAULT

#define YAC_INTERP_NNN_GAUSS_SCALE_DEFAULT   (0.1)

Definition at line 25 of file interp_method_nnn.h.

◆ YAC_INTERP_NNN_MAX_SEARCH_DISTANCE_DEFAULT

#define YAC_INTERP_NNN_MAX_SEARCH_DISTANCE_DEFAULT   (0.0)

Definition at line 24 of file interp_method_nnn.h.

◆ YAC_INTERP_NNN_N_DEFAULT

#define YAC_INTERP_NNN_N_DEFAULT   (1)

Definition at line 21 of file interp_method_nnn.h.

◆ YAC_INTERP_NNN_N_MIN_DEFAULT

#define YAC_INTERP_NNN_N_MIN_DEFAULT   (0)

a value of 0 is interpreted as "use the value of n"

Definition at line 23 of file interp_method_nnn.h.

◆ YAC_INTERP_NNN_WEIGHTED_DEFAULT

#define YAC_INTERP_NNN_WEIGHTED_DEFAULT   (YAC_INTERP_NNN_AVG)

Definition at line 20 of file interp_method_nnn.h.

◆ YAC_INTERP_RBF_KERNEL_DEFAULT

#define YAC_INTERP_RBF_KERNEL_DEFAULT   (0)

Definition at line 32 of file interp_method_nnn.h.

◆ YAC_INTERP_RBF_MAX_SEARCH_DISTANCE_DEFAULT

#define YAC_INTERP_RBF_MAX_SEARCH_DISTANCE_DEFAULT   (0.0)

Definition at line 30 of file interp_method_nnn.h.

◆ YAC_INTERP_RBF_N_DEFAULT

#define YAC_INTERP_RBF_N_DEFAULT   (9)

Definition at line 27 of file interp_method_nnn.h.

◆ YAC_INTERP_RBF_N_MIN_DEFAULT

#define YAC_INTERP_RBF_N_MIN_DEFAULT   (0)

a value of 0 is interpreted as "use the value of n"

Definition at line 29 of file interp_method_nnn.h.

◆ YAC_INTERP_RBF_SCALE_DEFAULT

#define YAC_INTERP_RBF_SCALE_DEFAULT   (1.487973e+01)

Definition at line 31 of file interp_method_nnn.h.

Enumeration Type Documentation

◆ yac_interp_nnn_weight_type

Enumerator
YAC_INTERP_NNN_AVG 

average of n source points

YAC_INTERP_NNN_DIST 

distance weighted average of n source points

YAC_INTERP_NNN_GAUSS 

distance with Gauss weights of n source points

YAC_INTERP_NNN_RBF 

radial basis functions

YAC_INTERP_NNN_ZERO 

all weights are set to zero

Definition at line 12 of file interp_method_nnn.h.

Function Documentation

◆ yac_interp_method_config_default_nnn_new()

struct yac_interp_method_config * yac_interp_method_config_default_nnn_new ( void )

Creates a nearest-neighbour interpolation method configuration with default parameters.

Returns
Pointer to the created yac_interp_method_config structure

Definition at line 731 of file interp_method_nnn.c.

◆ yac_interp_method_config_default_rbf_new()

struct yac_interp_method_config * yac_interp_method_config_default_rbf_new ( void )

Creates a radial-basis-function interpolation method configuration with default parameters.

Returns
Pointer to the created yac_interp_method_config structure

Definition at line 746 of file interp_method_nnn.c.

◆ yac_interp_method_nnn_new()

struct interp_method * yac_interp_method_nnn_new ( struct yac_interp_method_nnn_config config)

Definition at line 356 of file interp_method_nnn.c.

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