YAC 3.13.0
Yet Another Coupler
Loading...
Searching...
No Matches
dummy_io_c.c File Reference
#include <mpi.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include "yac.h"
Include dependency graph for dummy_io_c.c:

Go to the source code of this file.

Macros

#define NBR_CELLS   2
 
#define NBR_VERTICES   4
 
#define YAC_RAD   (0.01745329251994329576923690768489)
 
#define STR_USAGE   "Usage: %s -c configFilename\n"
 
#define YAC_ASSERT_ARGS(exp, msg)
 

Functions

static void parse_arguments (int argc, char **argv, char const **configFilename)
 

Macro Definition Documentation

◆ NBR_CELLS

#define NBR_CELLS   2

Definition at line 17 of file dummy_io_c.c.

◆ NBR_VERTICES

#define NBR_VERTICES   4

Definition at line 18 of file dummy_io_c.c.

◆ STR_USAGE

#define STR_USAGE   "Usage: %s -c configFilename\n"

Definition at line 21 of file dummy_io_c.c.

◆ YAC_ASSERT_ARGS

#define YAC_ASSERT_ARGS ( exp,
msg )
Value:
{ \
if(!((exp))) { \
fprintf(stderr, "ERROR: %s\n" STR_USAGE, msg, argv[0]); \
exit(EXIT_FAILURE); \
} \
}
#define STR_USAGE
Definition dummy_io_c.c:21

Definition at line 22 of file dummy_io_c.c.

◆ YAC_RAD

#define YAC_RAD   (0.01745329251994329576923690768489)

Definition at line 19 of file dummy_io_c.c.

Function Documentation

◆ parse_arguments()

static void parse_arguments ( int argc,
char ** argv,
char const ** configFilename )
static

Definition at line 209 of file dummy_io_c.c.