Writers

Write vtkImageData to UBC Tensor Mesh

class PVGeo.ubc.write.WriteImageDataToUBC[source]

Bases: ubcTensorMeshWriterBase

Writes a vtkImageData (uniform grid) data object to the UBC Tensor Mesh format. This file reader currently only handles 3D data.

perform_write_out(input_data_object, filename, object_name)[source]

Write out a vtkImageData to the UBC file format

Write vtkRectilinearGrid to UBC Tensor Mesh

class PVGeo.ubc.write.WriteRectilinearGridToUBC[source]

Bases: ubcTensorMeshWriterBase

Writes a vtkRectilinearGrid data object to the UBC Tensor Mesh format. This file reader currently only handles 3D data.

perform_write_out(input_data_object, filename, object_name)[source]

Write out a vtkRectilinearGrid to the UBC file format