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

Go to the source code of this file.

Macros

#define STR_USAGE   "Usage: %s -c configFilename -n cube edge length\n"
 
#define YAC_ASSERT(exp, msg)
 

Functions

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

Variables

const char * fieldName [] = {"icon_out", "cube_out"}
 

Macro Definition Documentation

◆ STR_USAGE

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

Definition at line 22 of file perf_toy_cube.c.

◆ YAC_ASSERT

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

Definition at line 23 of file perf_toy_cube.c.

Function Documentation

◆ parse_arguments()

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

Definition at line 295 of file perf_toy_cube.c.

Variable Documentation

◆ fieldName

const char* fieldName[] = {"icon_out", "cube_out"}
Examples
dummy_atmosphere_c.c, dummy_io_c.c, and dummy_ocean_c.c.

Definition at line 18 of file perf_toy_cube.c.