|
YAC 3.12.0
Yet Another Coupler
|
#include "grids/basic_grid.h"
Go to the source code of this file.
Functions | |
| size_t | yac_read_netcdf_1d_int_mask_parallel (char const *filename, char const *var_name, int valid_value, MPI_Comm comm, struct yac_basic_grid *basic_grid) |
| size_t yac_read_netcdf_1d_int_mask_parallel | ( | char const * | filename, |
| char const * | var_name, | ||
| int | valid_value, | ||
| MPI_Comm | comm, | ||
| struct yac_basic_grid * | basic_grid ) |
Reads in a integer variable from a netcdf file and interprets it as a cell mask
| [in] | filename | name of the netCDF file |
| [in] | var_name | name of the variable |
| [in] | valid_value | mask[:] = (valid_value == variable[:]) |
| [in] | comm | MPI communicator containing all process that require the mask |
| [in,out] | basic_grid | basic grid in which the mask is to be registered |
Definition at line 28 of file read_mask.c.
