Function t8_cmesh_vtk_write_file_via_API

Function Documentation

int t8_cmesh_vtk_write_file_via_API(t8_cmesh_t cmesh, const char *fileprefix, sc_MPI_Comm comm)

Write the cmesh in .pvtu file format.

Writes one .vtu file per process and a meta .pvtu file. This function uses the vtk library. t8code must be configured with “–enable-vtk” in order to use it.

Note

If t8code was not configured with vtk, use t8_cmesh_vtk_write_file

Parameters:
  • cmesh[in] The cmesh

  • fileprefix[in] The prefix of the output files

  • comm[in] The communicator to use

Returns:

int