Writers

Write vtkImageData to UBC Tensor Mesh

class PVGeo.ubc.write.WriteImageDataToUBC[source]

Bases: PVGeo.ubc.write.ubcTensorMeshWriterBase

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

PerformWriteOut(inputDataObject, filename, objectName)[source]

This method must be implemented. This is automatically called by RequestData for single inputs or composite inputs.

Write vtkRectilinearGrid to UBC Tensor Mesh

class PVGeo.ubc.write.WriteRectilinearGridToUBC[source]

Bases: PVGeo.ubc.write.ubcTensorMeshWriterBase

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

PerformWriteOut(inputDataObject, filename, objectName)[source]

This method must be implemented. This is automatically called by RequestData for single inputs or composite inputs.