YAC 3.21.0
Yet Another Coupler
Loading...
Searching...
No Matches
interp_method_ncc.h File Reference
Include dependency graph for interp_method_ncc.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_ncc_config
 

Macros

#define YAC_INTERP_NCC_WEIGHT_TYPE_DEFAULT   (YAC_INTERP_NCC_AVG)
 
#define YAC_INTERP_NCC_PARTIAL_COVERAGE_DEFAULT   (0)
 

Enumerations

enum  yac_interp_ncc_weight_type { YAC_INTERP_NCC_AVG = 0 , YAC_INTERP_NCC_DIST = 1 }
 

Functions

struct interp_methodyac_interp_method_ncc_new (enum yac_interp_ncc_weight_type weight_type, int partial_coverage)
 
struct yac_interp_method_configyac_interp_method_config_default_ncc_new (void)
 Creates a nearest-corner-cells interpolation method configuration with default parameters.
 

Macro Definition Documentation

◆ YAC_INTERP_NCC_PARTIAL_COVERAGE_DEFAULT

#define YAC_INTERP_NCC_PARTIAL_COVERAGE_DEFAULT   (0)

Definition at line 18 of file interp_method_ncc.h.

◆ YAC_INTERP_NCC_WEIGHT_TYPE_DEFAULT

#define YAC_INTERP_NCC_WEIGHT_TYPE_DEFAULT   (YAC_INTERP_NCC_AVG)

Definition at line 17 of file interp_method_ncc.h.

Enumeration Type Documentation

◆ yac_interp_ncc_weight_type

Enumerator
YAC_INTERP_NCC_AVG 

average of n source points

YAC_INTERP_NCC_DIST 

distance weighted average of n source points

Definition at line 12 of file interp_method_ncc.h.

Function Documentation

◆ yac_interp_method_config_default_ncc_new()

struct yac_interp_method_config * yac_interp_method_config_default_ncc_new ( void )

Creates a nearest-corner-cells interpolation method configuration with default parameters.

Returns
Pointer to the created yac_interp_method_config structure

Definition at line 561 of file interp_method_ncc.c.

◆ yac_interp_method_ncc_new()

struct interp_method * yac_interp_method_ncc_new ( enum yac_interp_ncc_weight_type weight_type,
int partial_coverage )

Definition at line 432 of file interp_method_ncc.c.

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