t8
1.2.0
t8code is a C library to manage a forest of adaptive space-trees of general element classes in parallel.
|
The Header-File providing a function to write out a cmesh in a NetCDF-4 file. More...
Go to the source code of this file.
Functions | |
void | t8_cmesh_write_netcdf (t8_cmesh_t cmesh, const char *file_prefix, const char *file_title, int dim, int num_extern_netcdf_vars, t8_netcdf_variable_t *variables[], sc_MPI_Comm comm) |
Creates a netCDF-4 file containing the (geometrical) information about the given cmesh and additional elementwise data variables. More... | |
The Header-File providing a function to write out a cmesh in a NetCDF-4 file.
void t8_cmesh_write_netcdf | ( | t8_cmesh_t | cmesh, |
const char * | file_prefix, | ||
const char * | file_title, | ||
int | dim, | ||
int | num_extern_netcdf_vars, | ||
t8_netcdf_variable_t * | variables[], | ||
sc_MPI_Comm | comm | ||
) |
Creates a netCDF-4 file containing the (geometrical) information about the given cmesh and additional elementwise data variables.
[in] | cmesh | A cmesh. |
[in] | file_prefix | A string which holds the file's name (output file will be 'file_prefix.nc'). |
[in] | file_title | A string to caption the NetCDF-File. |
[in] | dim | The Dimension of the cmesh (2D or 3D). |
[in] | num_extern_netcdf_vars | The number of extern user-defined variables which hold elementwise data (if none, set it to 0). |
[in] | ext_variables | An array of pointers of the herein before mentioned user-defined variables (if none, set it to NULL). |
[in] | comm | The sc_MPI_Communicator to use. |