YAC 3.21.0
Yet Another Coupler
Loading...
Searching...
No Matches
couple_config_internal.h File Reference
#include <stddef.h>
#include "yac_mpi_common.h"
Include dependency graph for couple_config_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  yac_couple_config
 

Enumerations

enum  yac_couple_config_flag_value { YAC_COUPLE_CONFIG_FLAG_FALSE = 0 , YAC_COUPLE_CONFIG_FLAG_TRUE = 1 , YAC_COUPLE_CONFIG_FLAG_UNSET }
 

Functions

void yac_couple_config_sync_string (char const *string_name, char **string, MPI_Comm comm)
 
void yac_couple_config_sync_flag_value (char const *flag_value_name, enum yac_couple_config_flag_value *flag, MPI_Comm comm)
 

Enumeration Type Documentation

◆ yac_couple_config_flag_value

Enumerator
YAC_COUPLE_CONFIG_FLAG_FALSE 
YAC_COUPLE_CONFIG_FLAG_TRUE 
YAC_COUPLE_CONFIG_FLAG_UNSET 

Definition at line 12 of file couple_config_internal.h.

Function Documentation

◆ yac_couple_config_sync_flag_value()

void yac_couple_config_sync_flag_value ( char const * flag_value_name,
enum yac_couple_config_flag_value * flag,
MPI_Comm comm )

Synchronize a flag value across ranks.

Parameters
[in]flag_value_nameName of the flag (for error messages).
[in,out]flagPointer to the flag to synchronize.
[in]commMPI communicator.

Definition at line 56 of file couple_config_internal.c.

Here is the caller graph for this function:

◆ yac_couple_config_sync_string()

void yac_couple_config_sync_string ( char const * string_name,
char ** string,
MPI_Comm comm )

Synchronize a string value across ranks.

Parameters
[in]string_nameName of the string (for error messages).
[in,out]stringPointer to the string to synchronize.
[in]commMPI communicator.

Definition at line 16 of file couple_config_internal.c.

Here is the caller graph for this function: