Matlab网划分.docVIP

  • 8
  • 0
  • 约1.27万字
  • 约 13页
  • 2019-08-10 发布于江苏
  • 举报
Matlab网格划分 /~persson/mesh/(已删除) Distmesh 是一个matlab语言写的网格划分软件。 源文件可以从上面的网址获取。 这里按行讲解各个算例。 p01_demo: 概算例是一个单位圆(半径为1)的网格划分,划分后的网格为: 以下逐行讲解该算例: function p01_demo ( iteration_max, h ) %??Parameters: %??Input, integer ITERATION_MAX, the maximum number of iterations that DISTMESH %????should take.??(The program might take fewer iterations if it detects convergence.) %??Input, real h, the mesh spacing parameter. % 这里有两个输入参数,一个是ITERATION_MAX,迭代的最大次数。 % 另一个是h, 网格划分的大小。 0h1 % 默认参数值为: ITERATION=200???h=0.1 [ p, t ]=distmesh_2d( fd, fh, h0, box, iteration_max, fixed ); 函数需要至少六个参数。 d = fd ( p ),???p=[x

文档评论(0)

1亿VIP精品文档

相关文档