YAC 3.12.0
Yet Another Coupler
Loading...
Searching...
No Matches
toy_reg2d_atm.c File Reference
#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"
Include dependency graph for toy_reg2d_atm.c:

Go to the source code of this file.

Macros

#define T106
 
#define STR_USAGE   "Usage: %s -c configFilename -x num_cells_x -y num_cells_y\n"
 
#define YAC_ASSERT_ARGS(exp, msg)
 
#define NUM_CELLS_X   (320)
 
#define NUM_CELLS_Y   (160)
 

Functions

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

Macro Definition Documentation

◆ 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"

Definition at line 30 of file toy_reg2d_atm.c.

◆ T106

#define T106

Definition at line 7 of file toy_reg2d_atm.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 at line 31 of file toy_reg2d_atm.c.

Function Documentation

◆ parse_arguments()

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

Definition at line 651 of file toy_reg2d_atm.c.