Salome HOME
Merge from V5_1_main 10/12/2010
[modules/smesh.git] / doc / salome / gui / SMESH / input / about_meshes.doc
1 /*!
2
3 \page about_meshes_page About meshes
4
5 \n \b MESH represents a discretization of a geometrical CAD model into
6 a set of entities with a simple topology. 
7
8 Meshes are stored in DAT, MED and UNV formats and can be
9 \subpage importing_exporting_meshes_page "imported from and exported to"
10  the file in these formats.
11
12 However, it is possible to \subpage constructing_meshes_page "construct meshes" 
13 on the basis of geometrical shapes produced in the GEOM module.
14 It is also possible to \subpage constructing_submeshes_page "create mesh on a part of the geometrical object", 
15 for example, a face. 
16
17 Several created meshes can be \subpage building_compounds_page "combined into mesh compounds".
18
19 The whole mesh or it's part can be \subpage copy_mesh_page "copied"
20 into another mesh.
21
22 All created meshes and submeshes can be \subpage editing_meshes_page "edited".
23
24 Meshes can be also edited using the MESH functions destined for 
25 \ref modifying_meshes_page "modification" of generated meshes.
26
27 The \b topology of a mesh is described by the relationships between its
28 entities including:
29
30 <ul>
31 <li>\b Node &mdash; 0D object of a mesh presented by a point with coordinates (x, y, z).</li>
32 <li>\b 0D element &mdash; element of a mesh defined by one node.</li>
33 <li>\b Edge &mdash; 1D element of a mesh defined by two nodes.</li>
34 <li>\b Face &mdash; 2D element of a mesh defined by three or four edges (closed contour).</li>
35 <li>\b Volume &mdash; 3D element of a mesh defined by several faces.</li>
36 </ul>
37
38 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;These entities are
39 considered as topological entities and they don't
40 imply any geometric representation. Only \b Nodes reference  geometric
41 representations of points with definite coordinates. The node entity
42 will contain  additional information about its position in the space
43 and its relations with the meshed CAD model. Its position could be
44 described in the following way:
45
46 <ul>
47 <li><b>2D position</b>. It is a free position defined by only two coordinates x,y.</li>
48 <li><b>3D position</b>. It is a free position defined by three coordinates x,y and z. </li>
49 <li><b>Surface position</b>. It characterizes the position of a node on a
50 geometric surface and is defined by the u,v position in the parametric
51 space of the corresponding surface.</li>
52 <li><b>Line position</b>. It characterizes the position of a node on a
53 geometric curve and is defined by the u parameter and the
54 corresponding curve.</li>
55 <li><b>Vertex position</b>. It characterizes the position of a node on a
56 geometric point of the meshed CAD model and is defined by the x,y,z
57 coordinates of the corresponding vertex.</li>
58 </ul>
59
60 <br><h2>Connections</h2>
61
62 Each mesh entity bounds 0 or more mesh entities of higher
63 dimension. In the same way each mesh entity is bounded by 0 or more
64 mesh entities of lower dimension:
65
66 <ul>
67 <li>A node bounds edges, faces and volumes</li>
68 <li>An edge bounds faces, and volumes</li>
69 <li>A face bounds volumes</li>
70 <li>A volume is bounded by faces, edges and nodes</li>
71 <li>A face is bounded by edges, and nodes</li>
72 <li>An edge is bounded by nodes</li>
73 </ul>
74
75 You can notice that there are two types of connections: \b inverse and
76 \b direct connections.
77
78 <br><h2>Inverse connections</h2>
79
80 This relationship has a particularity that the order of bounded
81 entities has not a direct meaning. Also the number of bounded entities
82 is not fixed.
83
84 \b Example: The edges surrounding a node. The 3rd edge has no more
85 sense that the 5th one.
86
87 <br><h2>Direct connections</h2>
88
89 This relationship has a particularity that the order of bounding
90 entities is meaningful. The number of bounding entities is fixed and
91 depends on the type of the entity (hexahedron, tetrahedron,?).
92
93 \b Example: An edge is composed of two nodes. A face is composed of 3
94 or 4 edges depending if we are dealing with triangles or quadrangles.
95
96 The connections are not only restricted to entities of one dimension
97 higher or lower. For example some algorithms may be interested to
98 retrieve all the faces surrounding a node.
99
100 */