#include <mpi.h>
#include <yaxt.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <math.h>
#include "yac.h"
#include "yac_utils.h"
Go to the source code of this file.
|
| #define | STR_USAGE "Usage: %s -c configFilename -n cube edge length\n" |
| |
| #define | YAC_ASSERT(exp, msg) |
| |
|
| static void | parse_arguments (int argc, char **argv, char const **configFilename, size_t *cube_n) |
| |
|
| const char * | fieldName [] = {"icon_out", "cube_out"} |
| |
◆ STR_USAGE
| #define STR_USAGE "Usage: %s -c configFilename -n cube edge length\n" |
◆ YAC_ASSERT
| #define YAC_ASSERT |
( |
| exp, |
|
|
| msg ) |
Value: { \
if(!((exp))) { \
fprintf(stderr,
"ERROR: %s\n" STR_USAGE, msg, argv[0]); \
exit(EXIT_FAILURE); \
} \
}
Definition at line 23 of file perf_toy_cube.c.
◆ parse_arguments()
| static void parse_arguments |
( |
int | argc, |
|
|
char ** | argv, |
|
|
char const ** | configFilename, |
|
|
size_t * | cube_n ) |
|
static |
◆ fieldName
| const char* fieldName[] = {"icon_out", "cube_out"} |