discretize.mixins.vtkModule.assign_cell_data

discretize.mixins.vtkModule.assign_cell_data(vtkDS, models=None)[source]

Assign the model(s) to the VTK dataset as CellData

Parameters
  • vtkDS (pyvista.Common) – Any given VTK data object that has cell data

  • models (dict(numpy.ndarray)) – Name(‘s) and array(‘s). Match number of cells