YetAnotherCoupler 3.2.0_a
Loading...
Searching...
No Matches
Data Structures | Functions | Variables
couple_config.c File Reference
#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "couple_config.h"
#include "yac_mpi_common.h"
#include "yac.h"
#include "mtime_calendar.h"
#include "utils_common.h"
Include dependency graph for couple_config.c:

Go to the source code of this file.

Data Structures

struct  yac_couple_config_grid
 
struct  yac_couple_config_field
 
struct  yac_couple_config_component
 
struct  yac_couple_config_field_couple
 
struct  yac_couple_config_couple
 
struct  yac_couple_config
 
struct  dist_merge_vtable
 

Functions

struct yac_couple_configyac_couple_config_new ()
 
static char const * string_dup (char const *string)
 
static void yac_couple_config_field_free (void *field_)
 
static void yac_couple_config_component_free (void *component_)
 
static void yac_couple_config_field_couple_free (void *field_couple_)
 
static void yac_couple_config_couple_free (void *couple_)
 
static void yac_couple_config_grid_free (void *grid_)
 
static int yac_couple_config_grid_compare (void const *a, void const *b)
 
static int yac_couple_config_field_compare (void const *a_, void const *b_)
 
static int yac_couple_config_component_compare (void const *a_, void const *b_)
 
static int yac_couple_config_field_couple_compare (void const *a_, void const *b_)
 
static int yac_couple_config_couple_compare_basic (void const *a_, void const *b_)
 
static void couple_config_sync_string (char const *string_name, char **string, MPI_Comm comm)
 
static void couple_config_sync_calendar (MPI_Comm comm)
 
static void yac_couple_config_component_merge (void *a_, void *b_, MPI_Comm comm)
 
static void yac_couple_config_grid_merge (void *a_, void *b_, MPI_Comm comm)
 
static void yac_couple_config_field_merge (void *a_, void *b_, MPI_Comm comm)
 
static void yac_couple_config_field_couple_merge (void *a_, void *b_, MPI_Comm comm)
 
static void merge_field_couples (size_t *num_field_couples, struct yac_couple_config_field_couple **field_couples, MPI_Comm comm)
 
static void yac_couple_config_couple_merge (void *a_, void *b_, MPI_Comm comm)
 
void yac_couple_config_delete (struct yac_couple_config *couple_config)
 
static size_t yac_couple_config_add_grid_ (struct yac_couple_config *couple_config, char const *name)
 
void yac_couple_config_add_grid (struct yac_couple_config *couple_config, char const *name)
 
static size_t yac_couple_config_add_component_ (struct yac_couple_config *couple_config, char const *name)
 
void yac_couple_config_add_component (struct yac_couple_config *couple_config, char const *name)
 
void yac_couple_config_component_set_metadata (struct yac_couple_config *couple_config, char const *comp_name, const char *metadata)
 
void yac_couple_config_grid_set_metadata (struct yac_couple_config *couple_config, char const *grid_name, const char *metadata)
 
void yac_couple_config_field_set_metadata (struct yac_couple_config *couple_config, const char *comp_name, const char *grid_name, const char *field_name, const char *metadata)
 
const char * yac_couple_config_component_get_metadata (struct yac_couple_config *couple_config, const char *comp_name)
 
const char * yac_couple_config_grid_get_metadata (struct yac_couple_config *couple_config, const char *grid_name)
 
const char * yac_couple_config_field_get_metadata (struct yac_couple_config *couple_config, const char *comp_name, const char *grid_name, const char *field_name)
 
static void check_component_idx (struct yac_couple_config *couple_config, size_t component_idx, char const *routine_name, int line)
 
static void check_grid_idx (struct yac_couple_config *couple_config, size_t grid_idx, char const *routine_name, int line)
 
static size_t yac_couple_config_component_add_field_ (struct yac_couple_config *couple_config, size_t comp_idx, size_t grid_idx, char const *name, char const *timestep, size_t collection_size)
 
void yac_couple_config_component_add_field (struct yac_couple_config *couple_config, const char *component_name, const char *grid_name, const char *name, char const *timestep, size_t collection_size)
 
size_t yac_couple_config_get_num_couples (struct yac_couple_config *couple_config)
 
static void check_couple_idx (struct yac_couple_config *couple_config, size_t couple_idx, char const *routine_name, int line)
 
size_t yac_couple_config_get_num_couple_fields (struct yac_couple_config *couple_config, size_t couple_idx)
 
void yac_couple_config_get_couple_component_names (struct yac_couple_config *couple_config, size_t couple_idx, char const *couple_component_names[2])
 
int yac_couple_config_component_name_is_valid (struct yac_couple_config *couple_config, char const *component_name)
 
size_t yac_couple_config_get_num_components (struct yac_couple_config *couple_config)
 
size_t yac_couple_config_get_num_grids (struct yac_couple_config *couple_config)
 
size_t yac_couple_config_get_num_fields (struct yac_couple_config *couple_config, size_t component_idx)
 
size_t yac_couple_config_get_component_idx (struct yac_couple_config *couple_config, char const *component_name)
 
size_t yac_couple_config_get_grid_idx (struct yac_couple_config *couple_config, char const *grid_name)
 
size_t yac_couple_config_get_field_idx (struct yac_couple_config *couple_config, size_t component_idx, size_t grid_idx, char const *field_name)
 
char const * yac_couple_config_get_component_name (struct yac_couple_config *couple_config, size_t component_idx)
 
static void check_field_idx (struct yac_couple_config *couple_config, size_t component_idx, size_t field_idx, char const *routine_name, int line)
 
char const * yac_couple_config_get_field_grid_name (struct yac_couple_config *couple_config, size_t component_idx, size_t field_idx)
 
char const * yac_couple_config_get_field_name (struct yac_couple_config *couple_config, size_t component_idx, size_t field_idx)
 
char const * yac_couple_config_get_field_timestep (struct yac_couple_config *couple_config, char const *component_name, char const *grid_name, char const *field_name)
 
int yac_couple_config_get_field_role (struct yac_couple_config *couple_config, char const *component_name, char const *grid_name, char const *field_name)
 
int yac_couple_config_field_is_valid (struct yac_couple_config *couple_config, size_t component_idx, size_t field_idx)
 
static void check_field_couple_idx (struct yac_couple_config *couple_config, size_t couple_idx, size_t field_couple_idx, char const *routine_name, int line)
 
struct yac_interp_stack_configyac_couple_config_get_interp_stack (struct yac_couple_config *couple_config, size_t couple_idx, size_t field_couple_idx)
 
