Function setup_reader
Defined in File t8_vtk_parallel.cxx
Function Documentation
-
static vtk_read_success_t setup_reader(const char *filename, vtkSmartPointer<vtkXMLPDataReader> reader, int *first_piece, int *last_piece, sc_MPI_Comm comm)
Setup the reader on each process
- Parameters:
filename – [in] The filename of the parallel file to read
reader – [inout] On input a reader, on output a reader linked to filename
first_piece – [inout] Arbitrary on input, the index of the first piece to read on output
last_piece – [inout] Arbitrary on input, the (non-included) index of the last piece to read on output
comm – [in] The Communicator to use.
- Returns:
vtk_read_success_t