|
YAC 3.13.0
Yet Another Coupler
|
#include "config.h"#include <stdlib.h>#include <stdio.h>#include <string.h>#include <math.h>#include <mpi.h>#include "couple_config.h"#include "yac_mpi_common.h"#include "yac.h"#include "mtime_calendar.h"#include "utils_common.h"#include "config_yaml.h"#include "dist_merge.h"#include "mtime_datetime.h"#include "interpolation/interpolation_internal.h"#include "interpolation/interpolation_gen_config.h"#include "yac_mpi_internal.h"#include "collection_selection_internal.h"
Go to the source code of this file.
Data Structures | |
| struct | yac_couple_config_config_output |
| 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 |
Enumerations | |
| enum | flag_value { FLAG_FALSE = 0 , FLAG_TRUE = 1 , FLAG_UNSET } |
Functions | |
| struct yac_couple_config * | yac_couple_config_new () |
| static char * | 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 void | yac_couple_config_config_output_free (void *config_output_) |
| 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 (void const *a_, void const *b_) |
| static int | yac_couple_config_config_output_compare (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_flag_value (char const *flag_value_name, enum flag_value *flag, 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) |
| static void | yac_couple_config_config_output_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_output_filename (struct yac_couple_config *couple_config, char const *grid_name, const char *output_filename) |
| 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_output_filename (struct yac_couple_config *couple_config, const char *grid_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) |
| int | yac_couple_config_get_missing_definition_is_fatal (struct yac_couple_config *couple_config) |
| void | yac_couple_config_set_missing_definition_is_fatal (struct yac_couple_config *couple_config, int missing_definition_is_fatal) |
| 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_config * | yac_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_field_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) |
| static void | set_datetime (char const *type_datetime, struct _datetime **old, char const *str_new) |
| void | yac_couple_config_set_datetime (struct yac_couple_config *couple_config, char const *start, char const *end) |
| char * | yac_couple_config_get_start_datetime (struct yac_couple_config *couple_config) |
| char * | 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) |
| enum yac_weight_file_on_existing | yac_couple_config_get_weight_file_on_existing (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) |
| char const * | yac_couple_config_get_yaxt_exchanger_name (struct yac_couple_config *couple_config, size_t couple_idx, size_t field_couple_idx) |
| struct yac_collection_selection const * | yac_couple_config_get_collection_selection (struct yac_couple_config *couple_config, size_t couple_idx, size_t field_couple_idx) |
| int | yac_couple_config_get_use_raw_exchange (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_grid_pack_size (void *grid_, MPI_Comm comm) |
| static size_t | yac_couple_config_get_field_pack_size (void *field_, MPI_Comm comm) |
| static size_t | yac_couple_config_get_component_pack_size (void *component_, MPI_Comm comm) |
| static size_t | yac_couple_config_get_field_couple_pack_size (void *field_couple_, MPI_Comm comm) |
| static size_t | yac_couple_config_get_couple_pack_size (void *couple_, MPI_Comm comm) |
| static size_t | yac_couple_config_get_config_output_pack_size (void *config_output_, MPI_Comm comm) |
| static void | yac_couple_config_pack_grid (void *grid_, void *buffer, int buffer_size, int *position, MPI_Comm comm) |
| static void | yac_couple_config_pack_field (void *field_, void *buffer, int buffer_size, int *position, MPI_Comm comm) |
| static void | yac_couple_config_pack_component (void *component_, void *buffer, int buffer_size, int *position, MPI_Comm comm) |
| static void | yac_couple_config_pack_field_couple (void *field_couple_, void *buffer, int buffer_size, int *position, MPI_Comm comm) |
| static void | yac_couple_config_pack_couple (void *couple_, void *buffer, int buffer_size, int *position, MPI_Comm comm) |
| static void | yac_couple_config_pack_config_output (void *config_output_, void *buffer, int buffer_size, int *position, MPI_Comm comm) |
| static void | yac_couple_config_unpack_grid (void *buffer, int buffer_size, int *position, void *grid_, MPI_Comm comm) |
| static void | yac_couple_config_unpack_field (void *buffer, int buffer_size, int *position, void *field_, MPI_Comm comm) |
| static void | yac_couple_config_unpack_component (void *buffer, int buffer_size, int *position, void *component_, MPI_Comm comm) |
| static void | yac_couple_config_unpack_field_couple (void *buffer, int buffer_size, int *position, void *field_couple_, MPI_Comm comm) |
| static void | yac_couple_config_unpack_couple (void *buffer, int buffer_size, int *position, void *couple_, MPI_Comm comm) |
| static void | yac_couple_config_unpack_config_output (void *buffer, int buffer_size, int *position, void *config_output_, 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 weight_file_on_existing, 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, char const *yaxt_exchanger_name, struct yac_collection_selection const *collection_selection, int use_raw_exchange) |
| static void | couple_config_sync_datetime (char const *type_datetime, struct _datetime **datetime, MPI_Comm comm) |
| static void | couple_config_sync_time (struct yac_couple_config *couple_config, MPI_Comm comm) |
| 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) |
| static void | merge_config_output (struct yac_couple_config *couple_config, MPI_Comm comm) |
| void | yac_couple_config_sync (struct yac_couple_config *couple_config, MPI_Comm comm, char const *output_ref) |
| void | yac_couple_config_set_config_output_filename (struct yac_couple_config *couple_config, char const *filename, enum yac_text_filetype filetype, char const *ref, int include_definitions) |
| void | yac_couple_config_get_field_source (struct yac_couple_config *couple_config, char const *tgt_component_name, char const *tgt_grid_name, char const *tgt_field_name, char const **src_component_name, char const **src_grid_name, char const **src_field_name) |
| struct yac_interpolation_gen_config * | yac_couple_config_get_interpolation_gen_config (struct yac_couple_config *couple_config, size_t couple_idx, size_t field_couple_idx) |
| enum flag_value |
| Enumerator | |
|---|---|
| FLAG_FALSE | |
| FLAG_TRUE | |
| FLAG_UNSET | |
Definition at line 29 of file couple_config.c.
|
static |
|
static |
|
static |
Definition at line 1284 of file couple_config.c.