void yac_couple_config_get_field_grid_names (struct yac_couple_config *couple_config, size_t couple_idx, size_t field_couple_idx, char const **src_grid_name, char const **tgt_grid_name)
 
void yac_couple_config_field_enable_frac_mask (struct yac_couple_config *couple_config, char const *comp_name, char const *grid_name, char const *field_name, double frac_mask_fallback_value)
 
double yac_couple_config_get_frac_mask_fallback_value (struct yac_couple_config *couple_config, char const *component_name, char const *grid_name, char const *field_name)
 
size_t yac_couple_config_get_collection_size (struct yac_couple_config *couple_config, char const *component_name, char const *grid_name, char const *field_name)
 
void yac_couple_config_get_field_couple_component_names (struct yac_couple_config *couple_config, size_t couple_idx, size_t field_couple_idx, char const **src_component_name, char const **tgt_component_name)
 
void yac_couple_config_get_field_names (struct yac_couple_config *couple_config, size_t couple_idx, size_t field_couple_idx, char const **src_field_name, const char **tgt_field_name)
 
int yac_couple_config_mapping_on_source (struct yac_couple_config *couple_config, size_t couple_idx, size_t field_couple_idx)
 
int yac_couple_config_get_source_lag (struct yac_couple_config *couple_config, size_t couple_idx, size_t field_couple_idx)
 
int yac_couple_config_get_target_lag (struct yac_couple_config *couple_config, size_t couple_idx, size_t field_couple_idx)
 
char const * yac_couple_config_get_coupling_period (struct yac_couple_config *couple_config, size_t couple_idx, size_t field_couple_idx)
 
char const * yac_couple_config_get_source_timestep (struct yac_couple_config *couple_config, size_t couple_idx, size_t field_couple_idx)
 
char const * yac_couple_config_get_target_timestep (struct yac_couple_config *couple_config, size_t couple_idx, size_t field_couple_idx)
 
enum yac_reduction_type yac_couple_config_get_coupling_period_operation (struct yac_couple_config *couple_config, size_t couple_idx, size_t field_couple_idx)
 
void yac_couple_config_set_datetime (struct yac_couple_config *couple_config, char const *start, char const *end)
 
char const * yac_couple_config_get_start_datetime (struct yac_couple_config *couple_config)
 
char const * yac_couple_config_get_end_datetime (struct yac_couple_config *couple_config)
 
char const * yac_couple_config_get_grid_name (struct yac_couple_config *couple_config, size_t grid_idx)
 
int yac_couple_config_enforce_write_weight_file (struct yac_couple_config *couple_config, size_t couple_idx, size_t field_couple_idx)
 
char const * yac_couple_config_get_weight_file_name (struct yac_couple_config *couple_config, size_t couple_idx, size_t field_couple_idx)
 
double yac_couple_config_get_scale_factor (struct yac_couple_config *couple_config, size_t couple_idx, size_t field_couple_idx)
 
double yac_couple_config_get_scale_summand (struct yac_couple_config *couple_config, size_t couple_idx, size_t field_couple_idx)
 
void yac_couple_config_get_src_mask_names (struct yac_couple_config *couple_config, size_t couple_idx, size_t field_couple_idx, char const *const **mask_names, size_t *num_mask_names)
 
char const * yac_couple_config_get_tgt_mask_name (struct yac_couple_config *couple_config, size_t couple_idx, size_t field_couple_idx)
 
int yac_couple_config_contains_grid_name (struct yac_couple_config *couple_config, char const *grid_name)
 
static size_t yac_couple_config_get_string_pack_size (char const *string, MPI_Comm comm)
 
static size_t yac_couple_config_get_grid_pack_size (void *grid_, MPI_Comm comm)
 
static size_t yac_couple_config_get_grids_pack_size (size_t num_grids, void *grids_, MPI_Comm comm)
 
static size_t yac_couple_config_get_field_pack_size (struct yac_couple_config_field *field, MPI_Comm comm)
 
static size_t yac_couple_config_get_fields_pack_size (size_t num_fields, void *fields_, MPI_Comm comm)
 
static size_t yac_couple_config_get_component_pack_size (struct yac_couple_config_component *component, MPI_Comm comm)
 
static size_t yac_couple_config_get_components_pack_size (size_t num_components, void *components_, MPI_Comm comm)
 
static size_t yac_couple_config_get_field_couple_pack_size (struct yac_couple_config_field_couple *field_couple, MPI_Comm comm)
 
static size_t yac_couple_config_get_field_couples_pack_size (size_t num_field_couples, void *field_couples_, MPI_Comm comm)
 
static size_t yac_couple_config_get_couple_pack_size_basic (struct yac_couple_config_couple *couple, MPI_Comm comm)
 
static size_t yac_couple_config_get_couples_pack_size_basic (size_t num_couples, void *couples_, MPI_Comm comm)
 
static void yac_couple_config_pack_string (char const *string, void *buffer, int buffer_size, int *position, MPI_Comm comm)
 
static void yac_couple_config_pack_grid (struct yac_couple_config_grid *grid, void *buffer, int buffer_size, int *position, MPI_Comm comm)
 
static void yac_couple_config_pack_grids (size_t num_grids, void *grids_, void *buffer, int buffer_size, int *position, MPI_Comm comm)
 
static void yac_couple_config_pack_field (struct yac_couple_config_field *field, void *buffer, int buffer_size, int *position, MPI_Comm comm)
 
static void yac_couple_config_pack_fields (size_t num_fields, void *fields_, void *buffer, int buffer_size, int *position, MPI_Comm comm)
 
static void yac_couple_config_pack_component (struct yac_couple_config_component *component, void *buffer, int buffer_size, int *position, MPI_Comm comm)
 
static void yac_couple_config_pack_components (size_t num_components, void *components_, void *buffer, int buffer_size, int *position, MPI_Comm comm)
 
static void yac_couple_config_pack_field_couple (struct yac_couple_config_field_couple *field_couple, void *buffer, int buffer_size, int *position, MPI_Comm comm)
 
static void yac_couple_config_pack_field_couples (size_t num_field_couples, void *field_couples_, void *buffer, int buffer_size, int *position, MPI_Comm comm)
 
static void yac_couple_config_pack_couple_basic (struct yac_couple_config_couple *couple, void *buffer, int buffer_size, int *position, MPI_Comm comm)
 
static void yac_couple_config_pack_couples_basic (size_t num_couples, void *couples_, void *buffer, int buffer_size, int *position, MPI_Comm comm)
 
