YAC 3.13.0
Yet Another Coupler
Loading...
Searching...
No Matches
interpolation_gen_config.h
Go to the documentation of this file.
1// Copyright (c) 2025 The YAC Authors
2//
3// SPDX-License-Identifier: BSD-3-Clause
4
5#ifndef YAC_INTERPOLATION_GEN_CONFIG_H
6#define YAC_INTERPOLATION_GEN_CONFIG_H
7
17
18// YAC PUBLIC HEADER START
19
22
35
44void
46 struct yac_interpolation_gen_config *config);
47
64 struct yac_interpolation_gen_config const * src);
65
66/* --- Setter routines --- */
67
76 struct yac_interpolation_gen_config * config,
78
88 struct yac_interpolation_gen_config * config,
89 size_t collection_size);
90
100 struct yac_interpolation_gen_config * config,
102
114void
116 struct yac_interpolation_gen_config * config,
118
119
130 struct yac_interpolation_gen_config * config,
131 double scaling_factor);
132
144 struct yac_interpolation_gen_config * config,
145 double scaling_summand);
146
159 struct yac_interpolation_gen_config * config,
160 char const * yaxt_exchanger_name);
161
162// YAC PUBLIC HEADER STOP
163
164#endif // YAC_INTERPOLATION_GEN_CONFIG_H
yac_interp_weights_reorder_type
void yac_interpolation_gen_config_set_reorder(struct yac_interpolation_gen_config *config, enum yac_interp_weights_reorder_type reorder)
Set the reordering strategy for interpolation weights.
void yac_interpolation_gen_config_set_collection_size(struct yac_interpolation_gen_config *config, size_t collection_size)
Set the number of contiguous fields (starting at "0") in the field collection.
void yac_interpolation_gen_config_set_yaxt_exchanger_name(struct yac_interpolation_gen_config *config, char const *yaxt_exchanger_name)
Set the name of the Yaxt exchanger.
void yac_interpolation_gen_config_set_collection_selection(struct yac_interpolation_gen_config *config, struct yac_collection_selection const *collection_selection)
Set the collection selection of source field in the source field collection.
void yac_interpolation_gen_config_set_scaling_factor(struct yac_interpolation_gen_config *config, double scaling_factor)
Set the multiplicative scaling factor.
void yac_interpolation_gen_config_delete(struct yac_interpolation_gen_config *config)
Release a interpolation generation configuration structure allocated by yac_interpolation_gen_config_...
void yac_interpolation_gen_config_set_frac_mask_fallback_value(struct yac_interpolation_gen_config *config, double frac_mask_fallback_value)
Set the fractional mask fallback value.
struct yac_interpolation_gen_config * yac_interpolation_gen_config_copy(struct yac_interpolation_gen_config const *src)
Create a copy of an interpolation generation configuration.
struct yac_interpolation_gen_config * yac_interpolation_gen_config_new(void)
Allocate and initialise an interpolation generation configuration structure.
void yac_interpolation_gen_config_set_scaling_summand(struct yac_interpolation_gen_config *config, double scaling_summand)
Set the additive scaling summand.
Definition __init__.py:1
Configuration structure for interpolation generation.
struct yac_collection_selection * collection_selection
enum yac_interp_weights_reorder_type reorder
int collection_size