YAC 3.12.0
Yet Another Coupler
Loading...
Searching...
No Matches
test_interp_operator_fixed.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <mpi.h>
#include "tests.h"
#include "interpolation/interpolation.h"
#include "yac_mpi.h"
#include "test_common.h"
#include "interpolation/operators/interp_operator_fixed.h"
Include dependency graph for test_interp_operator_fixed.c:

Go to the source code of this file.

Enumerations

enum  { MAX_COLLECTION_SIZE = 4 , NUM_SRC_FIELDS = 1 , NUM_SRC_POINTS = 1 , NUM_TGT_POINTS = 8 }
 

Variables

static double src_fields_data [MAX_COLLECTION_SIZE][NUM_SRC_FIELDS][NUM_SRC_POINTS]
 
static double tgt_field_data [MAX_COLLECTION_SIZE][NUM_TGT_POINTS]
 
static double ref_tgt_field_data [MAX_COLLECTION_SIZE][NUM_TGT_POINTS]
 

Detailed Description

Test
Unit test for the fixed-value interpolation operator.

Definition in file test_interp_operator_fixed.c.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
MAX_COLLECTION_SIZE 
NUM_SRC_FIELDS 
NUM_SRC_POINTS 
NUM_TGT_POINTS 

Definition at line 26 of file test_interp_operator_fixed.c.

Variable Documentation

◆ ref_tgt_field_data

double ref_tgt_field_data[MAX_COLLECTION_SIZE][NUM_TGT_POINTS]
static

Definition at line 31 of file test_interp_operator_fixed.c.

◆ src_fields_data

double src_fields_data[MAX_COLLECTION_SIZE][NUM_SRC_FIELDS][NUM_SRC_POINTS]
static

Definition at line 29 of file test_interp_operator_fixed.c.

◆ tgt_field_data

double tgt_field_data[MAX_COLLECTION_SIZE][NUM_TGT_POINTS]
static

Definition at line 30 of file test_interp_operator_fixed.c.