gmchecktri.m

来自「matlab有限元分析工具,比经较全面的一个手册,请大家下载呀」· M 代码 · 共 16 行

M
16
字号
function [varargout]=gmchecktri(varargin)%% gmchecktri checks whether a mesh is a valid triangulation for a brep%%   Matlab: asp = gmchecktri(brep, mesh {, checko {, tol}}%%   Tcl/Tk set asp [gmchecktri $brep $mesh {$checko {$tol}}]%% This function checks the output of the mesh generator. It returns the%% worst aspect ratio among simplicies in the triangulation, or a%% negative number if there is an error in a mesh.  Because the mesh%% generator is still experimental, it is recommended that you run this%% utility after every single run of the mesh generator.  The optional%% argument checko indicates whether you want to check simplex%% orientation.  If checko=0, then correct orientation of simplices is%% not checked.  The default is checko=1, which means simplices should%% have normal orientation.  If checko=2, then all simplices are expected%% to have reverse orientation.gm_errmsg('gmchecktri')

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?