Peano
Loading...
Searching...
No Matches
repartition_vtu.py File Reference

Go to the source code of this file.

Namespaces

namespace  repartition_vtu
 Repartition a single-piece .vtu into a K-piece .pvtu for low-memory streaming.

Functions

 repartition_vtu._xml_type (data_array)
 repartition_vtu._component_names (array)
 ComponentName attributes, as VTK's writer emits them, for the named components.
 repartition_vtu._parallel_arrays (field_data, indent=" ")
 repartition_vtu._write_summary (pvtu_path, grid, piece_sources)
 Write the .pvtu summary that ties the piece files together.
 repartition_vtu.repartition (input_path, output_path, pieces, compress=True)
 repartition_vtu.main (argv=None)

Variables

dict repartition_vtu._VTK_TO_XML_TYPE