Salome HOME
Merge from V5_1_main branch 24/11/2010
[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="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"
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                opt-hypos="QuadranglePreference,TrianglePreference"
219                input="EDGE"
220                output="QUAD"
221                dim="2"/>
222
223     <algorithm type="Hexa_3D"
224                label-id="Hexahedron (i,j,k)"
225                icon-id="mesh_algo_hexa.png"
226                input="QUAD"
227                need-geom="false"
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_3D"
246                label-id="Projection 3D"
247                icon-id="mesh_algo_hexa.png"
248                hypos="ProjectionSource3D"
249                input="QUAD,TRIA"
250                dim="3"/>
251
252     <algorithm type="Import_1D"
253                label-id="Use existing 1D elements"
254                icon-id="mesh_algo_regular.png"
255                hypos="ImportSource1D"
256                output="EDGE"
257                dim="1"/>
258
259     <algorithm type="Import_1D2D"
260                label-id="Use existing 2D elements"
261                icon-id="mesh_algo_quad.png"
262                hypos="ImportSource2D"
263                output="QUAD,TRIA"
264                support-submeshes="false"
265                dim="2"/>
266
267     <algorithm type="Prism_3D"
268                label-id="3D extrusion"
269                icon-id="mesh_algo_hexa.png"
270                input="QUAD,TRIA"
271                dim="3"/>
272
273     <algorithm type="RadialPrism_3D"
274                label-id="Radial Prism 3D"
275                icon-id="mesh_algo_hexa.png"
276                hypos="NumberOfLayers, LayerDistribution"
277                input="QUAD,TRIA"
278                dim="3"/>
279
280     <algorithm type="UseExisting_1D"
281                label-id="Use existing edges"
282                icon-id="mesh_algo_regular.png"
283                input="VERTEX"
284                output="EDGE"
285                dim="1"/>
286
287     <algorithm type="UseExisting_2D"
288                label-id="Use existing faces"
289                icon-id="mesh_algo_quad.png"
290                input="EDGE"
291                output="QUAD,TRIA"
292                dim="2"/>
293
294     <algorithm type="RadialQuadrangle_1D2D"
295                label-id="Radial quadrangle 1D2D"
296                icon-id="mesh_algo_quad.png"
297                hypos="NumberOfLayers2D, LayerDistribution2D"
298                input="EDGE"
299                output="QUAD,TRIA"
300                dim="2"/>
301
302   </algorithms>
303 </meshers-group>
304
305 <meshers-group name="Your Meshers Group"
306                resources=""
307                server-lib=""
308                gui-lib="">
309   <hypotheses>
310
311     <hypothesis type=""
312                 label-id=""
313                 icon-id=""/>
314   </hypotheses>
315
316   <algorithms>
317
318     <algorithm type=""
319                label-id=""
320                icon-id=""/>
321   </algorithms>
322 </meshers-group>
323
324
325 <hypotheses-set-group>
326
327     <hypotheses-set name="Automatic Tetrahedralization"
328                     hypos="MaxLength"
329                     algos="Regular_1D, MEFISTO_2D, NETGEN_3D"/>
330
331     <hypotheses-set name="Automatic Hexahedralization"
332                     hypos="NumberOfSegments"
333                     algos="Regular_1D, Quadrangle_2D, Hexa_3D"/>
334
335 </hypotheses-set-group>
336
337 </meshers>