- classmethod TensorMesh.read_vtk(file_name, directory='')#
Read VTK rectilinear file (vtr or xml) and return a discretize tensor mesh (and models).
This method reads a VTK rectilinear file (vtr or xml format) and returns a tuple containing the
TensorMeshas well as a dictionary containing any models. The keys in the model dictionary correspond to the file names of the models.