YAC 3.7.1
Yet Another Coupler
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
13
15 struct yac_couple_config * couple_config, char const ** names,
16 size_t num_names, MPI_Comm comm);
17void yac_component_config_delete(struct yac_component_config * comp_config);
18
27 struct yac_component_config * comp_config, char const * comp_name);
28
38 struct yac_component_config * comp_config,
39 const char ** names, size_t num_names);
40
42 struct yac_component_config * comp_config, char const * comp_name);
43
45 struct yac_component_config * comp_config, char const * comp_name);
46
47#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