module myna.application.exaca.vtk
function grain_id_reader
grain_id_reader(grain_id_file)
Returns the VTK reader for the grain ID file
Args:
grain_id_file: path to grain ID file output by an ExaCA simulation
Returns: vtkDatasetReader
function vtk_structure_points_locs
vtk_structure_points_locs(structured_points)
Returns arrays of x, y, and z coordinates for all points
Args:
structured_points: vtkStructuredPoints object
Returns:
x: x-coordinates as a numpy arrayy: y-coordinates as a numpy arrayz: z-coordinates as a numpy array
function vtk_unstructured_grid_locs
vtk_unstructured_grid_locs(unstructured_grid)
Returns arrays of x, y, and z coordinates for all points
Args:
unstructured_grid: vtkUnstructuredGrid object
Returns:
x: x-coordinates as a numpy arrayy: y-coordinates as a numpy arrayz: z-coordinates as a numpy array
This file was automatically generated via lazydocs.