FEATool  v1.7
Finite Element Analysis Toolbox
 All Files Functions Pages
impexp_triangle.m File Reference


IMPEXP_TRIANGLE Import/export grid data in Triangle format.

[ DATA ] = IMPEXP_TRIANGLE( FILE_NAME, MODE, DATA, HMAX_E, FID_LOG ) Import or export of Triangle grid data in .node/.ele/.poly format. FILE_NAME is a string specifying the (root) file name to process. MODE can either be a string indicating import or export. For export, DATA can be either a whole fea struct or just the geom struct which is used to compute the poly information used by Triangle. HMAX_E specifies the grid size (for each edge) when exporting. A DATA grid struct is output when importng. FID_LOG is an optional log file for message output.

Required fields of data: