Salome HOME
*** empty log message ***
[modules/smesh.git] / doc / salome / gui / SMESH / files / aspect_ratio.htm
1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
2 \r
3 <html>\r
4 \r
5 <head>\r
6 <title>Aspect Ratio</title>\r
7 <meta http-equiv="content-type" content="text/html; charset=windows-1252">\r
8 <meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
9 <link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
10 <!--\r
11 if (navigator.appName !="Netscape")\r
12 {   document.write("<link rel='stylesheet' href='../default.css'>");}\r
13 //-->\r
14 </script>\r
15 <style type="text/css">\r
16 <!--\r
17 img_whs1 { border:none; width:30px; height:30px; float:none; border-style:none; }\r
18 ul.whs2 { list-style:disc; }\r
19 p.whs3 { margin-left:80px; }\r
20 img_whs4 { border:none; width:238px; height:205px; border-style:none; }\r
21 p.whs5 { margin-left:0px; }\r
22 img_whs6 { border:none; width:226px; height:70px; border-style:none; }\r
23 p.whs7 { margin-left:40px; }\r
24 img_whs8 { border:none; width:25px; height:24px; border-style:none; }\r
25 img_whs9 { border:none; width:439px; height:313px; border-style:none; }\r
26 -->\r
27 </style><script type="text/javascript" language="JavaScript">\r
28 <!--\r
29 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
30 {\r
31   var strNSS = "<style type='text/css'>";\r
32   strNSS += "p.whs5 {margin-left:1pt; }";\r
33   strNSS +="</style>";\r
34   document.write(strNSS);\r
35 }\r
36 //-->\r
37 </script>\r
38 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
39 <!--\r
40 function reDo() {\r
41   if (innerWidth != origWidth || innerHeight != origHeight)\r
42      location.reload();\r
43 }\r
44 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
45         origWidth = innerWidth;\r
46         origHeight = innerHeight;\r
47         onresize = reDo;\r
48 }\r
49 onerror = null; \r
50 //-->\r
51 </script>\r
52 <style type="text/css">\r
53 <!--\r
54 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
55 -->\r
56 </style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
57 <script type="text/javascript" language="javascript" src="../whver.js"></script>\r
58 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
59 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
60 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
61 </head>\r
62 <body><script type="text/javascript" language="javascript1.2">\r
63 <!--\r
64 if (window.gbWhTopic)\r
65 {\r
66         if (window.addTocInfo)\r
67         {\r
68         addTocInfo("MESH module\nQuality controls\nAspect ratio");\r
69 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
70 \r
71         }\r
72         if (window.writeBtnStyle)\r
73                 writeBtnStyle();\r
74 \r
75         if (window.writeIntopicBar)\r
76                 writeIntopicBar(1);\r
77 \r
78         if (window.setRelStartPage)\r
79         {\r
80         setRelStartPage("../smesh.htm");\r
81 \r
82                 autoSync(1);\r
83                 sendSyncInfo();\r
84                 sendAveInfoOut();\r
85         }\r
86 }\r
87 else\r
88         if (window.gbIE4)\r
89                 document.location.reload();\r
90 //-->\r
91 </script>\r
92 <h1>Aspect Ratio</h1>\r
93 \r
94 <p><img src="../i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs1"> The <span style="font-weight: bold;"><B>Aspect Ratio</B></span> \r
95  quality criterion for mesh elements is defined as follows:</p>\r
96 \r
97 <p>&nbsp;</p>\r
98 \r
99 <ul type="disc" class="whs2">\r
100         \r
101         <li class=kadov-p><p>For a <span style="font-weight: bold;"><B>triangle</B></span> \r
102  2D element consisting of 3 nodes a the <span style="font-weight: bold;"><B>Aspect \r
103  Ratio</B></span> is calculated as the ratio of the length, h2, of the edge \r
104  of this triangle, to the height, h1. The ratio of h2 to h1 is then multiplied \r
105  by &nbsp;3<span \r
106  style="vertical-align: Super; font-size: 10pt;"><font size=2 style="font-size:10pt;">(1/2)</font></span> /2, so that \r
107  a \93perfect\94 element in the shape of an equilateral triangle will be equal \r
108  to 1. This procedure is repeated for the remaining two edges of the triangle, \r
109  and the largest value is retained as the <span style="font-weight: bold;"><B>Aspect \r
110  Ratio</B></span> for the element.</p></li>\r
111 </ul>\r
112 \r
113 <p>&nbsp;</p>\r
114 \r
115 <p class="whs3"><img src="../image26.jpg" width="238px" height="205px" border="0" class="img_whs4"></p>\r
116 \r
117 <p>&nbsp;</p>\r
118 \r
119 <p class="whs5">&nbsp;</p>\r
120 \r
121 <ul type="disc" class="whs2">\r
122         \r
123         <li class=kadov-p><p class="whs5">For a <span style="font-weight: bold;"><B>quadrangle</B></span> \r
124  2D element consisting of 4 nodes &nbsp;the \r
125  <span style="font-weight: bold;"><B>Aspect Ratio </B></span>is the ratio of the \r
126  element's longest side to its shortest side.</p></li>\r
127 </ul>\r
128 \r
129 <p class="whs3"><img src="../image22.gif" width="226px" height="70px" border="0" class="img_whs6"></p>\r
130 \r
131 <p class="whs3">&nbsp;</p>\r
132 \r
133 <p class=TODO>To apply the Aspect Ratio quality criterion to your mesh:</p>\r
134 \r
135 <p class=TODO>&nbsp;</p>\r
136 \r
137 <p class="whs7">1. Display your mesh in the viewer.</p>\r
138 \r
139 <p class="whs7">&nbsp;</p>\r
140 \r
141 <p class="whs7">2. Choose <span style="font-weight: bold;"><B>Controls \r
142  &gt; Aspect Ratio </B></span>or click <img src="../image37.gif" width="25px" height="24px" border="0" class="img_whs8"> button in the toolbar. \r
143  Your mesh will be displayed in the viewer with its elements colored according \r
144  to the applied mesh quality control criterion:</p>\r
145 \r
146 <p class="whs7">&nbsp;</p>\r
147 \r
148 <p class="whs7"><img src="../image94.jpg" width="439px" height="313px" border="0" class="img_whs9"></p>\r
149 \r
150 <p class="whs7">&nbsp;</p>\r
151 \r
152 <p class="whs5"><span style="font-weight: bold;"><B>See Also</B></span> \r
153  a sample TUI Script of an <a href="../quality_controls.htm#bookmark8">Aspect \r
154  Ratio quality control</a> operation. &nbsp;</p>\r
155 \r
156 <p>&nbsp;</p>\r
157 \r
158 <script type="text/javascript" language="javascript1.2">\r
159 <!--\r
160 if (window.writeIntopicBar)\r
161         writeIntopicBar(0);\r
162 //-->\r
163 </script>\r
164 </body>\r
165 </html>\r