Muscat.IO.VtkReader module

Vtu and Vtk file reader

CheckIntegrity()[source]
class VtkReader(fileName: str = '')[source]

Bases: ReaderBase

Vtk Reader class

Read(fileName: str | None = None) Mesh[source]

Function that performs the reading mesh using vtk, the reader is selected based on the file_extension. Current files supported are vtk, stl

Parameters:

fileName (str, optional) – name of the file to be read, by default None

Returns:

output unstructured mesh object containing reading result

Return type:

Mesh