YAC 3.13.0
Yet Another Coupler
Loading...
Searching...
No Matches
toy_output.c File Reference
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <netcdf.h>
#include "yac.h"
Include dependency graph for toy_output.c:

Go to the source code of this file.

Macros

#define YAC_HANDLE_ERROR(exp)
 

Macro Definition Documentation

◆ YAC_HANDLE_ERROR

#define YAC_HANDLE_ERROR ( exp)
Value:
do { \
int handle_error_status = (exp); \
if (handle_error_status != NC_NOERR) { \
fprintf(stderr, "Error: %s\n", nc_strerror(handle_error_status)); \
exit(handle_error_status); \
} \
} while(0)

Definition at line 13 of file toy_output.c.