static char * yac_couple_config_unpack_string (void *buffer, int buffer_size, int *position, MPI_Comm comm)
 
static void yac_couple_config_unpack_grid (void *buffer, int buffer_size, int *position, struct yac_couple_config_grid *grid, MPI_Comm comm)
 
static void yac_couple_config_unpack_grids (void *buffer, int buffer_size, int *position, size_t *num_grids, void *grids_, MPI_Comm comm)
 
static void yac_couple_config_unpack_field (void *buffer, int buffer_size, int *position, struct yac_couple_config_field *field, MPI_Comm comm)
 
static void yac_couple_config_unpack_fields (void *buffer, int buffer_size, int *position, size_t *num_fields, void *fields_, MPI_Comm comm)
 
static void yac_couple_config_unpack_component (void *buffer, int buffer_size, int *position, struct yac_couple_config_component *component, MPI_Comm comm)
 
static void yac_couple_config_unpack_components (void *buffer, int buffer_size, int *position, size_t *num_components, void *components_, MPI_Comm comm)
 
static void yac_couple_config_unpack_field_couple (void *buffer, int buffer_size, int *position, struct yac_couple_config_field_couple *field_couple, MPI_Comm comm)
 
static void yac_couple_config_unpack_field_couples (void *buffer, int buffer_size, int *position, size_t *num_field_couples, void *field_couples_, MPI_Comm comm)
 
static void yac_couple_config_unpack_couple_basic (void *buffer, int buffer_size, int *position, struct yac_couple_config_couple *couple, MPI_Comm comm)
 
static void yac_couple_config_unpack_couples_basic (void *buffer, int buffer_size, int *position, size_t *num_couples, void *couples_, MPI_Comm comm)
 
void yac_couple_config_def_couple (struct yac_couple_config *couple_config, char const *src_comp_name, char const *src_grid_name, char const *src_field_name, char const *tgt_comp_name, char const *tgt_grid_name, char const *tgt_field_name, char const *coupling_period, int time_reduction, struct yac_interp_stack_config *interp_stack, int src_lag, int tgt_lag, const char *weight_file_name, int mapping_on_source, double scale_factor, double scale_summand, size_t num_src_mask_names, char const *const *src_mask_names, char const *tgt_mask_name)
 
static void couple_config_sync_time (struct yac_couple_config *couple_config, MPI_Comm comm)
 
static void dist_merge (size_t *len, void **arr, size_t element_size, MPI_Comm comm, struct dist_merge_vtable *vtable, size_t **idx_old_to_new)
 
static void merge_grids (struct yac_couple_config *couple_config, MPI_Comm comm)
 
static void merge_fields (struct yac_couple_config *couple_config, size_t comp_idx, MPI_Comm comm)
 
static void merge_components (struct yac_couple_config *couple_config, MPI_Comm comm)
 
static void merge_couples (struct yac_couple_config *couple_config, MPI_Comm comm)
 
void yac_couple_config_sync (struct yac_couple_config *couple_config, MPI_Comm comm)
 

Variables

struct dist_merge_vtable dist_merge_vtable_grid
 
struct dist_merge_vtable dist_merge_vtable_component
 
struct dist_merge_vtable dist_merge_vtable_field
 
struct dist_merge_vtable dist_merge_vtable_field_couple
 
struct dist_merge_vtable dist_merge_vtable_couple
 

Function Documentation

◆ check_component_idx()

static void check_component_idx ( struct yac_couple_config couple_config,
size_t  component_idx,
char const *  routine_name,
int  line 
)
static

Definition at line 711 of file couple_config.c.

Here is the caller graph for this function:

◆ check_couple_idx()

static void check_couple_idx ( struct yac_couple_config couple_config,
size_t  couple_idx,
char const *  routine_name,
int  line 
)
static

Definition at line 807 of file couple_config.c.

Here is the caller graph for this function:

◆ check_field_couple_idx()

static void check_field_couple_idx ( struct yac_couple_config couple_config,
size_t  couple_idx,
size_t  field_couple_idx,
char const *  routine_name,
int  line 
)
static

Definition at line 1072 of file couple_config.c.

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

◆ check_field_idx()

static void check_field_idx ( struct yac_couple_config couple_config,
size_t  component_idx,
size_t  field_idx,
char const *  routine_name,
int  line 
)
static

Definition at line 952 of file couple_config.c.

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

◆ check_grid_idx()

static void check_grid_idx ( struct yac_couple_config couple_config,
size_t  grid_idx,
char const *  routine_name,
int  line 
)
static

Definition at line 720 of file couple_config.c.

Here is the caller graph for this function:

◆ couple_config_sync_calendar()

static void couple_config_sync_calendar ( MPI_Comm  comm)
static

Definition at line 267 of file couple_config.c.

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

◆ couple_config_sync_string()

static void couple_config_sync_string ( char const *  string_name,
char **  string,
MPI_Comm  comm 
)
static

Definition at line 225 of file couple_config.c.

Here is the caller graph for this function:

◆ couple_config_sync_time()

static void couple_config_sync_time ( struct yac_couple_config couple_config,
MPI_Comm  comm 
)
static

Definition at line 2483 of file couple_config.c.

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

◆ dist_merge()

static void dist_merge ( size_t *  len,
void **  arr,
size_t  element_size,
MPI_Comm  comm,
struct dist_merge_vtable vtable,
size_t **  idx_old_to_new 
)
static

Definition at line 2536 of file couple_config.c.

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

◆ merge_components()

static void merge_components ( struct yac_couple_config couple_config,
MPI_Comm  comm 
)
static

Definition at line 2725 of file couple_config.c.

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

◆ merge_couples()

static void merge_couples ( struct yac_couple_config couple_config,
MPI_Comm  comm 
)
static

Definition at line 2775 of file couple_config.c.

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

◆ merge_field_couples()

static void merge_field_couples ( size_t *  num_field_couples,
struct yac_couple_config_field_couple **  field_couples,
MPI_Comm  comm 
)
static

Definition at line 2762 of file couple_config.c.

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

◆ merge_fields()

static void merge_fields ( struct yac_couple_config couple_config,
size_t  comp_idx,
MPI_Comm  comm 
)
static

Definition at line 2690 of file couple_config.c.

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

◆ merge_grids()

static void merge_grids ( struct yac_couple_config couple_config,
MPI_Comm  comm 
)
static

Definition at line 2666 of file couple_config.c.

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

◆ string_dup()

