Salome HOME
Fix Redesign of SMESH documentation
[modules/smesh.git] / doc / salome / gui / SMESH / input / aspect_ratio.rst
1 .. _aspect_ratio_page: 
2
3 ************
4 Aspect Ratio
5 ************
6
7 The **Aspect Ratio** quality criterion for mesh elements reveals the degree of conformity of a mesh element to the regular element of its type (with all edges having the same length).
8   
9
10 * The **Aspect Ratio** of a **triangle** 2D element consisting of 3 nodes is calculated by the formula:
11
12         .. image:: ../images/formula4.png
13                 :align: center
14
15 * The **Aspect Ratio** of a **quadrangle** 2D element consisting of 4 nodes is calculated using The Verdict Geometric Quality Library available within VTK. The calculation formula is:
16
17         .. image:: ../images/formula5.png
18                 :align: center
19
20 *To apply the Aspect Ratio quality criterion to your mesh:*
21
22 .. |img| image:: ../images/image37.png
23
24 #. Display your mesh in the viewer.
25 #. Choose **Controls > Face Controls > Aspect Ratio** or click *Aspect Ratio* button |img| in the toolbar.
26    
27    Your mesh will be displayed in the viewer with its elements colored according to the applied mesh quality control criterion:
28
29         .. image:: ../images/image94.jpg
30                 :align: center
31
32
33 **See Also** a sample TUI Script of an :ref:`tui_aspect_ratio` filter.