Function t8_read_parallel_polyData

Function Documentation

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

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

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

  • 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:

read_success on success, read_failure if the reading failed.