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

Go to the source code of this file.

Macros

#define STR_USAGE   "Usage: %s -c configFilename -g gridFilename\n"
 
#define YAC_ASSERT_ARGS(exp, msg)
 

Functions

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

Macro Definition Documentation

◆ STR_USAGE

#define STR_USAGE   "Usage: %s -c configFilename -g gridFilename\n"

Definition at line 22 of file toy_mpiom_ocn.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 23 of file toy_mpiom_ocn.c.

Function Documentation

◆ parse_arguments()

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

Definition at line 362 of file toy_mpiom_ocn.c.