YAC 3.12.0
Yet Another Coupler
Loading...
Searching...
No Matches
test_interpolation_parallel6.c File Reference
#include <stdlib.h>
#include <limits.h>
#include <math.h>
#include <mpi.h>
#include "tests.h"
#include "test_common.h"
#include "interpolation/interpolation_internal.h"
#include "collection_selection_internal.h"
Include dependency graph for test_interpolation_parallel6.c:

Go to the source code of this file.

Macros

#define UNSET   (1337.0)
 
#define FRAC_MASK_VALUE   (-1337.0)
 
#define SCALE(X)
 

Functions

static void init_tgt_data (double **tgt_data, size_t tgt_field_size, size_t collection_size)
 
static int check_tgt_data (double **tgt_data, double *ref_tgt_data_raw, size_t tgt_field_size, size_t collection_size)
 

Detailed Description

Test
A test for internal interpolation routines.

Definition in file test_interpolation_parallel6.c.

Macro Definition Documentation

◆ FRAC_MASK_VALUE

#define FRAC_MASK_VALUE   (-1337.0)

Definition at line 21 of file test_interpolation_parallel6.c.

◆ SCALE

#define SCALE ( X)
Value:
((X) * scaling_factors[scaling_factor_idx] + \
scaling_summand[scaling_summand_idx])

Definition at line 23 of file test_interpolation_parallel6.c.

◆ UNSET

#define UNSET   (1337.0)

Definition at line 20 of file test_interpolation_parallel6.c.

Function Documentation

◆ check_tgt_data()

static int check_tgt_data ( double ** tgt_data,
double * ref_tgt_data_raw,
size_t tgt_field_size,
size_t collection_size )
static

Definition at line 1282 of file test_interpolation_parallel6.c.

◆ init_tgt_data()

static void init_tgt_data ( double ** tgt_data,
size_t tgt_field_size,
size_t collection_size )
static

Definition at line 1272 of file test_interpolation_parallel6.c.