static char const * string_dup ( char const *  string)
static

Definition at line 111 of file couple_config.c.

Here is the caller graph for this function:

◆ yac_couple_config_add_component()

void yac_couple_config_add_component ( struct yac_couple_config couple_config,
char const *  name 
)
Examples
test_component_config.c, and test_couple_config.c.

Definition at line 648 of file couple_config.c.

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

◆ yac_couple_config_add_component_()

static size_t yac_couple_config_add_component_ ( struct yac_couple_config couple_config,
char const *  name 
)
static

Definition at line 624 of file couple_config.c.

Here is the caller graph for this function:

◆ yac_couple_config_add_grid()

void yac_couple_config_add_grid ( struct yac_couple_config couple_config,
char const *  name 
)
Examples
test_couple_config.c.

Definition at line 618 of file couple_config.c.

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

◆ yac_couple_config_add_grid_()

static size_t yac_couple_config_add_grid_ ( struct yac_couple_config couple_config,
char const *  name 
)
static

Definition at line 596 of file couple_config.c.

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

◆ yac_couple_config_component_add_field()

void yac_couple_config_component_add_field ( struct yac_couple_config couple_config,
const char *  component_name,
const char *  grid_name,
const char *  name,
char const *  timestep,
size_t  collection_size 
)
Examples
test_couple_config.c.

Definition at line 789 of file couple_config.c.

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

◆ yac_couple_config_component_add_field_()

static size_t yac_couple_config_component_add_field_ ( struct yac_couple_config couple_config,
size_t  comp_idx,
size_t  grid_idx,
char const *  name,
char const *  timestep,
size_t  collection_size 
)
static

Definition at line 729 of file couple_config.c.

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

◆ yac_couple_config_component_compare()

static int yac_couple_config_component_compare ( void const *  a_,
void const *  b_ 
)
static

Definition at line 185 of file couple_config.c.

◆ yac_couple_config_component_free()

static void yac_couple_config_component_free ( void *  component_)
static

Definition at line 123 of file couple_config.c.

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

◆ yac_couple_config_component_get_metadata()

const char * yac_couple_config_component_get_metadata ( struct yac_couple_config couple_config,
const char *  comp_name 
)

Definition at line 687 of file couple_config.c.

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

◆ yac_couple_config_component_merge()

static void yac_couple_config_component_merge ( void *  a_,
void *  b_,
MPI_Comm  comm 
)
static

Definition at line 285 of file couple_config.c.

Here is the call graph for this function:

◆ yac_couple_config_component_name_is_valid()

int yac_couple_config_component_name_is_valid ( struct yac_couple_config couple_config,
char const *  component_name 
)
Examples
test_couple_config.c.

Definition at line 840 of file couple_config.c.

◆ yac_couple_config_component_set_metadata()

void yac_couple_config_component_set_metadata ( struct yac_couple_config couple_config,
char const *  comp_name,
const char *  metadata 
)

Definition at line 654 of file couple_config.c.

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

◆ yac_couple_config_contains_grid_name()

int yac_couple_config_contains_grid_name ( struct yac_couple_config couple_config,
char const *  grid_name 
)
Examples
test_couple_config.c.

Definition at line 1555 of file couple_config.c.

Here is the caller graph for this function:

◆ yac_couple_config_couple_compare_basic()

static int yac_couple_config_couple_compare_basic ( void const *  a_,
void const *  b_ 
)
static

Definition at line 213 of file couple_config.c.

◆ yac_couple_config_couple_free()

static void yac_couple_config_couple_free ( void *  couple_)
static

Definition at line 146 of file couple_config.c.

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

◆ yac_couple_config_couple_merge()

static void yac_couple_config_couple_merge ( void *  a_,
void *  b_,
MPI_Comm  comm 
)
static

Definition at line 557 of file couple_config.c.

Here is the call graph for this function:

◆ yac_couple_config_def_couple()

void yac_couple_config_def_couple ( struct yac_couple_config couple_config,
char const *  src_comp_name,
char const *  src_grid_name,
char const *  src_field_name,
char const *  tgt_comp_name,
char const *  tgt_grid_name,
char const *  tgt_field_name,
char const *  coupling_period,
int  time_reduction,
struct yac_interp_stack_config interp_stack,
int  src_lag,
int  tgt_lag,
const char *  weight_file_name,
int  mapping_on_source,
double  scale_factor,
double  scale_summand,
size_t  num_src_mask_names,
char const *const *  src_mask_names,
char const *  tgt_mask_name 
)
Examples
test_couple_config.c.

Definition at line 2347 of file couple_config.c.

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

◆ yac_couple_config_delete()

void yac_couple_config_delete ( struct yac_couple_config couple_config)
Examples
test_component_config.c, and test_couple_config.c.

Definition at line 574 of file couple_config.c.

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

◆ yac_couple_config_enforce_write_weight_file()

int yac_couple_config_enforce_write_weight_file ( struct yac_couple_config couple_config,
size_t  couple_idx,
size_t  field_couple_idx 
)
Examples
test_couple_config.c.

Definition at line 1455 of file couple_config.c.

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

◆ yac_couple_config_field_compare()

static int yac_couple_config_field_compare ( void const *  a_,
void const *  b_ 
)
static

Definition at line 173 of file couple_config.c.

◆ yac_couple_config_field_couple_compare()

static int yac_couple_config_field_couple_compare ( void const *  a_,
void const *  b_ 
)
static

Definition at line 195 of file couple_config.c.

◆ yac_couple_config_field_couple_free()

static void yac_couple_config_field_couple_free ( void *  field_couple_)
static

Definition at line 134 of file couple_config.c.

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

◆ yac_couple_config_field_couple_merge()

static void yac_couple_config_field_couple_merge ( void *  a_,
void *  b_,
MPI_Comm  comm 
)
static

Definition at line 466 of file couple_config.c.

Here is the call graph for this function:

◆ yac_couple_config_field_enable_frac_mask()

void yac_couple_config_field_enable_frac_mask ( struct yac_couple_config couple_config,
char const *  comp_name,
char const *  grid_name,
char const *  field_name,
double  frac_mask_fallback_value 
)
Examples
test_couple_config.c.

Definition at line 1136 of file couple_config.c.

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

◆ yac_couple_config_field_free()

static void yac_couple_config_field_free ( void *  field_)
static

Definition at line 115 of file couple_config.c.

Here is the caller graph for this function:

◆ yac_couple_config_field_get_metadata()

