Salome HOME
a425b30e0f277bc307dbd1b0a87bb349ae76d4bc
[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-2011  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="QuadraticMesh"
100                 label-id="Quadratic Mesh"
101                 icon-id="mesh_algo_quad.png"
102                 dim="1"
103                 auxiliary="true"/>                
104
105     <hypothesis type="MaxElementArea"
106                 label-id="Max. Element Area"
107                 icon-id="mesh_hypo_area.png"
108                 dim="2"/>
109                 
110     <hypothesis type="NotConformAllowed"
111                 label-id="Not Conform Mesh Allowed"
112                 icon-id="mesh_hypo_length.png"
113                 dim="1,2,3"
114                 auxiliary="true"/>                
115
116     <hypothesis type="MaxElementVolume"
117                 label-id="Max. Element Volume"
118                 icon-id="mesh_hypo_volume.png"
119                 dim="3"/>
120
121     <hypothesis type="ProjectionSource3D"
122                 label-id="Source Shape 3D"
123                 icon-id="mesh_hypo_volume.png"
124                 dim="3"/>
125
126     <hypothesis type="ProjectionSource2D"
127                 label-id="Source Face"
128                 icon-id="mesh_hypo_area.png"
129                 dim="2"/>
130
131     <hypothesis type="ProjectionSource1D"
132                 label-id="Source Edge"
133                 icon-id="mesh_hypo_length.png"
134                 dim="1"/>
135
136     <hypothesis type="ImportSource2D"
137                 label-id="Source Faces"
138                 icon-id="mesh_hypo_area.png"
139                 dim="2"/>
140
141     <hypothesis type="ImportSource1D"
142                 label-id="Source Edges"
143                 icon-id="mesh_hypo_length.png"
144                 dim="1"/>
145
146     <hypothesis type="NumberOfLayers"
147                 label-id="Number of Layers"
148                 icon-id="mesh_hypo_length.png"
149                 dim="3"/>
150
151     <hypothesis type="LayerDistribution"
152                 label-id="Distribution of Layers"
153                 icon-id="mesh_hypo_length.png"
154                 dim="3"/>
155
156     <hypothesis type="ViscousLayers"
157                 label-id="Viscous Layers"
158                 icon-id="mesh_algo_quad.png"
159                 auxiliary="true"
160                 dim="3"/>
161
162     <hypothesis type="NumberOfLayers2D"
163                 label-id="Number of Layers"
164                 icon-id="mesh_hypo_length.png"
165                 dim="2"/>
166
167     <hypothesis type="LayerDistribution2D"
168                 label-id="Distribution of Layers"
169                 icon-id="mesh_hypo_length.png"
170                 dim="2"/>
171
172     <hypothesis type="QuadrangleParams"
173                 label-id="Quadrangle Parameters"
174                 icon-id="mesh_hypo_length.png"
175                 dim="2"/>
176
177   </hypotheses>
178
179   <algorithms>
180
181     <algorithm type="SegmentAroundVertex_0D"
182                label-id="Segments around vertex"
183                icon-id="mesh_algo_regular.png"
184                hypos="SegmentLengthAroundVertex"
185                output="VERTEX"
186                dim="0"/>
187
188     <algorithm type="Regular_1D"
189                label-id="Wire discretisation"
190                icon-id="mesh_algo_regular.png"
191                hypos="LocalLength,MaxLength,Arithmetic1D,StartEndLength,NumberOfSegments,Deflection1D,AutomaticLength,FixedPoints1D"
192                opt-hypos="Propagation,QuadraticMesh"
193                input="VERTEX"
194                output="EDGE"
195                dim="1"/>
196
197     <algorithm type="CompositeSegment_1D"
198                label-id="Composite side discretisation"
199                icon-id="mesh_algo_regular.png"
200                hypos="LocalLength,MaxLength,Arithmetic1D,StartEndLength,NumberOfSegments,Deflection1D,AutomaticLength,FixedPoints1D"
201                opt-hypos="Propagation,QuadraticMesh"
202                input="VERTEX"
203                output="EDGE"
204                dim="1"/>
205
206     <algorithm type="MEFISTO_2D"
207                label-id="Triangle (Mefisto)"
208                icon-id="mesh_algo_mefisto.png"
209                hypos="LengthFromEdges,MaxElementArea"
210                input="EDGE"
211                output="TRIA"
212                dim="2"/>
213
214     <algorithm type="Quadrangle_2D"
215                label-id="Quadrangle (Mapping)"
216                icon-id="mesh_algo_quad.png"
217                hypos="QuadrangleParams"
218                input="EDGE"
219                output="QUAD"
220                dim="2"/>
221
222     <algorithm type="Hexa_3D"
223                label-id="Hexahedron (i,j,k)"
224                icon-id="mesh_algo_hexa.png"
225                input="QUAD"
226                need-geom="false"
227                opt-hypos="ViscousLayers"
228                dim="3"/>
229
230     <algorithm type="Projection_1D"
231                label-id="Projection 1D"
232                icon-id="mesh_algo_regular.png"
233                hypos="ProjectionSource1D"
234                output="EDGE"
235                dim="1"/>
236
237     <algorithm type="Projection_2D"
238                label-id="Projection 2D"
239                icon-id="mesh_algo_quad.png"
240                input="EDGE"
241                hypos="ProjectionSource2D"
242                output="QUAD,TRIA"
243                dim="2"/>
244
245     <algorithm type="Projection_1D2D"
246                label-id="Projection 1D-2D"
247                icon-id="mesh_algo_quad.png"
248                input=""
249                hypos="ProjectionSource2D"
250                output="QUAD,TRIA"
251                dim="2"/>
252
253     <algorithm type="Projection_3D"
254                label-id="Projection 3D"
255                icon-id="mesh_algo_hexa.png"
256                hypos="ProjectionSource3D"
257                input="QUAD,TRIA"
258                dim="3"/>
259
260     <algorithm type="Import_1D"
261                label-id="Use existing 1D elements"
262                icon-id="mesh_algo_regular.png"
263                hypos="ImportSource1D"
264                output="EDGE"
265                dim="1"/>
266
267     <algorithm type="Import_1D2D"
268                label-id="Use existing 2D elements"
269                icon-id="mesh_algo_quad.png"
270                hypos="ImportSource2D"
271                output="QUAD,TRIA"
272                support-submeshes="false"
273                dim="2"/>
274
275     <algorithm type="Prism_3D"
276                label-id="3D extrusion"
277                icon-id="mesh_algo_hexa.png"
278                input="QUAD,TRIA"
279                dim="3"/>
280
281     <algorithm type="RadialPrism_3D"
282                label-id="Radial Prism 3D"
283                icon-id="mesh_algo_hexa.png"
284                hypos="NumberOfLayers, LayerDistribution"
285                input="QUAD,TRIA"
286                dim="3"/>
287
288     <algorithm type="UseExisting_1D"
289                label-id="Use existing edges"
290                icon-id="mesh_algo_regular.png"
291                input="VERTEX"
292                output="EDGE"
293                dim="1"/>
294
295     <algorithm type="UseExisting_2D"
296                label-id="Use existing faces"
297                icon-id="mesh_algo_quad.png"
298                input="EDGE"
299                output="QUAD,TRIA"
300                dim="2"/>
301
302     <algorithm type="RadialQuadrangle_1D2D"
303                label-id="Radial quadrangle 1D2D"
304                icon-id="mesh_algo_quad.png"
305                hypos="NumberOfLayers2D, LayerDistribution2D"
306                input="EDGE"
307                output="QUAD,TRIA"
308                dim="2"/>
309
310   </algorithms>
311 </meshers-group>
312
313 <meshers-group name="Your Meshers Group"
314                resources=""
315                server-lib=""
316                gui-lib="">
317   <hypotheses>
318
319     <hypothesis type=""
320                 label-id=""
321                 icon-id=""/>
322   </hypotheses>
323
324   <algorithms>
325
326     <algorithm type=""
327                label-id=""
328                icon-id=""/>
329   </algorithms>
330 </meshers-group>
331
332
333 <hypotheses-set-group>
334
335     <hypotheses-set name="Automatic Tetrahedralization"
336                     hypos="MaxLength"
337                     algos="Regular_1D, MEFISTO_2D, NETGEN_3D"/>
338
339     <hypotheses-set name="Automatic Hexahedralization"
340                     hypos="NumberOfSegments"
341                     algos="Regular_1D, Quadrangle_2D, Hexa_3D"/>
342
343     <hypotheses-set name="Automatic Triangulation"
344                     hypos="MaxLength"
345                     algos="Regular_1D, MEFISTO_2D"/>
346
347     <hypotheses-set name="Automatic Quadrangulation"
348                     hypos="NumberOfSegments"
349                     algos="Regular_1D, Quadrangle_2D"/>
350
351 </hypotheses-set-group>
352
353 </meshers>