YAC 3.8.0
Yet Another Coupler
Loading...
Searching...
No Matches
test_restart2.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 "generate_cubed_sphere.h"
#include "test_function.h"
Include dependency graph for test_restart2.c:

Go to the source code of this file.

Macros

#define DUMMY_VALUE   (-1337.0)
 

Functions

static void def_grid (char const *grid_name, int comm_rank, int comm_size, int *grid_id, int *cell_point_id, int local_test_func_idx, int remote_test_func_idx, double **field_data_out, double **ref_field_data_in, size_t *field_data_size)
 
static void run_component (char local_comp_id, char remote_comp_id, MPI_Comm comm)
 

Detailed Description

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

Definition in file test_restart2.c.

Macro Definition Documentation

◆ DUMMY_VALUE

#define DUMMY_VALUE   (-1337.0)

Definition at line 24 of file test_restart2.c.

Function Documentation

◆ def_grid()

static void def_grid ( char const * grid_name,
int comm_rank,
int comm_size,
int * grid_id,
int * cell_point_id,
int local_test_func_idx,
int remote_test_func_idx,
double ** field_data_out,
double ** ref_field_data_in,
size_t * field_data_size )
static

Definition at line 64 of file test_restart2.c.

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

◆ run_component()

static void run_component ( char local_comp_id,
char remote_comp_id,
MPI_Comm comm )
static

Definition at line 134 of file test_restart2.c.

Here is the call graph for this function: