YAC 3.12.0
Yet Another Coupler
Loading...
Searching...
No Matches
test_dummy_coupling2_c.c File Reference
#include <mpi.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "yac.h"
#include "utils_common.h"
#include "geometry.h"
#include "read_icon_grid.h"
#include "generate_cubed_sphere.h"
#include "test_function.h"
#include "tests.h"
Include dependency graph for test_dummy_coupling2_c.c:

Go to the source code of this file.

Data Structures

struct  field_config
 

Macros

#define EXACT
 
#define DUMMY_VALUE   (-1337.0)
 

Functions

static void init_in_field_data (struct field_config field_config)
 
static void check_results (struct field_config field_config, struct field_config ref_field_config)
 
static void init_in_field_data (struct field_config field_config)
 
static void check_results (struct field_config field_config, struct field_config ref_field_config)
 

Detailed Description

Test
This example simulates a whole model setup with two components (ocean, atmosphere) where rank 2 is shared by both components.

Definition in file test_dummy_coupling2_c.c.

Macro Definition Documentation

◆ DUMMY_VALUE

#define DUMMY_VALUE   (-1337.0)

Definition at line 27 of file test_dummy_coupling2_c.c.

◆ EXACT

#define EXACT

Definition at line 5 of file test_dummy_coupling2_c.c.

Function Documentation

◆ check_results() [1/2]

static void check_results ( struct field_config field_config,
struct field_config ref_field_config )
static

◆ check_results() [2/2]

static void check_results ( struct field_config field_config,
struct field_config ref_field_config )
static

Definition at line 394 of file test_dummy_coupling2_c.c.

◆ init_in_field_data() [1/2]

static void init_in_field_data ( struct field_config field_config)
static

◆ init_in_field_data() [2/2]

static void init_in_field_data ( struct field_config field_config)
static

Definition at line 389 of file test_dummy_coupling2_c.c.