|
static |
Definition at line 1167 of file couple_config.c.


|
static |
|
static |
Definition at line 358 of file couple_config.c.


|
static |
Definition at line 2506 of file couple_config.c.


|
static |
|
static |
|
static |
Definition at line 2528 of file couple_config.c.


|
static |
Definition at line 2641 of file couple_config.c.


|
static |
Definition at line 2707 of file couple_config.c.


|
static |
Definition at line 2694 of file couple_config.c.


|
static |
Definition at line 2683 of file couple_config.c.


|
static |
Definition at line 2606 of file couple_config.c.


|
static |
Definition at line 2582 of file couple_config.c.


|
static |
Definition at line 1599 of file couple_config.c.


|
static |
| void yac_couple_config_add_component | ( | struct yac_couple_config * | couple_config, |
| char const * | name ) |
Definition at line 806 of file couple_config.c.


|
static |
| void yac_couple_config_add_grid | ( | struct yac_couple_config * | couple_config, |
| char const * | name ) |
Definition at line 776 of file couple_config.c.


|
static |
Definition at line 753 of file couple_config.c.


| 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 ) |
Definition at line 975 of file couple_config.c.


|
static |
Definition at line 915 of file couple_config.c.


|
static |
Definition at line 241 of file couple_config.c.
|
static |
Definition at line 167 of file couple_config.c.


| const char * yac_couple_config_component_get_metadata | ( | struct yac_couple_config * | couple_config, |
| const char * | comp_name ) |
Definition at line 866 of file couple_config.c.


|
static |
| int yac_couple_config_component_name_is_valid | ( | struct yac_couple_config * | couple_config, |
| char const * | component_name ) |
Definition at line 1056 of file couple_config.c.
| void yac_couple_config_component_set_metadata | ( | struct yac_couple_config * | couple_config, |
| char const * | comp_name, | ||
| const char * | metadata ) |
Definition at line 812 of file couple_config.c.


