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

Go to the source code of this file.

Functions

static double compute_dist_result_ (size_t n, size_t *src_indices, size_t tgt_index, double *src_coordinates_x, double *src_coordinates_y, size_t src_size_x, double *tgt_coordinates_x, double *tgt_coordinates_y, size_t tgt_size_x)
 
static double compute_dist_result (size_t n, size_t *src_indices, size_t tgt_index)
 
static double compute_dist_result_2 (size_t n, size_t *src_indices, size_t tgt_index)
 
static double compute_dist_result_3 (size_t n, size_t *src_indices, size_t tgt_index)
 
static double compute_gauss_result_ (size_t n, size_t *src_indices, size_t tgt_index, double *src_coordinates_x, double *src_coordinates_y, size_t src_size_x, double *tgt_coordinates_x, double *tgt_coordinates_y, size_t tgt_size_x)
 
static double compute_gauss_result (size_t n, size_t *src_indices, size_t tgt_index)
 

Variables

char const src_grid_name [] = "src_grid"
 
char const tgt_grid_name [] = "tgt_grid"
 

Detailed Description

Test
A test for the parallel nearest neighbour interpolation method.

Definition in file test_interp_method_nnn_parallel.c.

Function Documentation

◆ compute_dist_result()

static double compute_dist_result ( size_t n,
size_t * src_indices,
size_t tgt_index )
static

Definition at line 808 of file test_interp_method_nnn_parallel.c.

Here is the call graph for this function:

◆ compute_dist_result_()

static double compute_dist_result_ ( size_t n,
size_t * src_indices,
size_t tgt_index,
double * src_coordinates_x,
double * src_coordinates_y,
size_t src_size_x,
double * tgt_coordinates_x,
double * tgt_coordinates_y,
size_t tgt_size_x )
static

Definition at line 782 of file test_interp_method_nnn_parallel.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ compute_dist_result_2()

static double compute_dist_result_2 ( size_t n,
size_t * src_indices,
size_t tgt_index )
static

Definition at line 820 of file test_interp_method_nnn_parallel.c.

Here is the call graph for this function:

◆ compute_dist_result_3()

static double compute_dist_result_3 ( size_t n,
size_t * src_indices,
size_t tgt_index )
static

Definition at line 832 of file test_interp_method_nnn_parallel.c.

Here is the call graph for this function:

◆ compute_gauss_result()

static double compute_gauss_result ( size_t n,
size_t * src_indices,
size_t tgt_index )
static

Definition at line 892 of file test_interp_method_nnn_parallel.c.

Here is the call graph for this function:

◆ compute_gauss_result_()

static double compute_gauss_result_ ( size_t n,
size_t * src_indices,
size_t tgt_index,
double * src_coordinates_x,
double * src_coordinates_y,
size_t src_size_x,
double * tgt_coordinates_x,
double * tgt_coordinates_y,
size_t tgt_size_x )
static

Definition at line 844 of file test_interp_method_nnn_parallel.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ src_grid_name

char const src_grid_name[] = "src_grid"

Definition at line 26 of file test_interp_method_nnn_parallel.c.

◆ tgt_grid_name

char const tgt_grid_name[] = "tgt_grid"

Definition at line 27 of file test_interp_method_nnn_parallel.c.