FEATool Multiphysics  v1.16.5
Finite Element Analysis Toolbox
hex2tet.m File Reference

Description

HEX2TET Convert hexahedra to tetrahedra.

[ SOUT ] = HEX2TET( SIN, MODE ) Convert hexahedral to tetrahedral cells.

Input       Value/(Size)           Description
-----------------------------------------------------------------------------------
sin         struct                 Grid or problem struct with
                                   p, c (and optionally s and b) fields
mode        scalar                  1 = split each hex cell into 12 tets (default)
                                    2 = split each hex cell into 6 tets
                                                                                  .
Output      Value/(Size)           Description
-----------------------------------------------------------------------------------
sout        struct                 Output grid or problem struct
See also
quad2tri, tet2hex, tri2quad