YetAnotherCoupler 3.2.0_a
Loading...
Searching...
No Matches
interpolation_internal.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 INTERPOLATION_INTERNAL_H
6#define INTERPOLATION_INTERNAL_H
7
8#include "interpolation.h"
9
12 int (*is_source)(struct yac_interpolation_type * interp);
13 int (*is_target)(struct yac_interpolation_type * interp);
14 void (*execute)(struct yac_interpolation_type * interp,
15 double *** src_fields, double *** src_frac_masks,
16 double ** tgt_field, double frac_mask_fallback_value,
17 double scale_factor, double scale_summand);
18 void (*execute_put)(struct yac_interpolation_type * interp,
19 double *** src_fields, double *** src_frac_masks,
20 int is_target, double frac_mask_fallback_value,
21 double scale_factor, double scale_summand);
22 void (*execute_get)(struct yac_interpolation_type * interp,
23 double ** tgt_field, double frac_mask_fallback_value,
24 double scale_factor, double scale_summand);
26 double ** tgt_field, double frac_mask_fallback_value,
27 double scale_factor, double scale_summand);
30 void (*execute_wait)(struct yac_interpolation_type * interp);
31 struct yac_interpolation_type * (*copy)(
32 struct yac_interpolation_type * interp);
33 void (*delete)(struct yac_interpolation_type * interp);
34};
38
39#endif // INTERPOLATION_INTERNAL_H
void(* execute_put)(struct yac_interpolation_type *interp, double ***src_fields, double ***src_frac_masks, int is_target, double frac_mask_fallback_value, double scale_factor, double scale_summand)
void(* execute_wait)(struct yac_interpolation_type *interp)
int(* is_source)(struct yac_interpolation_type *interp)
int(* execute_get_test)(struct yac_interpolation_type *interp)
void(* execute_get)(struct yac_interpolation_type *interp, double **tgt_field, double frac_mask_fallback_value, double scale_factor, double scale_summand)
void(* execute)(struct yac_interpolation_type *interp, double ***src_fields, double ***src_frac_masks, double **tgt_field, double frac_mask_fallback_value, double scale_factor, double scale_summand)
int(* is_target)(struct yac_interpolation_type *interp)
int(* execute_put_test)(struct yac_interpolation_type *interp)
void(* execute_get_async)(struct yac_interpolation_type *interp, double **tgt_field, double frac_mask_fallback_value, double scale_factor, double scale_summand)
struct yac_interpolation_type_vtable const *const vtable