const char * yac_couple_config_field_get_metadata ( struct yac_couple_config couple_config,
const char *  comp_name,
const char *  grid_name,
const char *  field_name 
)

Definition at line 701 of file couple_config.c.

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

◆ yac_couple_config_field_is_valid()

int yac_couple_config_field_is_valid ( struct yac_couple_config couple_config,
size_t  component_idx,
size_t  field_idx 
)

Definition at line 1056 of file couple_config.c.

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

◆ yac_couple_config_field_merge()

static void yac_couple_config_field_merge ( void *  a_,
void *  b_,
MPI_Comm  comm 
)
static

Definition at line 318 of file couple_config.c.

◆ yac_couple_config_field_set_metadata()

void yac_couple_config_field_set_metadata ( struct yac_couple_config couple_config,
const char *  comp_name,
const char *  grid_name,
const char *  field_name,
const char *  metadata 
)

Definition at line 674 of file couple_config.c.

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

◆ yac_couple_config_get_collection_size()

size_t yac_couple_config_get_collection_size ( struct yac_couple_config couple_config,
char const *  component_name,
char const *  grid_name,
char const *  field_name 
)
Examples
test_couple_config.c.

Definition at line 1200 of file couple_config.c.

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

◆ yac_couple_config_get_component_idx()

size_t yac_couple_config_get_component_idx ( struct yac_couple_config couple_config,
char const *  component_name 
)

Definition at line 878 of file couple_config.c.

Here is the caller graph for this function:

◆ yac_couple_config_get_component_name()

char const * yac_couple_config_get_component_name ( struct yac_couple_config couple_config,
size_t  component_idx 
)

Definition at line 942 of file couple_config.c.

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

◆ yac_couple_config_get_component_pack_size()

static size_t yac_couple_config_get_component_pack_size ( struct yac_couple_config_component component,
MPI_Comm  comm 
)
static

Definition at line 1653 of file couple_config.c.

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

◆ yac_couple_config_get_components_pack_size()

static size_t yac_couple_config_get_components_pack_size ( size_t  num_components,
void *  components_,
MPI_Comm  comm 
)
static

Definition at line 1660 of file couple_config.c.

Here is the call graph for this function:

◆ yac_couple_config_get_couple_component_names()

void yac_couple_config_get_couple_component_names ( struct yac_couple_config couple_config,
size_t  couple_idx,
char const *  couple_component_names[2] 
)
Examples
test_couple_config.c.

Definition at line 826 of file couple_config.c.

Here is the call graph for this function:

◆ yac_couple_config_get_couple_pack_size_basic()

static size_t yac_couple_config_get_couple_pack_size_basic ( struct yac_couple_config_couple couple,
MPI_Comm  comm 
)
static

Definition at line 1733 of file couple_config.c.

Here is the caller graph for this function:

◆ yac_couple_config_get_couples_pack_size_basic()

static size_t yac_couple_config_get_couples_pack_size_basic ( size_t  num_couples,
void *  couples_,
MPI_Comm  comm 
)
static

Definition at line 1743 of file couple_config.c.

Here is the call graph for this function:

◆ yac_couple_config_get_coupling_period()

char const * yac_couple_config_get_coupling_period ( struct yac_couple_config couple_config,
size_t  couple_idx,
size_t  field_couple_idx 
)
Examples
test_couple_config.c.

Definition at line 1321 of file couple_config.c.

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

◆ yac_couple_config_get_coupling_period_operation()

enum yac_reduction_type yac_couple_config_get_coupling_period_operation ( struct yac_couple_config couple_config,
size_t  couple_idx,
size_t  field_couple_idx 
)
Examples
test_couple_config.c.

Definition at line 1386 of file couple_config.c.

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

◆ yac_couple_config_get_end_datetime()

char const * yac_couple_config_get_end_datetime ( struct yac_couple_config couple_config)
Examples
test_couple_config.c.

Definition at line 1434 of file couple_config.c.

Here is the caller graph for this function:

◆ yac_couple_config_get_field_couple_component_names()

void yac_couple_config_get_field_couple_component_names ( struct yac_couple_config couple_config,
size_t  couple_idx,
size_t  field_couple_idx,
char const **  src_component_name,
char const **  tgt_component_name 
)
Examples
test_couple_config.c.

Definition at line 1227 of file couple_config.c.

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

◆ yac_couple_config_get_field_couple_pack_size()

static size_t yac_couple_config_get_field_couple_pack_size ( struct yac_couple_config_field_couple field_couple,
MPI_Comm  comm 
)
static

Definition at line 1677 of file couple_config.c.

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

◆ yac_couple_config_get_field_couples_pack_size()

static size_t yac_couple_config_get_field_couples_pack_size ( size_t  num_field_couples,
void *  field_couples_,
MPI_Comm  comm 
)
static

Definition at line 1715 of file couple_config.c.

Here is the call graph for this function:

◆ yac_couple_config_get_field_grid_name()

char const * yac_couple_config_get_field_grid_name ( struct yac_couple_config couple_config,
size_t  component_idx,
size_t  field_idx 
)

Definition at line 966 of file couple_config.c.

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

◆ yac_couple_config_get_field_grid_names()

void yac_couple_config_get_field_grid_names ( struct yac_couple_config couple_config,
size_t  couple_idx,
size_t  field_couple_idx,
char const **  src_grid_name,
char const **  tgt_grid_name 
)
Examples
test_couple_config.c.

Definition at line 1099 of file couple_config.c.

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

◆ yac_couple_config_get_field_idx()

size_t yac_couple_config_get_field_idx ( struct yac_couple_config couple_config,
size_t  component_idx,
size_t  grid_idx,
char const *  field_name 
)

Definition at line 913 of file couple_config.c.

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

◆ yac_couple_config_get_field_name()

char const * yac_couple_config_get_field_name ( struct yac_couple_config couple_config,
size_t  component_idx,
size_t  field_idx 
)

Definition at line 981 of file couple_config.c.

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

◆ yac_couple_config_get_field_names()

void yac_couple_config_get_field_names ( struct yac_couple_config couple_config,
size_t  couple_idx,
size_t  field_couple_idx,
char const **  src_field_name,
const char **  tgt_field_name 
)
Examples
test_couple_config.c.

Definition at line 1246 of file couple_config.c.

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

◆ yac_couple_config_get_field_pack_size()

static size_t yac_couple_config_get_field_pack_size ( struct yac_couple_config_field field,
MPI_Comm  comm 
)
static

Definition at line 1606 of file couple_config.c.

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

◆ yac_couple_config_get_field_role()