|
static |
Definition at line 281 of file couple_config.c.
|
static |
|
static |
| int yac_couple_config_contains_grid_name | ( | struct yac_couple_config * | couple_config, |
| char const * | grid_name ) |
|
static |
Definition at line 269 of file couple_config.c.
|
static |
Definition at line 192 of file couple_config.c.


|
static |
| 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 | weight_file_on_existing, | ||
| 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, | ||
| char const * | yaxt_exchanger_name, | ||
| struct yac_collection_selection const * | collection_selection, | ||
| int | use_raw_exchange ) |
Definition at line 2352 of file couple_config.c.


| void yac_couple_config_delete | ( | struct yac_couple_config * | couple_config | ) |
Definition at line 726 of file couple_config.c.


| int yac_couple_config_enforce_write_weight_file | ( | struct yac_couple_config * | couple_config, |
| size_t | couple_idx, | ||
| size_t | field_couple_idx ) |
Definition at line 1674 of file couple_config.c.


|
static |
Definition at line 229 of file couple_config.c.
|
static |
|
static |
Definition at line 178 of file couple_config.c.


|
static |
Definition at line 562 of file couple_config.c.


| 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 ) |
Definition at line 1348 of file couple_config.c.


|
static |
| 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 887 of file couple_config.c.


| int yac_couple_config_field_is_valid | ( | struct yac_couple_config * | couple_config, |
| size_t | component_idx, | ||
| size_t | field_idx ) |
Definition at line 1265 of file couple_config.c.


|
static |
Definition at line 413 of file couple_config.c.
| 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 853 of file couple_config.c.


| struct yac_collection_selection const * yac_couple_config_get_collection_selection | ( | struct yac_couple_config * | couple_config, |
| size_t | couple_idx, | ||
| size_t | field_couple_idx ) |
Definition at line 1805 of file couple_config.c.


| size_t yac_couple_config_get_component_idx | ( | struct yac_couple_config * | couple_config, |
| char const * | component_name ) |
| char const * yac_couple_config_get_component_name | ( | struct yac_couple_config * | couple_config, |
| size_t | component_idx ) |
Definition at line 1157 of file couple_config.c.


|
static |
|
static |
| void yac_couple_config_get_couple_component_names | ( | struct yac_couple_config * | couple_config, |
| size_t | couple_idx, | ||
| char const * | couple_component_names[2] ) |
|
static |
Definition at line 1940 of file couple_config.c.
| char const * yac_couple_config_get_coupling_period | ( | struct yac_couple_config * | couple_config, |
| size_t | couple_idx, | ||
| size_t | field_couple_idx ) |
Definition at line 1527 of file couple_config.c.


| 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 ) |
Definition at line 1584 of file couple_config.c.


| char * yac_couple_config_get_end_datetime | ( | struct yac_couple_config * | couple_config | ) |
| size_t yac_couple_config_get_field_collection_size | ( | struct yac_couple_config * | couple_config, |
| char const * | component_name, | ||
| char const * | grid_name, | ||
| char const * | field_name ) |
Definition at line 1413 of file couple_config.c.


| 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 ) |
Definition at line 1433 of file couple_config.c.


|
static |
| 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 1181 of file couple_config.c.


| 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 ) |
Definition at line 1311 of file couple_config.c.


| 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 1128 of file couple_config.c.


| 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 1196 of file couple_config.c.


| 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 ) |
Definition at line 1452 of file couple_config.c.


|
static |
| 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 ) |
Definition at line 1230 of file couple_config.c.


| void yac_couple_config_get_field_source | ( | struct yac_couple_config * | couple_config, |
| char const * | tgt_component_name, | ||
| char const * | tgt_grid_name, | ||
| char const * | tgt_field_name, | ||
| char const ** | src_component_name, | ||
| char const ** | src_grid_name, | ||
| char const ** | src_field_name ) |
Definition at line 2846 of file couple_config.c.


| 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 1210 of file couple_config.c.


| 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 ) |
Definition at line 1386 of file couple_config.c.


