t8
1.2.0
t8code is a C library to manage a forest of adaptive space-trees of general element classes in parallel.
|
Implementation of a Reader for vtk/vtu files using the vtk-library. More...
#include <t8_cmesh_vtk_reader.hxx>
Functions | |
t8_cmesh_t | t8_cmesh_vtk_reader (const char *filename, const int partition, const int main_proc, sc_MPI_Comm comm, const vtk_file_type_t vtk_file_type) |
Construct a cmesh given a filename refering to a vtk-file either containing an unstructured grid, or vtk-polydata, most likely constructed by vtk. More... | |
Implementation of a Reader for vtk/vtu files using the vtk-library.
The functions can only be used when t8code is linked with the vtk-library.
t8_cmesh_t t8_cmesh_vtk_reader | ( | const char * | filename, |
const int | partition, | ||
const int | main_proc, | ||
sc_MPI_Comm | comm, | ||
const vtk_file_type_t | vtk_file_type | ||
) |
Construct a cmesh given a filename refering to a vtk-file either containing an unstructured grid, or vtk-polydata, most likely constructed by vtk.
[in] | filename | The name of the file |
[in] | partition | Flag if the constructed mesh should be partitioned |
[in] | main_proc | The main reading processor |
[in] | comm | An mpi-communicator |
[in] | vtk_file_type | A vtk-filetype that is readable by t8code. |