YAC 3.12.0
Yet Another Coupler
Loading...
Searching...
No Matches
test_interp_method_callback_parallel.c File Reference
#include <stdlib.h>
#include <string.h>
#include "tests.h"
#include "test_common.h"
#include "geometry.h"
#include "interpolation/methods/interp_method.h"
#include "interpolation/methods/interp_method_callback.h"
#include "interpolation/methods/interp_method_fixed.h"
#include "dist_grid_utils.h"
#include "yac_mpi.h"
#include <mpi.h>
#include <yaxt.h>
#include <netcdf.h>
Include dependency graph for test_interp_method_callback_parallel.c:

Go to the source code of this file.

Data Structures

struct  grid_info
 

Functions

static void test1_callback (double const tgt_coords[3], int src_cell_id, size_t src_cell_idx, int const **global_results_points, double **result_weights, size_t *result_count, void *user_data)
 
static void test2_callback (double const tgt_coords[3], int src_cell_id, size_t src_cell_idx, int const **global_results_points, double **result_weights, size_t *result_count, void *user_data)
 
static void test3_callback (double const tgt_coords[3], int src_cell_id, size_t src_cell_idx, int const **global_results_points, double **result_weights, size_t *result_count, void *user_data)
 
static void test4_callback (double const tgt_coords[3], int src_cell_id, size_t src_cell_idx, int const **global_results_points, double **result_weights, size_t *result_count, void *user_data)
 

Variables

static char const * grid_names [2] = {"src_grid", "tgt_grid"}
 

Detailed Description

Test
A test for the parallel callback interpolation method.

Definition in file test_interp_method_callback_parallel.c.

Function Documentation

◆ test1_callback()

static void test1_callback ( double const tgt_coords[3],
int src_cell_id,
size_t src_cell_idx,
int const ** global_results_points,
double ** result_weights,
size_t * result_count,
void * user_data )
static

Definition at line 425 of file test_interp_method_callback_parallel.c.

◆ test2_callback()

static void test2_callback ( double const tgt_coords[3],
int src_cell_id,
size_t src_cell_idx,
int const ** global_results_points,
double ** result_weights,
size_t * result_count,
void * user_data )
static

Definition at line 443 of file test_interp_method_callback_parallel.c.

◆ test3_callback()

static void test3_callback ( double const tgt_coords[3],
int src_cell_id,
size_t src_cell_idx,
int const ** global_results_points,
double ** result_weights,
size_t * result_count,
void * user_data )
static

Definition at line 478 of file test_interp_method_callback_parallel.c.

◆ test4_callback()

static void test4_callback ( double const tgt_coords[3],
int src_cell_id,
size_t src_cell_idx,
int const ** global_results_points,
double ** result_weights,
size_t * result_count,
void * user_data )
static

Definition at line 498 of file test_interp_method_callback_parallel.c.

Variable Documentation

◆ grid_names

char const* grid_names[2] = {"src_grid", "tgt_grid"}
static

Definition at line 49 of file test_interp_method_callback_parallel.c.