#include <mpi.h>
#include "couple_config.h"
Go to the source code of this file.
◆ yac_component_config_comp_rank()
int yac_component_config_comp_rank |
( |
struct yac_component_config * | comp_config, |
|
|
char const * | comp_name ) |
◆ yac_component_config_comp_size()
int yac_component_config_comp_size |
( |
struct yac_component_config * | comp_config, |
|
|
char const * | comp_name ) |
◆ yac_component_config_contains_component()
int yac_component_config_contains_component |
( |
struct yac_component_config * | comp_config, |
|
|
char const * | comp_name ) |
Checks whether a component is locally available
- Parameters
-
[in] | comp_config | component configuration |
[in] | comp_name | component name |
- Returns
- "1" if comp_name was provided to yac_component_config_new
"0" otherwise
Definition at line 244 of file component.c.
◆ yac_component_config_delete()
◆ yac_component_config_get_comps_comm()
MPI_Comm yac_component_config_get_comps_comm |
( |
struct yac_component_config * | comp_config, |
|
|
const char ** | names, |
|
|
size_t | num_names ) |
creates a communicator that contains the processes of all listed components
- Parameters
-
[in] | comp_config | component configuration |
[in] | names | list of component names |
[in] | num_names | number of component names |
- Returns
- components communicator
Definition at line 142 of file component.c.
◆ yac_component_config_new()