| size_t yac_couple_config_get_grid_idx | ( | struct yac_couple_config * | couple_config, |
| char const * | grid_name ) |
| char const * yac_couple_config_get_grid_name | ( | struct yac_couple_config * | couple_config, |
| size_t | grid_idx ) |
|
static |
| 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 ) |
Definition at line 1297 of file couple_config.c.


| struct yac_interpolation_gen_config * yac_couple_config_get_interpolation_gen_config | ( | struct yac_couple_config * | couple_config, |
| size_t | couple_idx, | ||
| size_t | field_couple_idx ) |
Definition at line 2914 of file couple_config.c.


| int yac_couple_config_get_missing_definition_is_fatal | ( | struct yac_couple_config * | couple_config | ) |
returns whether YAC aborts if for a defined couple at least one associated field was not defined by the user
| [in] | couple_config | coupling configuration |
missing_definition_is_fatal flag Definition at line 993 of file couple_config.c.

| size_t yac_couple_config_get_num_components | ( | struct yac_couple_config * | couple_config | ) |
| size_t yac_couple_config_get_num_couple_fields | ( | struct yac_couple_config * | couple_config, |
| size_t | couple_idx ) |
Definition at line 1032 of file couple_config.c.


| size_t yac_couple_config_get_num_couples | ( | struct yac_couple_config * | couple_config | ) |
| size_t yac_couple_config_get_num_fields | ( | struct yac_couple_config * | couple_config, |
| size_t | component_idx ) |
Definition at line 1086 of file couple_config.c.


| size_t yac_couple_config_get_num_grids | ( | struct yac_couple_config * | couple_config | ) |
| double yac_couple_config_get_scale_factor | ( | struct yac_couple_config * | couple_config, |
| size_t | couple_idx, | ||
| size_t | field_couple_idx ) |
Definition at line 1722 of file couple_config.c.


| double yac_couple_config_get_scale_summand | ( | struct yac_couple_config * | couple_config, |
| size_t | couple_idx, | ||
| size_t | field_couple_idx ) |
Definition at line 1737 of file couple_config.c.


| int yac_couple_config_get_source_lag | ( | struct yac_couple_config * | couple_config, |
| size_t | couple_idx, | ||
| size_t | field_couple_idx ) |
Definition at line 1497 of file couple_config.c.


| char const * yac_couple_config_get_source_timestep | ( | struct yac_couple_config * | couple_config, |
| size_t | couple_idx, | ||
| size_t | field_couple_idx ) |
Definition at line 1542 of file couple_config.c.


| 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 ) |
Definition at line 1752 of file couple_config.c.


| char * yac_couple_config_get_start_datetime | ( | struct yac_couple_config * | couple_config | ) |
| int yac_couple_config_get_target_lag | ( | struct yac_couple_config * | couple_config, |
| size_t | couple_idx, | ||
| size_t | field_couple_idx ) |
Definition at line 1512 of file couple_config.c.


| char const * yac_couple_config_get_target_timestep | ( | struct yac_couple_config * | couple_config, |
| size_t | couple_idx, | ||
| size_t | field_couple_idx ) |
Definition at line 1567 of file couple_config.c.


| char const * yac_couple_config_get_tgt_mask_name | ( | struct yac_couple_config * | couple_config, |
| size_t | couple_idx, | ||
| size_t | field_couple_idx ) |
Definition at line 1774 of file couple_config.c.


| int yac_couple_config_get_use_raw_exchange | ( | struct yac_couple_config * | couple_config, |
| size_t | couple_idx, | ||
| size_t | field_couple_idx ) |
Definition at line 1820 of file couple_config.c.


| char const * yac_couple_config_get_weight_file_name | ( | struct yac_couple_config * | couple_config, |
| size_t | couple_idx, | ||
| size_t | field_couple_idx ) |
Definition at line 1689 of file couple_config.c.


| enum yac_weight_file_on_existing yac_couple_config_get_weight_file_on_existing | ( | struct yac_couple_config * | couple_config, |
| size_t | couple_idx, | ||
| size_t | field_couple_idx ) |
Definition at line 1707 of file couple_config.c.


