YetAnotherCoupler 3.5.2
Loading...
Searching...
No Matches
component.h File Reference
#include <mpi.h>
#include "couple_config.h"
Include dependency graph for component.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

struct yac_component_configyac_component_config_new (struct yac_couple_config *couple_config, char const **names, size_t num_names, MPI_Comm comm)
 
void yac_component_config_delete (struct yac_component_config *comp_config)
 
int yac_component_config_contains_component (struct yac_component_config *comp_config, char const *comp_name)
 
MPI_Comm yac_component_config_get_comps_comm (struct yac_component_config *comp_config, const char **names, size_t num_names)
 
int yac_component_config_comp_size (struct yac_component_config *comp_config, char const *comp_name)
 
int yac_component_config_comp_rank (struct yac_component_config *comp_config, char const *comp_name)
 

Function Documentation

◆ yac_component_config_comp_rank()

int yac_component_config_comp_rank ( struct yac_component_config * comp_config,
char const * comp_name )

Definition at line 281 of file component.c.

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

◆ yac_component_config_comp_size()

int yac_component_config_comp_size ( struct yac_component_config * comp_config,
char const * comp_name )

Definition at line 271 of file component.c.

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

◆ 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_configcomponent configuration
[in]comp_namecomponent name
Returns
"1" if comp_name was provided to yac_component_config_new
"0" otherwise

Definition at line 244 of file component.c.

Here is the caller graph for this function:

◆ yac_component_config_delete()

void yac_component_config_delete ( struct yac_component_config * comp_config)

Definition at line 291 of file component.c.

Here is the caller graph for this function:

◆ 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_configcomponent configuration
[in]nameslist of component names
[in]num_namesnumber of component names
Returns
components communicator

Definition at line 142 of file component.c.

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

◆ yac_component_config_new()

struct yac_component_config * yac_component_config_new ( struct yac_couple_config * couple_config,
char const ** names,
size_t num_names,
MPI_Comm comm )

Definition at line 38 of file component.c.

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