int yac_couple_config_get_field_role ( struct yac_couple_config couple_config,
char const *  component_name,
char const *  grid_name,
char const *  field_name 
)
Examples
test_couple_config.c.

Definition at line 1021 of file couple_config.c.

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

◆ yac_couple_config_get_field_timestep()

char const * yac_couple_config_get_field_timestep ( struct yac_couple_config couple_config,
char const *  component_name,
char const *  grid_name,
char const *  field_name 
)

Definition at line 995 of file couple_config.c.

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

◆ yac_couple_config_get_fields_pack_size()

static size_t yac_couple_config_get_fields_pack_size ( size_t  num_fields,
void *  fields_,
MPI_Comm  comm 
)
static

Definition at line 1634 of file couple_config.c.

Here is the call graph for this function:

◆ yac_couple_config_get_frac_mask_fallback_value()

double yac_couple_config_get_frac_mask_fallback_value ( struct yac_couple_config couple_config,
char const *  component_name,
char const *  grid_name,
char const *  field_name 
)
Examples
test_couple_config.c.

Definition at line 1173 of file couple_config.c.

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

◆ yac_couple_config_get_grid_idx()

size_t yac_couple_config_get_grid_idx ( struct yac_couple_config couple_config,
char const *  grid_name 
)

Definition at line 896 of file couple_config.c.

Here is the caller graph for this function:

◆ yac_couple_config_get_grid_name()

char const * yac_couple_config_get_grid_name ( struct yac_couple_config couple_config,
size_t  grid_idx 
)

Definition at line 1444 of file couple_config.c.

Here is the caller graph for this function:

◆ yac_couple_config_get_grid_pack_size()

static size_t yac_couple_config_get_grid_pack_size ( void *  grid_,
MPI_Comm  comm 
)
static

Definition at line 1582 of file couple_config.c.

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

◆ yac_couple_config_get_grids_pack_size()

static size_t yac_couple_config_get_grids_pack_size ( size_t  num_grids,
void *  grids_,
MPI_Comm  comm 
)
static

Definition at line 1590 of file couple_config.c.

Here is the call graph for this function:

◆ yac_couple_config_get_interp_stack()

struct yac_interp_stack_config * yac_couple_config_get_interp_stack ( struct yac_couple_config couple_config,
size_t  couple_idx,
size_t  field_couple_idx 
)
Examples
test_couple_config.c.

Definition at line 1085 of file couple_config.c.

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

◆ yac_couple_config_get_num_components()

size_t yac_couple_config_get_num_components ( struct yac_couple_config couple_config)
Examples
test_couple_config.c.

Definition at line 858 of file couple_config.c.

Here is the caller graph for this function:

◆ yac_couple_config_get_num_couple_fields()

size_t yac_couple_config_get_num_couple_fields ( struct yac_couple_config couple_config,
size_t  couple_idx 
)
Examples
test_couple_config.c.

Definition at line 816 of file couple_config.c.

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

◆ yac_couple_config_get_num_couples()

size_t yac_couple_config_get_num_couples ( struct yac_couple_config couple_config)
Examples
test_couple_config.c.

Definition at line 801 of file couple_config.c.

Here is the caller graph for this function:

◆ yac_couple_config_get_num_fields()

size_t yac_couple_config_get_num_fields ( struct yac_couple_config couple_config,
size_t  component_idx 
)

Definition at line 871 of file couple_config.c.

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

◆ yac_couple_config_get_num_grids()

size_t yac_couple_config_get_num_grids ( struct yac_couple_config couple_config)

Definition at line 865 of file couple_config.c.

Here is the caller graph for this function:

◆ yac_couple_config_get_scale_factor()

double yac_couple_config_get_scale_factor ( struct yac_couple_config couple_config,
size_t  couple_idx,
size_t  field_couple_idx 
)
Examples
test_couple_config.c.

Definition at line 1488 of file couple_config.c.

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

◆ yac_couple_config_get_scale_summand()

double yac_couple_config_get_scale_summand ( struct yac_couple_config couple_config,
size_t  couple_idx,
size_t  field_couple_idx 
)
Examples
test_couple_config.c.

Definition at line 1503 of file couple_config.c.

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

◆ yac_couple_config_get_source_lag()

int yac_couple_config_get_source_lag ( struct yac_couple_config couple_config,
size_t  couple_idx,
size_t  field_couple_idx 
)
Examples
test_couple_config.c.

Definition at line 1291 of file couple_config.c.

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

◆ yac_couple_config_get_source_timestep()

char const * yac_couple_config_get_source_timestep ( struct yac_couple_config couple_config,
size_t  couple_idx,
size_t  field_couple_idx 
)
Examples
test_couple_config.c.

Definition at line 1336 of file couple_config.c.

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

◆ yac_couple_config_get_src_mask_names()

void yac_couple_config_get_src_mask_names ( struct yac_couple_config couple_config,
size_t  couple_idx,
size_t  field_couple_idx,
char const *const **  mask_names,
size_t *  num_mask_names 
)
Examples
test_couple_config.c.

Definition at line 1518 of file couple_config.c.

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

◆ yac_couple_config_get_start_datetime()

char const * yac_couple_config_get_start_datetime ( struct yac_couple_config couple_config)
Examples
test_couple_config.c.

Definition at line 1424 of file couple_config.c.

Here is the caller graph for this function:

◆ yac_couple_config_get_string_pack_size()

static size_t yac_couple_config_get_string_pack_size ( char const *  string,
MPI_Comm  comm 
)
static

Definition at line 1565 of file couple_config.c.

Here is the caller graph for this function:

◆ yac_couple_config_get_target_lag()

int yac_couple_config_get_target_lag ( struct yac_couple_config couple_config,
size_t  couple_idx,
size_t  field_couple_idx 
)
Examples
test_couple_config.c.

Definition at line 1306 of file couple_config.c.

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

◆ yac_couple_config_get_target_timestep()

char const * yac_couple_config_get_target_timestep ( struct yac_couple_config couple_config,
size_t  couple_idx,
size_t  field_couple_idx 
)
Examples
test_couple_config.c.

Definition at line 1361 of file couple_config.c.

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

◆ yac_couple_config_get_tgt_mask_name()

char const * yac_couple_config_get_tgt_mask_name ( struct yac_couple_config couple_config,
size_t  couple_idx,
size_t  field_couple_idx 
)
Examples
test_couple_config.c.

Definition at line 1540 of file couple_config.c.

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

◆ yac_couple_config_get_weight_file_name()