| char const * yac_couple_config_get_yaxt_exchanger_name | ( | struct yac_couple_config * | couple_config, |
| size_t | couple_idx, | ||
| size_t | field_couple_idx ) |
Definition at line 1789 of file couple_config.c.


|
static |
Definition at line 220 of file couple_config.c.
|
static |
| const char * yac_couple_config_grid_get_metadata | ( | struct yac_couple_config * | couple_config, |
| const char * | grid_name ) |
Definition at line 880 of file couple_config.c.


| const char * yac_couple_config_grid_get_output_filename | ( | struct yac_couple_config * | couple_config, |
| const char * | grid_name ) |
Definition at line 873 of file couple_config.c.


|
static |
| void yac_couple_config_grid_set_metadata | ( | struct yac_couple_config * | couple_config, |
| char const * | grid_name, | ||
| const char * | metadata ) |
Definition at line 842 of file couple_config.c.


| void yac_couple_config_grid_set_output_filename | ( | struct yac_couple_config * | couple_config, |
| char const * | grid_name, | ||
| const char * | output_filename ) |
Definition at line 821 of file couple_config.c.


| int yac_couple_config_mapping_on_source | ( | struct yac_couple_config * | couple_config, |
| size_t | couple_idx, | ||
| size_t | field_couple_idx ) |
Definition at line 1482 of file couple_config.c.


| struct yac_couple_config * yac_couple_config_new | ( | ) |
|
static |
|
static |
|
static |
Definition at line 2112 of file couple_config.c.
|
static |
|
static |
|
static |
| void yac_couple_config_set_config_output_filename | ( | struct yac_couple_config * | couple_config, |
| char const * | filename, | ||
| enum yac_text_filetype | filetype, | ||
| char const * | ref, | ||
| int | include_definitions ) |
enables the writing of the synchronised coupling configuration to file by yac_couple_config_sync
| [in] | couple_config | coupling configuration |
| [in] | filename | name of the output file |
| [in] | filetype | type of the output file |
| [in] | ref | reference, which has to be provided to yac_couple_config_sync in order to select the filename |
| [in] | include_definitions | include user definitions (components, grids, and fields) in the output file |
Definition at line 2792 of file couple_config.c.

| void yac_couple_config_set_datetime | ( | struct yac_couple_config * | couple_config, |
| char const * | start, | ||
| char const * | end ) |
Definition at line 1629 of file couple_config.c.


| void yac_couple_config_set_missing_definition_is_fatal | ( | struct yac_couple_config * | couple_config, |
| int | missing_definition_is_fatal ) |
sets whether YAC aborts if for a defined couple at least one associated field was not defined by the user
| [in] | couple_config | coupling configuration |
| [in] | missing_definition_is_fatal | missing_definition_is_fatal flag |
Definition at line 1004 of file couple_config.c.

| void yac_couple_config_sync | ( | struct yac_couple_config * | couple_config, |
| MPI_Comm | comm, | ||
| char const * | output_ref ) |
synchronises the coupling configuration across all processes in comm
| [in] | couple_config | coupling configuration |
| [in] | comm | MPI communicator |
| [in] | output_ref | The coupling configuration will be written to file after it has been synchronised between all processes, if a filename and -type have been set for the provided reference (see yac_couple_config_set_config_output_filename) |
Definition at line 2720 of file couple_config.c.


|
static |
|
static |
|
static |
Definition at line 2309 of file couple_config.c.
|
static |
|
static |
|
static |
| struct yac_dist_merge_vtable dist_merge_vtable_component |
Definition at line 2546 of file couple_config.c.
| struct yac_dist_merge_vtable dist_merge_vtable_config_output |
Definition at line 2574 of file couple_config.c.
| struct yac_dist_merge_vtable dist_merge_vtable_couple |
Definition at line 2567 of file couple_config.c.
| struct yac_dist_merge_vtable dist_merge_vtable_field |
Definition at line 2553 of file couple_config.c.
| struct yac_dist_merge_vtable dist_merge_vtable_field_couple |
Definition at line 2560 of file couple_config.c.
| struct yac_dist_merge_vtable dist_merge_vtable_grid |
Definition at line 2539 of file couple_config.c.