YetAnotherCoupler 3.2.0_a
Loading...
Searching...
No Matches
component.h
Go to the documentation of this file.
1// Copyright (c) 2024 The YAC Authors
2//
3// SPDX-License-Identifier: BSD-3-Clause
4
5#ifndef COMPONENT_H
6#define COMPONENT_H
7
8#include <mpi.h>
9
10#include "couple_config.h"
11
17
19 struct yac_couple_config * couple_config, char const ** names,
20 size_t num_names, MPI_Comm comm);
21void yac_component_config_delete(struct yac_component_config * comp_config);
22
31 struct yac_component_config * comp_config, char const * comp_name);
32
42 struct yac_component_config * comp_config,
43 const char ** names, size_t num_names);
44
46 struct yac_component_config * comp_config, char const * comp_name);
47
49 struct yac_component_config * comp_config, char const * comp_name);
50
51#endif
int yac_component_config_comp_size(struct yac_component_config *comp_config, char const *comp_name)
Definition component.c:271
int yac_component_config_comp_rank(struct yac_component_config *comp_config, char const *comp_name)
Definition component.c:281
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 component.c:38
void yac_component_config_delete(struct yac_component_config *comp_config)
Definition component.c:291
MPI_Comm yac_component_config_get_comps_comm(struct yac_component_config *comp_config, const char **names, size_t num_names)
Definition component.c:142
int yac_component_config_contains_component(struct yac_component_config *comp_config, char const *comp_name)
Definition component.c:244