char const * yac_couple_config_get_weight_file_name ( struct yac_couple_config couple_config,
size_t  couple_idx,
size_t  field_couple_idx 
)
Examples
test_couple_config.c.

Definition at line 1470 of file couple_config.c.

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

◆ yac_couple_config_grid_compare()

static int yac_couple_config_grid_compare ( void const *  a,
void const *  b 
)
static

Definition at line 164 of file couple_config.c.

◆ yac_couple_config_grid_free()

static void yac_couple_config_grid_free ( void *  grid_)
static

Definition at line 156 of file couple_config.c.

Here is the caller graph for this function:

◆ yac_couple_config_grid_get_metadata()

const char * yac_couple_config_grid_get_metadata ( struct yac_couple_config couple_config,
const char *  grid_name 
)
Examples
test_couple_config.c.

Definition at line 694 of file couple_config.c.

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

◆ yac_couple_config_grid_merge()

static void yac_couple_config_grid_merge ( void *  a_,
void *  b_,
MPI_Comm  comm 
)
static

Definition at line 304 of file couple_config.c.

Here is the call graph for this function:

◆ yac_couple_config_grid_set_metadata()

void yac_couple_config_grid_set_metadata ( struct yac_couple_config couple_config,
char const *  grid_name,
const char *  metadata 
)
Examples
test_couple_config.c.

Definition at line 663 of file couple_config.c.

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

◆ yac_couple_config_mapping_on_source()

int yac_couple_config_mapping_on_source ( struct yac_couple_config couple_config,
size_t  couple_idx,
size_t  field_couple_idx 
)
Examples
test_couple_config.c.

Definition at line 1276 of file couple_config.c.

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

◆ yac_couple_config_new()

struct yac_couple_config * yac_couple_config_new ( )
Examples
test_component_config.c, test_couple_config.c, and test_instance_parallel1.c.

Definition at line 91 of file couple_config.c.

Here is the caller graph for this function:

◆ yac_couple_config_pack_component()

static void yac_couple_config_pack_component ( struct yac_couple_config_component component,
void *  buffer,
int  buffer_size,
int *  position,
MPI_Comm  comm 
)
static

Definition at line 1868 of file couple_config.c.

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

◆ yac_couple_config_pack_components()

static void yac_couple_config_pack_components ( size_t  num_components,
void *  components_,
void *  buffer,
int  buffer_size,
int *  position,
MPI_Comm  comm 
)
static

Definition at line 1876 of file couple_config.c.

Here is the call graph for this function:

◆ yac_couple_config_pack_couple_basic()

static void yac_couple_config_pack_couple_basic ( struct yac_couple_config_couple couple,
void *  buffer,
int  buffer_size,
int *  position,
MPI_Comm  comm 
)
static

Definition at line 1996 of file couple_config.c.

Here is the caller graph for this function:

◆ yac_couple_config_pack_couples_basic()

static void yac_couple_config_pack_couples_basic ( size_t  num_couples,
void *  couples_,
void *  buffer,
int  buffer_size,
int *  position,
MPI_Comm  comm 
)
static

Definition at line 2015 of file couple_config.c.

Here is the call graph for this function:

◆ yac_couple_config_pack_field()

static void yac_couple_config_pack_field ( struct yac_couple_config_field field,
void *  buffer,
int  buffer_size,
int *  position,
MPI_Comm  comm 
)
static

Definition at line 1810 of file couple_config.c.

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

◆ yac_couple_config_pack_field_couple()

static void yac_couple_config_pack_field_couple ( struct yac_couple_config_field_couple field_couple,
void *  buffer,
int  buffer_size,
int *  position,
MPI_Comm  comm 
)
static

Definition at line 1897 of file couple_config.c.

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

◆ yac_couple_config_pack_field_couples()

static void yac_couple_config_pack_field_couples ( size_t  num_field_couples,
void *  field_couples_,
void *  buffer,
int  buffer_size,
int *  position,
MPI_Comm  comm 
)
static

Definition at line 1974 of file couple_config.c.

Here is the call graph for this function:

◆ yac_couple_config_pack_fields()

static void yac_couple_config_pack_fields ( size_t  num_fields,
void *  fields_,
void *  buffer,
int  buffer_size,
int *  position,
MPI_Comm  comm 
)
static

Definition at line 1846 of file couple_config.c.

Here is the call graph for this function:

◆ yac_couple_config_pack_grid()

static void yac_couple_config_pack_grid ( struct yac_couple_config_grid grid,
void *  buffer,
int  buffer_size,
int *  position,
MPI_Comm  comm 
)
static

Definition at line 1782 of file couple_config.c.

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

◆ yac_couple_config_pack_grids()

static void yac_couple_config_pack_grids ( size_t  num_grids,
void *  grids_,
void *  buffer,
int  buffer_size,
int *  position,
MPI_Comm  comm 
)
static

Definition at line 1790 of file couple_config.c.

Here is the call graph for this function:

◆ yac_couple_config_pack_string()

static void yac_couple_config_pack_string ( char const *  string,
void *  buffer,
int  buffer_size,
int *  position,
MPI_Comm  comm 
)
static

Definition at line 1760 of file couple_config.c.

Here is the caller graph for this function:

◆ yac_couple_config_set_datetime()

void yac_couple_config_set_datetime ( struct yac_couple_config couple_config,
char const *  start,
char const *  end 
)
Examples
test_couple_config.c.

Definition at line 1401 of file couple_config.c.

Here is the caller graph for this function:

◆ yac_couple_config_sync()

void yac_couple_config_sync ( struct yac_couple_config couple_config,
MPI_Comm  comm 
)

synchronises the coupling configuration across all processes in comm

Parameters
[in]couple_configcoupling configuration
[in]commMPI communicator
Examples
test_couple_config.c.

Definition at line 2790 of file couple_config.c.

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

◆ yac_couple_config_unpack_component()

static void yac_couple_config_unpack_component ( void *  buffer,
int  buffer_size,
int *  position,
struct yac_couple_config_component component,
MPI_Comm  comm 
)
static

Definition at line 2151 of file couple_config.c.

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

◆ yac_couple_config_unpack_components()

static void yac_couple_config_unpack_components ( void *  buffer,
int  buffer_size,
int *  position,
size_t *  num_components,
void *  components_,
MPI_Comm  comm 
)
static

Definition at line 2162 of file couple_config.c.

Here is the call graph for this function:

◆ yac_couple_config_unpack_couple_basic()

