FEATool  v1.6
Finite Element Analysis Toolbox
 All Files Functions Pages
gridcheck.m File Reference


GRIDCHECK Check grid for errors.

[ N_ERR, CIND ] = GRIDCHECK( G, ISWARN, FID ) Checks a grid G for errors. N_ERR returns the number of errors found. CIND is a cell array giving the indices to incorrectly oriented cells, collapsed cells (with zero volume/area), and non-convex cells. ISWARN is a flag to enable/disable warnings. I_CHECK is flag to choose check/test type (1 = test Jacobian determinant, 2 = test if polygon points are in clockwise order, 3 = split hexahedra into tetrahedra).

See also
Required fields of g: