cratepy.ioput.miscoutputfiles.vtkoutput.VTKCollection

class VTKCollection(pvd_file_path)[source]

Bases: object

VTK collection.

_byte_order

VTK byte order.

Type:

str

_indent

Formatting indentation.

Type:

str

init_vtk_collection_file(self)[source]

Open VTK collection output file and write file header and footer.

write_vtk_collection_file(self, time_step, time_step_file_path)[source]

Add VTK file to VTK collection file.

remove_vtk_collection_file(self, time_step_file_path)[source]

Remove VTK file from VTK collection file.

VTK collection constructor.

Parameters:

pvd_file_path (str) – Path of VTK collection output file.

List of Public Methods

init_vtk_collection_file

Open VTK collection output file and write file header and footer.

remove_vtk_collection_file

Remove VTK file from VTK collection file.

write_vtk_collection_file

Add VTK file to VTK collection file.

Methods

__init__(pvd_file_path)[source]

VTK collection constructor.

Parameters:

pvd_file_path (str) – Path of VTK collection output file.

init_vtk_collection_file()[source]

Open VTK collection output file and write file header and footer.

remove_vtk_collection_file(time_step_file_path)[source]

Remove VTK file from VTK collection file.

Parameters:

time_step_file_path (str) – Path of time step VTK file.

write_vtk_collection_file(time_step, time_step_file_path)[source]

Add VTK file to VTK collection file.

Parameters:
  • time_step (int) – VTK file time step.

  • time_step_file_path (str) – Path of time step VTK file.