static void yac_couple_config_unpack_couple_basic ( void *  buffer,
int  buffer_size,
int *  position,
struct yac_couple_config_couple couple,
MPI_Comm  comm 
)
static

Definition at line 2302 of file couple_config.c.

Here is the caller graph for this function:

◆ yac_couple_config_unpack_couples_basic()

static void yac_couple_config_unpack_couples_basic ( void *  buffer,
int  buffer_size,
int *  position,
size_t *  num_couples,
void *  couples_,
MPI_Comm  comm 
)
static

Definition at line 2322 of file couple_config.c.

Here is the call graph for this function:

◆ yac_couple_config_unpack_field()

static void yac_couple_config_unpack_field ( void *  buffer,
int  buffer_size,
int *  position,
struct yac_couple_config_field field,
MPI_Comm  comm 
)
static

Definition at line 2086 of file couple_config.c.

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

◆ yac_couple_config_unpack_field_couple()

static void yac_couple_config_unpack_field_couple ( void *  buffer,
int  buffer_size,
int *  position,
struct yac_couple_config_field_couple field_couple,
MPI_Comm  comm 
)
static

Definition at line 2187 of file couple_config.c.

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

◆ yac_couple_config_unpack_field_couples()

static void yac_couple_config_unpack_field_couples ( void *  buffer,
int  buffer_size,
int *  position,
size_t *  num_field_couples,
void *  field_couples_,
MPI_Comm  comm 
)
static

Definition at line 2276 of file couple_config.c.

Here is the call graph for this function:

◆ yac_couple_config_unpack_fields()

static void yac_couple_config_unpack_fields ( void *  buffer,
int  buffer_size,
int *  position,
size_t *  num_fields,
void *  fields_,
MPI_Comm  comm 
)
static

Definition at line 2125 of file couple_config.c.

Here is the call graph for this function:

◆ yac_couple_config_unpack_grid()

static void yac_couple_config_unpack_grid ( void *  buffer,
int  buffer_size,
int *  position,
struct yac_couple_config_grid grid,
MPI_Comm  comm 
)
static

Definition at line 2054 of file couple_config.c.

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

◆ yac_couple_config_unpack_grids()

static void yac_couple_config_unpack_grids ( void *  buffer,
int  buffer_size,
int *  position,
size_t *  num_grids,
void *  grids_,
MPI_Comm  comm 
)
static

Definition at line 2063 of file couple_config.c.

Here is the call graph for this function:

◆ yac_couple_config_unpack_string()

static char * yac_couple_config_unpack_string ( void *  buffer,
int  buffer_size,
int *  position,
MPI_Comm  comm 
)
static

Definition at line 2036 of file couple_config.c.

Here is the caller graph for this function:

Variable Documentation

◆ dist_merge_vtable_component

struct dist_merge_vtable dist_merge_vtable_component
Initial value:
=
static void yac_couple_config_component_merge(void *a_, void *b_, MPI_Comm comm)
static void yac_couple_config_pack_components(size_t num_components, void *components_, void *buffer, int buffer_size, int *position, MPI_Comm comm)
static size_t yac_couple_config_get_components_pack_size(size_t num_components, void *components_, MPI_Comm comm)
static int yac_couple_config_component_compare(void const *a_, void const *b_)
static void yac_couple_config_component_free(void *component_)
static void yac_couple_config_unpack_components(void *buffer, int buffer_size, int *position, size_t *num_components, void *components_, MPI_Comm comm)

◆ dist_merge_vtable_couple

struct dist_merge_vtable dist_merge_vtable_couple
Initial value:
=
static void yac_couple_config_couple_free(void *couple_)
static void yac_couple_config_pack_couples_basic(size_t num_couples, void *couples_, void *buffer, int buffer_size, int *position, MPI_Comm comm)
static void yac_couple_config_unpack_couples_basic(void *buffer, int buffer_size, int *position, size_t *num_couples, void *couples_, MPI_Comm comm)
static void yac_couple_config_couple_merge(void *a_, void *b_, MPI_Comm comm)
static int yac_couple_config_couple_compare_basic(void const *a_, void const *b_)
static size_t yac_couple_config_get_couples_pack_size_basic(size_t num_couples, void *couples_, MPI_Comm comm)

◆ dist_merge_vtable_field

struct dist_merge_vtable dist_merge_vtable_field
Initial value:
=
static int yac_couple_config_field_compare(void const *a_, void const *b_)
static size_t yac_couple_config_get_fields_pack_size(size_t num_fields, void *fields_, MPI_Comm comm)
static void yac_couple_config_pack_fields(size_t num_fields, void *fields_, void *buffer, int buffer_size, int *position, MPI_Comm comm)
static void yac_couple_config_unpack_fields(void *buffer, int buffer_size, int *position, size_t *num_fields, void *fields_, MPI_Comm comm)
static void yac_couple_config_field_free(void *field_)
static void yac_couple_config_field_merge(void *a_, void *b_, MPI_Comm comm)

◆ dist_merge_vtable_field_couple

struct dist_merge_vtable dist_merge_vtable_field_couple
Initial value:
=
static void yac_couple_config_unpack_field_couples(void *buffer, int buffer_size, int *position, size_t *num_field_couples, void *field_couples_, MPI_Comm comm)
static void yac_couple_config_field_couple_free(void *field_couple_)
static void yac_couple_config_pack_field_couples(size_t num_field_couples, void *field_couples_, void *buffer, int buffer_size, int *position, MPI_Comm comm)
static size_t yac_couple_config_get_field_couples_pack_size(size_t num_field_couples, void *field_couples_, MPI_Comm comm)
static void yac_couple_config_field_couple_merge(void *a_, void *b_, MPI_Comm comm)
static int yac_couple_config_field_couple_compare(void const *a_, void const *b_)

◆ dist_merge_vtable_grid

struct dist_merge_vtable dist_merge_vtable_grid
Initial value:
=
static void yac_couple_config_grid_merge(void *a_, void *b_, MPI_Comm comm)
static int yac_couple_config_grid_compare(void const *a, void const *b)
static void yac_couple_config_unpack_grids(void *buffer, int buffer_size, int *position, size_t *num_grids, void *grids_, MPI_Comm comm)
static void yac_couple_config_pack_grids(size_t num_grids, void *grids_, void *buffer, int buffer_size, int *position, MPI_Comm comm)
static void yac_couple_config_grid_free(void *grid_)
static size_t yac_couple_config_get_grids_pack_size(size_t num_grids, void *grids_, MPI_Comm comm)