?? test10.di
字號:
17:27:48.2 27-Aug-1999-- >> %test 10 -- two 30-gons. In the first, each edge is a separate17:27:48.2 27-Aug-1999-- >> % topological entity.17:27:48.2 27-Aug-1999-- >> % In the second, the edges are merged into one topological entity.17:27:48.2 27-Aug-1999-- >> p = gmpolygon(30);17:27:48.3 27-Aug-1999-- >> show = 0;17:27:48.4 27-Aug-1999-- >> global interactive17:27:48.4 27-Aug-1999-- >> if length(interactive) > 0 show = 1;end17:27:48.4 27-Aug-1999-- >> m1 = gmmeshgen(p, 'show', show);17:27:48.6 27-Aug-1999-- >> if show gmviz(m1)end17:27:48.6 27-Aug-1999-- >> p2 = gmcoarsetopo(p, .3);17:27:49.4 27-Aug-1999-- >> m2 = gmmeshgen(p2, 'show', show);17:27:49.5 27-Aug-1999-- >> if show gmviz(m2)end17:27:49.5 27-Aug-1999-- >> % How much does brep 2 deviate from G^1? 17:27:49.6 27-Aug-1999-- >> [g1dev,g1devf,g1devn] = gmchecknormals(p2);17:27:50.2 27-Aug-1999-- >> if show, disp(sprintf('deviation of brep2 from G^1 condition is %d on face %s at node %d', g1dev, g1devf, g1devn))end17:27:50.2 27-Aug-1999-- >> asp = gmchecktri(p,m1);Maximum aspect ratio = 13.4882 achieved insimplex #272 of topological entity mregion (2:0) which has vertices 31 2 172 Maximum global side length = 0.777817Minimum global altitude = 0.00434737Number of nodes = 173 number of elements = 27817:27:50.3 27-Aug-1999-- >> asp2 = gmchecktri(p2,m2);Maximum aspect ratio = 6.73472 achieved insimplex #51 of topological entity mregion (2:0) which has vertices 20 8 47 Maximum global side length = 0.777817Minimum global altitude = 0.0418737Number of nodes = 57 number of elements = 8617:27:50.3 27-Aug-1999-- >> [scrap, numvtx] = size(m1{4});17:27:50.3 27-Aug-1999-- >> [scrap, numvtx2] = size(m2{4});17:27:50.3 27-Aug-1999-- >> global aspprod17:27:50.3 27-Aug-1999-- >> global meshsizesum17:27:50.3 27-Aug-1999-- >> if length(aspprod) > 0, ... aspprod = aspprod * asp * asp2; meshsizesum = meshsizesum + numvtx + numvtx2;end17:27:50.3 27-Aug-1999-- >> % ------------------------------------------------------------------17:27:50.3 27-Aug-1999-- >> % Copyright (c) 1999 by Cornell University. All rights reserved17:27:50.4 27-Aug-1999-- >> % See the accompanying file 'Copyright' for authorship information,17:27:50.4 27-Aug-1999-- >> % the terms of the license governing this software, and disclaimers17:27:50.4 27-Aug-1999-- >> % concerning this software.17:27:50.4 27-Aug-1999-- >> % ------------------------------------------------------------------17:27:50.4 27-Aug-1999-- >> % This file is part of the QMG software. 17:27:50.4 27-Aug-1999-- >> % Version 2.0 of QMG, release date RELDATE.17:27:50.4 27-Aug-1999-- >> % ------------------------------------------------------------------17:27:50.4 27-Aug-1999-- >>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -