YAC 3.12.0
Yet Another Coupler
Loading...
Searching...
No Matches
test_restart_c.c File Reference
#include <mpi.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.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_restart_c.c:

Go to the source code of this file.

Macros

#define EXACT
 
#define DUMMY_VALUE   (-1337.0)
 

Variables

static int point_id = INT_MAX
 
double * field_out_data = NULL
 
double * field_in_data = NULL
 
size_t field_data_size = 0
 
char const * config_filename = "test_restart_c.yaml"
 

Detailed Description

Test
This example simulates a restart of a coupled configuration with a grid redefinition.

Definition in file test_restart_c.c.

Macro Definition Documentation

◆ DUMMY_VALUE

#define DUMMY_VALUE   (-1337.0)

Definition at line 28 of file test_restart_c.c.

◆ EXACT

#define EXACT

Definition at line 5 of file test_restart_c.c.

Variable Documentation

◆ config_filename

char const* config_filename = "test_restart_c.yaml"

Definition at line 34 of file test_restart_c.c.

◆ field_data_size

size_t field_data_size = 0

Definition at line 33 of file test_restart_c.c.

◆ field_in_data

double* field_in_data = NULL

Definition at line 32 of file test_restart_c.c.

◆ field_out_data

double* field_out_data = NULL

Definition at line 31 of file test_restart_c.c.

◆ point_id

int point_id = INT_MAX
static

Definition at line 30 of file test_restart_c.c.