![]() |
YAC 3.7.0
Yet Another Coupler
|
#include "couple_config.h"
Go to the source code of this file.
Functions | |
void | yac_yaml_read_coupling (struct yac_couple_config *couple_config, const char *yaml_filename, int parse_flags) |
char * | yac_yaml_emit_coupling (struct yac_couple_config *couple_config, int emit_flags, int include_definitions) |
struct yac_interp_stack_config * | yac_yaml_parse_interp_stack_config_string (char const *interp_stack_config, int parse_flags) |
Variables | |
int const | YAC_YAML_PARSER_DEFAULT |
default parse flags (YAML format) | |
int const | YAC_YAML_PARSER_JSON_AUTO |
int const | YAC_YAML_PARSER_JSON_FORCE |
assume JSON format | |
char * yac_yaml_emit_coupling | ( | struct yac_couple_config * | couple_config, |
int | emit_flags, | ||
int | include_definitions ) |
Emit coupling configuration to string
[in] | couple_config | coupling configuration |
[in] | emit_flags | flags to be used for emitting the coupling configuration |
[in] | include_definitions | include user definitions (components, grids, and fields) in the output file |
Definition at line 3225 of file config_yaml.c.
struct yac_interp_stack_config * yac_yaml_parse_interp_stack_config_string | ( | char const * | interp_stack_config, |
int | parse_flags ) |
Parse a "0"-terminated string that contains a interpolation stack configuration
[in] | interp_stack_config | string containing interpolation stack configuration |
[in] | parse_flags | flags to be used for parsing the string |
Definition at line 2182 of file config_yaml.c.
void yac_yaml_read_coupling | ( | struct yac_couple_config * | couple_config, |
const char * | yaml_filename, | ||
int | parse_flags ) |
Reader for yaml while, which parses the given yaml file and adds the coupling from the file to the coupling configuration data
[in,out] | couple_config | coupling configuration data |
[in] | yaml_filename | name of yaml configuration file |
[in] | parse_flags | flags to be used for parsing the configuration file |
Definition at line 2133 of file config_yaml.c.
|
extern |
default parse flags (YAML format)
Definition at line 65 of file config_yaml.c.
|
extern |
switch to JSON format, if indicated by file extension
Definition at line 66 of file config_yaml.c.
|
extern |
assume JSON format
Definition at line 67 of file config_yaml.c.