YAC 3.21.0
Yet Another Coupler
Loading...
Searching...
No Matches
couple_config_grid.h
Go to the documentation of this file.
1// Copyright (c) 2026 The YAC Authors
2//
3// SPDX-License-Identifier: BSD-3-Clause
4
5#ifndef YAC_COUPLE_CONFIG_GRID_H
6#define YAC_COUPLE_CONFIG_GRID_H
7
8#include <stddef.h>
9
10#include "yac_mpi_common.h"
11
13
18 char const * name;
19 char* metadata;
20 char const * output_filename;
21};
22
36 struct yac_couple_config_grid ** grids, size_t * num_grids,
37 char const * name);
38
49 struct yac_couple_config_grid * grid, char const * output_filename);
50
61 struct yac_couple_config_grid * grid, char const * metadata);
62
69
77 struct yac_couple_config_grid ** grids, size_t * num_grids);
78
90 struct yac_couple_config_grid ** grids, size_t * num_grids,
91 struct yac_couple_config_component * components, size_t num_components,
92 MPI_Comm comm);
93
94#endif // YAC_COUPLE_CONFIG_GRID_H
unsigned num_components
void yac_couple_config_grids_free(struct yac_couple_config_grid **grids, size_t *num_grids)
void yac_couple_config_grid_free(struct yac_couple_config_grid *grid)
void yac_couple_config_set_grid_metadata_value(struct yac_couple_config_grid *grid, char const *metadata)
size_t yac_couple_config_grid_append(struct yac_couple_config_grid **grids, size_t *num_grids, char const *name)
void yac_couple_config_set_grid_output_filename_value(struct yac_couple_config_grid *grid, char const *output_filename)
void yac_couple_config_grids_merge(struct yac_couple_config_grid **grids, size_t *num_grids, struct yac_couple_config_component *components, size_t num_components, MPI_Comm comm)
char const * name
Definition toy_scrip.c:114