📄 two_arc_circle.m
字号:
% The circle circumference consists of two arcs, which are given centers
% slightly offset from the true center of the circle. The mesh generator
% needs this to make sense of the orientation of the arcs.
h=2.8;
[fens,gcells,groups,edge_gcells,edge_groups]=targe2_mesher({...
'curve 1 arc -12 0 12 0 Center 0 -0.0000001 rev',...
'curve 2 arc 12 0 -12 0 Center 0 0.0000001 reversed',...
['subregion 1 property 1 boundary 1 2 '],...
['m-ctl-point constant ' num2str(h)]
}, 1.0);
drawmesh({fens,gcells},'gcells','shrink', 0.8);
view(2)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -