#include "yac_config.h"
#include <netcdf.h>
#include <mpi.h>
#include "yac_assert.h"
Go to the source code of this file.
|
| int | yac_file_exists (const char *filename) |
| |
| void | yac_get_io_ranks (MPI_Comm comm, int *local_is_io, int **io_ranks, int *num_io_ranks) |
| |
| void | yac_nc_open (const char *path, int omode, int *ncidp) |
| |
| void | yac_nc_create (const char *path, int cmode, int *ncidp) |
| |
| void | yac_nc_inq_dimid (int ncid, char const *name, int *dimidp) |
| |
| void | yac_nc_inq_varid (int ncid, char const *name, int *varidp) |
| |
◆ YAC_HANDLE_ERROR
| #define YAC_HANDLE_ERROR |
( |
| exp | ) |
|
Value: do { \
int handle_error_status = (exp); \
YAC_ASSERT_F( \
(handle_error_status) == NC_NOERR, \
"%s", nc_strerror(handle_error_status)) \
} while(0)
Definition at line 30 of file io_utils.h.
◆ yac_file_exists()
| int yac_file_exists |
( |
const char * | filename | ) |
|
◆ yac_get_io_ranks()
| void yac_get_io_ranks |
( |
MPI_Comm | comm, |
|
|
int * | local_is_io, |
|
|
int ** | io_ranks, |
|
|
int * | num_io_ranks ) |
◆ yac_nc_create()
| void yac_nc_create |
( |
const char * | path, |
|
|
int | cmode, |
|
|
int * | ncidp ) |
◆ yac_nc_inq_dimid()
| void yac_nc_inq_dimid |
( |
int | ncid, |
|
|
char const * | name, |
|
|
int * | dimidp ) |
◆ yac_nc_inq_varid()
| void yac_nc_inq_varid |
( |
int | ncid, |
|
|
char const * | name, |
|
|
int * | varidp ) |
◆ yac_nc_open()
| void yac_nc_open |
( |
const char * | path, |
|
|
int | omode, |
|
|
int * | ncidp ) |