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                dim="3"/>
235
236     <algorithm type="Projection_1D"
237                label-id="Projection 1D"
238                icon-id="mesh_algo_regular.png"
239                hypos="ProjectionSource1D"
240                output="EDGE"
241                dim="1"/>
242
243     <algorithm type="Projection_2D"
244                label-id="Projection 2D"
245                icon-id="mesh_algo_quad.png"
246                input="EDGE"
247                hypos="ProjectionSource2D"
248                output="QUAD,TRIA"
249                dim="2"/>
250
251     <algorithm type="Projection_3D"
252                label-id="Projection 3D"
253                icon-id="mesh_algo_hexa.png"
254                hypos="ProjectionSource3D"
255                input="QUAD,TRIA"
256                dim="3"/>
257
258     <algorithm type="Import_1D"
259                label-id="Use existing 1D elements"
260                icon-id="mesh_algo_regular.png"
261                hypos="ImportSource1D"
262                output="EDGE"
263                dim="1"/>
264
265     <algorithm type="Import_1D2D"
266                label-id="Use existing 2D elements"
267                icon-id="mesh_algo_quad.png"
268                hypos="ImportSource2D"
269                output="QUAD,TRIA"
270                support-submeshes="false"
271                dim="2"/>
272
273     <algorithm type="Prism_3D"
274                label-id="3D extrusion"
275                icon-id="mesh_algo_hexa.png"
276                input="QUAD,TRIA"
277                dim="3"/>
278
279     <algorithm type="RadialPrism_3D"
280                label-id="Radial Prism 3D"
281                icon-id="mesh_algo_hexa.png"
282                hypos="NumberOfLayers, LayerDistribution"
283                input="QUAD,TRIA"
284                dim="3"/>
285
286     <algorithm type="UseExisting_1D"
287                label-id="Use existing edges"
288                icon-id="mesh_algo_regular.png"
289                input="VERTEX"
290                output="EDGE"
291                dim="1"/>
292
293     <algorithm type="UseExisting_2D"
294                label-id="Use existing faces"
295                icon-id="mesh_algo_quad.png"
296                input="EDGE"
297                output="QUAD,TRIA"
298                dim="2"/>
299
300     <algorithm type="RadialQuadrangle_1D2D"
301                label-id="Radial quadrangle 1D2D"
302                icon-id="mesh_algo_quad.png"
303                hypos="NumberOfLayers2D, LayerDistribution2D"
304                input="EDGE"
305                output="QUAD,TRIA"
306                dim="2"/>
307
308   </algorithms>
309 </meshers-group>
310
311 <meshers-group name="Your Meshers Group"
312                resources=""
313                server-lib=""
314                gui-lib="">
315   <hypotheses>
316
317     <hypothesis type=""
318                 label-id=""
319                 icon-id=""/>
320   </hypotheses>
321
322   <algorithms>
323
324     <algorithm type=""
325                label-id=""
326                icon-id=""/>
327   </algorithms>
328 </meshers-group>
329
330
331 <hypotheses-set-group>
332
333     <hypotheses-set name="Automatic Tetrahedralization"
334                     hypos="MaxLength"
335                     algos="Regular_1D, MEFISTO_2D, NETGEN_3D"/>
336
337     <hypotheses-set name="Automatic Hexahedralization"
338                     hypos="NumberOfSegments"
339                     algos="Regular_1D, Quadrangle_2D, Hexa_3D"/>
340
341 </hypotheses-set-group>
342
343 </meshers>