forked from rajexplo/DG_Matlab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeshDisp.m
53 lines (36 loc) · 1.23 KB
/
meshDisp.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
function meshDisp(meshData)
% display meshData structure
fprintf(' elementType == %s\n', meshData.elementType);
fprintf(' Points: %d\n', meshData.nP);
disp(meshData.P)
fprintf(' Elements: %d\n', meshData.nT);
disp(meshData.T)
fprintf(' Subdomains: %d\n',meshData.nSubdom);
disp(meshData.TSubdomN);
fprintf(' Edges: %d\n', meshData.nE);
disp(meshData.E)
fprintf(' Boundary edges: %d\n', meshData.nBE);
disp(meshData.BE)
fprintf(' BE Segment number: \n');
disp(meshData.BESegN);
fprintf(' BE Orientation: \n');
disp(meshData.BEOrient);
fprintf(' T2E table: \n');
disp(meshData.T2E);
fprintf(' E2T table: \n');
disp(meshData.E2T);
fprintf(' ELInd table: \n');
disp(meshData.ELInd);
fprintf(' E2BE table: \n');
disp(meshData.E2BE);
fprintf(' BE2E table: \n');
disp(meshData.BE2E);
if strcmp(meshData.elementType, 'trig-cluster')
fprintf(' This is a trig-cluster mesh.\n');
fprintf(' Clusters: %d\n', meshData.nC);
disp(meshData.C)
fprintf(' T2C table:\n');
disp(meshData.T2C);
fprintf(' Interfaces: %d\n',meshData.nInterface);
disp(meshData.Interface);
end