Salome HOME
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
[modules/smesh.git] / resources / StdMeshers.xml
1 <?xml version='1.0' encoding='us-ascii'?>
2 <!DOCTYPE meshers PUBLIC "" "desktop.dtd">
3 <!--
4   Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
5
6   Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
7   CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
8
9   This library is free software; you can redistribute it and/or
10   modify it under the terms of the GNU Lesser General Public
11   License as published by the Free Software Foundation; either
12   version 2.1 of the License.
13
14   This library is distributed in the hope that it will be useful,
15   but WITHOUT ANY WARRANTY; without even the implied warranty of
16   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17   Lesser General Public License for more details.
18
19   You should have received a copy of the GNU Lesser General Public
20   License along with this library; if not, write to the Free Software
21   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
22
23   See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
24
25 -->
26
27 <!--  GUI customization for MESH component  -->
28
29 <meshers>
30
31 <meshers-group name="Standard Meshers"
32                resources="StdMeshers"
33                server-lib="StdMeshersEngine"
34                gui-lib="StdMeshersGUI">
35   <hypotheses>
36
37     <hypothesis type="SegmentLengthAroundVertex"
38                 label-id="Length Near Vertex"
39                 icon-id="mesh_hypo_length.png"
40                 dim="0"/>
41
42     <hypothesis type="LocalLength"
43                 label-id="Local Length"
44                 icon-id="mesh_hypo_length.png"
45                 dim="1"/>
46
47     <hypothesis type="MaxLength"
48                 label-id="Max Size"
49                 icon-id="mesh_hypo_length.png"
50                 dim="1"/>
51
52     <hypothesis type="Arithmetic1D"
53                 label-id="Arithmetic 1D"
54                 icon-id="mesh_hypo_length.png"
55                 dim="1"/>
56
57     <hypothesis type="FixedPoints1D"
58                 label-id="Fixed points 1D"
59                 icon-id="mesh_hypo_length.png"
60                 dim="1"/>
61
62     <hypothesis type="StartEndLength"
63                 label-id="Start and End Length"
64                 icon-id="mesh_hypo_length.png"
65                 dim="1"/>
66
67     <hypothesis type="NumberOfSegments"
68                 label-id="Nb. Segments"
69                 icon-id="mesh_hypo_segment.png"
70                 dim="1"/>
71
72     <hypothesis type="Deflection1D"
73                 label-id="Deflection 1D"
74                 icon-id="mesh_hypo_length.png"
75                 dim="1"/>
76
77     <hypothesis type="Propagation"
78                 label-id="Propagation of 1D Hyp. on opposite edges"
79                 icon-id="mesh_hypo_length.png"
80                 dim="1"
81                 auxiliary="true"/>
82
83     <hypothesis type="AutomaticLength"
84                 label-id="Automatic length"
85                 icon-id="mesh_hypo_length.png"
86                 dim="1"/>
87
88     <hypothesis type="LengthFromEdges"
89                 label-id="Length From Edges (2D Hyp. for Triangulator)"
90                 icon-id="mesh_hypo_length.png"
91                 dim="2"/>
92
93     <hypothesis type="QuadranglePreference"
94                 label-id="Quadrangle Preference"
95                 icon-id="mesh_algo_quad.png"
96                 auxiliary="true"
97                 dim="2"/>
98
99     <hypothesis type="TrianglePreference"
100                 label-id="Triangle Preference"
101                 icon-id="mesh_algo_mefisto.png"
102                 auxiliary="true"
103                 dim="2"/>
104                 
105     <hypothesis type="QuadraticMesh"
106                 label-id="Quadratic Mesh"
107                 icon-id="mesh_algo_quad.png"
108                 dim="1"
109                 auxiliary="true"/>                
110
111     <hypothesis type="MaxElementArea"
112                 label-id="Max. Element Area"
113                 icon-id="mesh_hypo_area.png"
114                 dim="2"/>
115                 
116     <hypothesis type="NotConformAllowed"
117                 label-id="Not Conform Mesh Allowed"
118                 icon-id="mesh_hypo_length.png"
119                 dim="1,2,3"
120                 auxiliary="true"/>                
121
122     <hypothesis type="MaxElementVolume"
123                 label-id="Max. Element Volume"
124                 icon-id="mesh_hypo_volume.png"
125                 dim="3"/>
126
127     <hypothesis type="ProjectionSource3D"
128                 label-id="Source Shape 3D"
129                 icon-id="mesh_hypo_volume.png"
130                 dim="3"/>
131
132     <hypothesis type="ProjectionSource2D"
133                 label-id="Source Face"
134                 icon-id="mesh_hypo_area.png"
135                 dim="2"/>
136
137     <hypothesis type="ProjectionSource1D"
138                 label-id="Source Edge"
139                 icon-id="mesh_hypo_length.png"
140                 dim="1"/>
141
142     <hypothesis type="ImportSource2D"
143                 label-id="Source Faces"
144                 icon-id="mesh_hypo_area.png"
145                 dim="2"/>
146
147     <hypothesis type="ImportSource1D"
148                 label-id="Source Edges"
149                 icon-id="mesh_hypo_length.png"
150                 dim="1"/>
151
152     <hypothesis type="NumberOfLayers"
153                 label-id="Number of Layers"
154                 icon-id="mesh_hypo_length.png"
155                 dim="3"/>
156
157     <hypothesis type="LayerDistribution"
158                 label-id="Distribution of Layers"
159                 icon-id="mesh_hypo_length.png"
160                 dim="3"/>
161
162     <hypothesis type="ViscousLayers"
163                 label-id="Viscous Layers"
164                 icon-id="mesh_algo_quad.png"
165                 auxiliary="true"
166                 dim="3"/>
167
168     <hypothesis type="NumberOfLayers2D"
169                 label-id="Number of Layers"
170                 icon-id="mesh_hypo_length.png"
171                 dim="2"/>
172
173     <hypothesis type="LayerDistribution2D"
174                 label-id="Distribution of Layers"
175                 icon-id="mesh_hypo_length.png"
176                 dim="2"/>
177
178     <hypothesis type="QuadrangleParams"
179                 label-id="Quadrangle Parameters"
180                 icon-id="mesh_hypo_length.png"
181                 dim="2"/>
182
183   </hypotheses>
184
185   <algorithms>
186
187     <algorithm type="SegmentAroundVertex_0D"
188                label-id="Segments around vertex"
189                icon-id="mesh_algo_regular.png"
190                hypos="SegmentLengthAroundVertex"
191                output="VERTEX"
192                dim="0"/>
193
194     <algorithm type="Regular_1D"
195                label-id="Wire discretisation"
196                icon-id="mesh_algo_regular.png"
197                hypos="LocalLength,MaxLength,Arithmetic1D,StartEndLength,NumberOfSegments,Deflection1D,AutomaticLength,FixedPoints1D"
198                opt-hypos="Propagation,QuadraticMesh"
199                input="VERTEX"
200                output="EDGE"
201                dim="1"/>
202
203     <algorithm type="CompositeSegment_1D"
204                label-id="Composite side discretisation"
205                icon-id="mesh_algo_regular.png"
206                hypos="LocalLength,MaxLength,Arithmetic1D,StartEndLength,NumberOfSegments,Deflection1D,AutomaticLength"
207                opt-hypos="Propagation,QuadraticMesh"
208                input="VERTEX"
209                output="EDGE"
210                dim="1"/>
211
212     <algorithm type="MEFISTO_2D"
213                label-id="Triangle (Mefisto)"
214                icon-id="mesh_algo_mefisto.png"
215                hypos="LengthFromEdges,MaxElementArea"
216                input="EDGE"
217                output="TRIA"
218                dim="2"/>
219
220     <algorithm type="Quadrangle_2D"
221                label-id="Quadrangle (Mapping)"
222                icon-id="mesh_algo_quad.png"
223                hypos="QuadrangleParams"
224                opt-hypos="QuadranglePreference,TrianglePreference"
225                input="EDGE"
226                output="QUAD"
227                dim="2"/>
228
229     <algorithm type="Hexa_3D"
230                label-id="Hexahedron (i,j,k)"
231                icon-id="mesh_algo_hexa.png"
232                input="QUAD"
233                need-geom="false"
234                opt-hypos="ViscousLayers"
235                dim="3"/>
236
237     <algorithm type="Projection_1D"
238                label-id="Projection 1D"
239                icon-id="mesh_algo_regular.png"
240                hypos="ProjectionSource1D"
241                output="EDGE"
242                dim="1"/>
243
244     <algorithm type="Projection_2D"
245                label-id="Projection 2D"
246                icon-id="mesh_algo_quad.png"
247                input="EDGE"
248                hypos="ProjectionSource2D"
249                output="QUAD,TRIA"
250                dim="2"/>
251
252     <algorithm type="Projection_3D"
253                label-id="Projection 3D"
254                icon-id="mesh_algo_hexa.png"
255                hypos="ProjectionSource3D"
256                input="QUAD,TRIA"
257                dim="3"/>
258
259     <algorithm type="Import_1D"
260                label-id="Use existing 1D elements"
261                icon-id="mesh_algo_regular.png"
262                hypos="ImportSource1D"
263                output="EDGE"
264                dim="1"/>
265
266     <algorithm type="Import_1D2D"
267                label-id="Use existing 2D elements"
268                icon-id="mesh_algo_quad.png"
269                hypos="ImportSource2D"
270                output="QUAD,TRIA"
271                support-submeshes="false"
272                dim="2"/>
273
274     <algorithm type="Prism_3D"
275                label-id="3D extrusion"
276                icon-id="mesh_algo_hexa.png"
277                input="QUAD,TRIA"
278                dim="3"/>
279
280     <algorithm type="RadialPrism_3D"
281                label-id="Radial Prism 3D"
282                icon-id="mesh_algo_hexa.png"
283                hypos="NumberOfLayers, LayerDistribution"
284                input="QUAD,TRIA"
285                dim="3"/>
286
287     <algorithm type="UseExisting_1D"
288                label-id="Use existing edges"
289                icon-id="mesh_algo_regular.png"
290                input="VERTEX"
291                output="EDGE"
292                dim="1"/>
293
294     <algorithm type="UseExisting_2D"
295                label-id="Use existing faces"
296                icon-id="mesh_algo_quad.png"
297                input="EDGE"
298                output="QUAD,TRIA"
299                dim="2"/>
300
301     <algorithm type="RadialQuadrangle_1D2D"
302                label-id="Radial quadrangle 1D2D"
303                icon-id="mesh_algo_quad.png"
304                hypos="NumberOfLayers2D, LayerDistribution2D"
305                input="EDGE"
306                output="QUAD,TRIA"
307                dim="2"/>
308
309   </algorithms>
310 </meshers-group>
311
312 <meshers-group name="Your Meshers Group"
313                resources=""
314                server-lib=""
315                gui-lib="">
316   <hypotheses>
317
318     <hypothesis type=""
319                 label-id=""
320                 icon-id=""/>
321   </hypotheses>
322
323   <algorithms>
324
325     <algorithm type=""
326                label-id=""
327                icon-id=""/>
328   </algorithms>
329 </meshers-group>
330
331
332 <hypotheses-set-group>
333
334     <hypotheses-set name="Automatic Tetrahedralization"
335                     hypos="MaxLength"
336                     algos="Regular_1D, MEFISTO_2D, NETGEN_3D"/>
337
338     <hypotheses-set name="Automatic Hexahedralization"
339                     hypos="NumberOfSegments"
340                     algos="Regular_1D, Quadrangle_2D, Hexa_3D"/>
341
342 </hypotheses-set-group>
343
344 </meshers>