YAC 3.7.0
Yet Another Coupler
Loading...
Searching...
No Matches
interp_method_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 INTERP_METHOD_INTERNAL_H
6#define INTERP_METHOD_INTERNAL_H
7
8#include "interp_method.h"
12
14
15 size_t (*do_search)( // returns number of target points interpolated by
16 // this method
17 struct interp_method * method, // pointer to interpolation method
18 struct yac_interp_grid * grid, // interpolation grid
19 size_t * tgt_points, // local indices for target points
20 // that are to be interpolated
21 // (do_search has to reorder entries,
22 // such that all target points
23 // interpolated by this method are at
24 // the front of the array
25 size_t count, // number of target points to be
26 // interpolated
27 struct yac_interp_weights * weights, // interpolation weights
28 int * interpolation_complete); // if != 0, do not do any
29 // interpolation
30 // set to 1 if remaining interpolation
31 // stack is not supposed to compute any
32 // more weights
33 void (*delete)(struct interp_method * method);
34};
35
40
41#endif // INTERP_METHOD_INTERNAL_H
size_t(* do_search)(struct interp_method *method, struct yac_interp_grid *grid, size_t *tgt_points, size_t count, struct yac_interp_weights *weights, int *interpolation_complete)
struct interp_method_vtable * vtable