📄 makemeshdata2nd.m
字号:
% MakeMeshData2nd is a script that builds two circular
% meshes for 2D EIT Package. Denser mesh (mesh 2) is for forward computations and
% a coarse mesh (mesh 1) for inverse computations. See also
% meshgen_eit2d.m, MakeElement2nd and MakeNode.
S=2.5; % Length of the electrode.
N=16; % Number of the electrodes.
r=14; % Radius of the circle.
style='s'; % 's' for the structured mesh and 'u' for the unstructured mesh
[H1,g1,H2,g2,E1,E2,Ind2,Indb1,Indb2] = meshgen_eit2d(S,N,r,style);
g=g1;H=H1; %Old data for plotting etc.
[Element,Nodelist]=MakeElement(H1,Indb1,E1); %-----------"------------
[Node]=MakeNode(Element,Nodelist,g); %-----------"----------
[g1,H1,Indb1]=addnodes(g1,H1,Indb1);
[Element1,Nodelist1]=MakeElement2nd(H1,Indb1,E1);
[Node1]=MakeNode2nd(Element1,Nodelist1,g1);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -