test_helix2.m
来自「有限元编程做网格划分的」· M 代码 · 共 10 行
M
10 行
[fens,gcells] = t4cylinderdel(3.0,1.2, 8, 5);
fens = transform_apply(fens,@(x, data) (x+ [0, -2.5, 0]), []);
climbPerRevolution= 2.3;
fens = transform_2_helix(fens,climbPerRevolution);
bg=mesh_bdry(gcells);
drawmesh({fens,bg},'gcells','facecolor','red')
% ix =gcell_select(fens,bg,...
% struct ('box',[-100 100 -100 0 -100 0],'inflate', 0.5))
% drawmesh({fens,bg(ix)},'facecolor','red','shrink', 1.0)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?