Function t8_read_parallel_unstructured

Function Documentation

vtk_read_success_t t8_read_parallel_unstructured(const char *filename, vtkSmartPointer<vtkDataSet> grid, sc_MPI_Comm comm)

Given a filename to a parallel vtk file (for example .pvtu) and its data files, read a piece of the data files (like .vtu, …).

Parameters:
  • filename[in] The name of a parallel vtk file to a distributed vtkUnstructuredGrid

  • grid[in] On input a vtkSmartPointer, that will hold the grid described by the pieces read on this proc.

  • comm[in] The MPI communicator to use for reading the file.

Returns:

non-zero on success, zero if the reading failed.