#include <mpi.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <math.h>
#include "yac.h"
#include "yac_utils.h"
#include "toy_common.h"
Go to the source code of this file.
|
| static void | parse_arguments (int argc, char **argv, char const **configFilename, char const **gridFilename) |
| |
◆ STR_USAGE
| #define STR_USAGE "Usage: %s -c configFilename -g gridFilename\n" |
◆ 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); \
} \
}
Definition at line 23 of file toy_icon_ocn.c.
◆ parse_arguments()
| static void parse_arguments |
( |
int | argc, |
|
|
char ** | argv, |
|
|
char const ** | configFilename, |
|
|
char const ** | gridFilename ) |
|
static |