资 源 简 介
有用的matlab有限分析方法 fd:d=fd(p),p=[x y],fd为给定任一点到边界的有符号距离函数,负号表示在区域内,正号为在区域外% fh:就是网格大小的函数% h0:也就是h, 网格的初始大小% box:最大外围矩形范围% Input, integer ITERATION_MAX, the maximum number of iterations.% iteration_max:允许的最大迭代次数% pfix:网格中需要固定的点坐标,也就是一定需要出现在网格中的点% Input, VARARGIN, aditional parameters passed to FD and FH.%% p:网格点的x,y坐标% Output, integer T(NT,3), the triangle indices.% t:输出网格任意一个三角形的三个顶点% Local parameters:% Local, real GEPS, a tolerance for determining whether a point is "almost" inside% the region. Setting GEPS = 0 makes this an exact test. The program currently% sets it to 0.001 * H0, that is, a very small multiple of the desired side length% of a triangle. &nbs