YAC
3.20.0
Yet Another Coupler
Loading...
Searching...
No Matches
interp_method_fixed.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_FIXED_H
6
#define INTERP_METHOD_FIXED_H
7
8
#include "
interpolation/methods/interp_method.h
"
9
10
// YAC PUBLIC HEADER START
11
12
#define YAC_INTERP_FIXED_VALUE_DEFAULT (DBL_MAX)
13
14
struct
interp_method
*
yac_interp_method_fixed_new
(
double
value
);
15
16
// YAC PUBLIC HEADER STOP
17
18
// Modular config constructor for vtable-based config system
19
23
struct
yac_interp_method_fixed_config
{
24
double
value
;
25
};
26
36
struct
yac_interp_method_config
*
yac_interp_method_config_fixed_unpack
(
37
void
*
buffer
,
int
buffer_size,
int
*position, MPI_Comm comm);
38
44
struct
yac_interp_method_config
*
yac_interp_method_config_default_fixed_new
(
void
);
45
46
#endif
// INTERP_METHOD_FIXED_H
interp_method.h
Defines the interface of the interpolation method "base class" in YAC.
value
struct @23::@24 value
yac_interp_method_config_fixed_unpack
struct yac_interp_method_config * yac_interp_method_config_fixed_unpack(void *buffer, int buffer_size, int *position, MPI_Comm comm)
Unpacks a fixed interpolation method configuration from a buffer.
Definition
interp_method_fixed.c:205
yac_interp_method_config_default_fixed_new
struct yac_interp_method_config * yac_interp_method_config_default_fixed_new(void)
Creates a fixed-value interpolation method configuration with default parameters.
Definition
interp_method_fixed.c:193
yac_interp_method_fixed_new
struct interp_method * yac_interp_method_fixed_new(double value)
Definition
interp_method_fixed.c:58
interp_method
Definition
interp_method_internal.h:36
yac_interp_method_config
Definition
interp_method_config_internal.h:96
yac_interp_method_fixed_config
Definition
interp_method_fixed.h:23
yac_interp_method_fixed_config::value
double value
Definition
interp_method_fixed.h:24
buffer
double * buffer
Definition
toy_coupling.c:39
src
core
interpolation
methods
interp_method_fixed.h
Generated on Thu Aug 6 2026 09:55:51 for YAC by
1.11.0