class_docstr: An internal class to manage filters/algorithms for unstructured grid datasets.
class_docstr_tok: ["An","internal","class","to","manage","filters\/algorithms","for","unstructured","grid","datasets","."]
docstr: Subdivide each tetrahedron into twelve tetrahedrons.
  
  Returns
  -------
  pyvista.UnstructuredGrid
      UnstructuredGrid containing the subdivided tetrahedrons.
  
  Examples
  --------
  First, load a sample tetrahedral UnstructuredGrid and plot it.
  
  >>> from pyvista import examples
  >>> grid = examples.load_tetbeam()
  >>> grid.plot(show_edges=True, line_width=2)
  
  Now, subdivide and plot.
  
  >>> subdivided = grid.subdivide_tetra()
  >>> subdivided.plot(show_edges=True, line_width=2)
docstr_tok: ["Subdivide","each","tetrahedron","into","twelve","tetrahedrons",".","Returns","--","--","--","-","pyvista.UnstructuredGrid","UnstructuredGrid","containing","the","subdivided","tetrahedrons",".","Examples","--","--","--","--","First",",","load","a","sample","tetrahedral","UnstructuredGrid","and","plot","it",".",">",">",">","from","pyvista","import","examples",">",">",">","grid","=","examples.load_tetbeam","(",")",">",">",">","grid.plot","(","show_edges=True",",","line_width=2",")","Now",",","subdivide","and","plot",".",">",">",">","subdivided","=","grid.subdivide_tetra","(",")",">",">",">","subdivided.plot","(","show_edges=True",",","line_width=2",")"]
code: def subdivide_tetra(self):
      """Subdivide each tetrahedron into twelve tetrahedrons.
  
      Returns
      -------
      pyvista.UnstructuredGrid
          UnstructuredGrid containing the subdivided tetrahedrons.
  
      Examples
      --------
      First, load a sample tetrahedral UnstructuredGrid and plot it.
  
      >>> from pyvista import examples
      >>> grid = examples.load_tetbeam()
      >>> grid.plot(show_edges=True, line_width=2)
  
      Now, subdivide and plot.
  
      >>> subdivided = grid.subdivide_tetra()
      >>> subdivided.plot(show_edges=True, line_width=2)
  
      """
      alg = _vtk.vtkSubdivideTetra()
      alg.SetInputData(self)
      _update_alg(alg)
      return _get_output(alg)
  
file_path: pyvista/pyvista/core/filters/unstructured_grid.py
imports: from functools import wraps
  from pyvista.core import _vtk_core
  from pyvista.core.errors import VTKVersionError
  from pyvista.core.filters import _get_output, _update_alg
  from pyvista.core.filters.data_set import DataSetFilters
  from pyvista.core.filters.poly_data import PolyDataFilters
  from pyvista.core.utilities.misc import abstract_class
label_desc: Use image node_id 3 for calling the UnstructuredGridFilters obj's underlying member method code with example usage: obj.subdivide_tetra() and returns: _get_output