YAC 3.21.0
Yet Another Coupler
Loading...
Searching...
No Matches
interp_method_ncc.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_NCC_H
6#define INTERP_METHOD_NCC_H
7
9
10// YAC PUBLIC HEADER START
11
16
17#define YAC_INTERP_NCC_WEIGHT_TYPE_DEFAULT (YAC_INTERP_NCC_AVG)
18#define YAC_INTERP_NCC_PARTIAL_COVERAGE_DEFAULT (0)
19
22 int partial_coverage);
23
24// YAC PUBLIC HEADER STOP
25
26// Modular config constructor for vtable-based config system
27
35
42
43#endif // INTERP_METHOD_NCC_H
Defines the interface of the interpolation method "base class" in YAC.
struct yac_interp_method_config * yac_interp_method_config_default_ncc_new(void)
Creates a nearest-corner-cells interpolation method configuration with default parameters.
struct interp_method * yac_interp_method_ncc_new(enum yac_interp_ncc_weight_type weight_type, int partial_coverage)
yac_interp_ncc_weight_type
@ YAC_INTERP_NCC_DIST
distance weighted average of n source points
@ YAC_INTERP_NCC_AVG
average of n source points
enum yac_interp_ncc_weight_type weight_type