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

Description

QUAD2TRI Convert quadrilaterals to triangles.

[ SOUT ] = QUAD2TRI( SIN, IORDER ) Convert quadrilateral to triangular cells.

Input       Value/(Size)           Description
-----------------------------------------------------------------------------------
sin         struct                 Grid or problem struct with
                                   p, c (and optionally s and b) fields
iorder      1/2/{0}                Node ordering of triangles.
                                     0 : Automatically select best splitting
                                     1 : 1-2-3 / 1-3-4 splitting
                                     2 : 2-3-4 / 1-2-4 splitting
                                                                                  .
Output      Value/(Size)           Description
-----------------------------------------------------------------------------------
sout        struct                 Output grid or problem struct
See also
hex2tet, tet2hex, tri2quad