YAC 3.8.0
Yet Another Coupler
Loading...
Searching...
No Matches
test_couple_config.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <unistd.h>
#include <mpi.h>
#include "tests.h"
#include "yac.h"
#include "config_yaml.h"
#include "instance.h"
#include "event.h"
#include "geometry.h"
#include "io_utils.h"
Include dependency graph for test_couple_config.c:

Go to the source code of this file.

Macros

#define DEF_INTERP_STACK(IDX, ...)
 
#define ADD_INTERP(NAME, ...)
 
#define ADD_INTERP_NO_PARAM(NAME)    yac_interp_stack_config_add_ ## NAME(interp_stack);
 

Variables

char const * ref_start_datetime ="2008-03-09T16:05:07.000"
 
char const * ref_end_datetime = "2008-03-10T16:05:07.000"
 

Detailed Description

Test
This example tests the generation of a coupling configuration.

Definition in file test_couple_config.c.

Macro Definition Documentation

◆ ADD_INTERP

#define ADD_INTERP ( NAME,
... )
Value:
yac_interp_stack_config_add_ ## NAME( \
interp_stack, __VA_ARGS__);

Definition at line 49 of file test_couple_config.c.

◆ ADD_INTERP_NO_PARAM

#define ADD_INTERP_NO_PARAM ( NAME)     yac_interp_stack_config_add_ ## NAME(interp_stack);

Definition at line 52 of file test_couple_config.c.

◆ DEF_INTERP_STACK

#define DEF_INTERP_STACK ( IDX,
... )
Value:
{ \
struct yac_interp_stack_config * interp_stack = \
((ref_field_couple_data[IDX].interp_stack_config = \
yac_interp_stack_config_new())); \
__VA_ARGS__ \
}

Definition at line 42 of file test_couple_config.c.

Variable Documentation

◆ ref_end_datetime

char const* ref_end_datetime = "2008-03-10T16:05:07.000"

Definition at line 26 of file test_couple_config.c.

◆ ref_start_datetime

char const* ref_start_datetime ="2008-03-09T16:05:07.000"

Definition at line 25 of file test_couple_config.c.