#include <mpi.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <math.h>
#include "yac.h"
#include "yac_core.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, size_t *num_cells_x, size_t *num_cells_y) |
| |
◆ NUM_CELLS_X
| #define NUM_CELLS_X (320) |
◆ NUM_CELLS_Y
| #define NUM_CELLS_Y (160) |
◆ STR_USAGE
| #define STR_USAGE "Usage: %s -c configFilename -x num_cells_x -y num_cells_y\n" |
◆ T106
◆ 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 31 of file toy_reg2d_atm.c.
◆ parse_arguments()
| static void parse_arguments |
( |
int | argc, |
|
|
char ** | argv, |
|
|
char const ** | configFilename, |
|
|
size_t * | num_cells_x, |
|
|
size_t * | num_cells_y ) |
|
static |