Salome HOME
0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
[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     <hypothesis type="CartesianParameters3D"
178                 label-id="Body Fitting Parameters"
179                 icon-id="mesh_hypo_length.png"
180                 dim="3"/>
181
182   </hypotheses>
183
184   <algorithms>
185
186     <algorithm type="SegmentAroundVertex_0D"
187                label-id="Segments around vertex"
188                icon-id="mesh_algo_regular.png"
189                hypos="SegmentLengthAroundVertex"
190                output="VERTEX"
191                dim="0"/>
192
193     <algorithm type="Regular_1D"
194                label-id="Wire discretisation"
195                icon-id="mesh_algo_regular.png"
196                hypos="LocalLength,MaxLength,Arithmetic1D,StartEndLength,NumberOfSegments,Deflection1D,AutomaticLength,FixedPoints1D"
197                opt-hypos="Propagation,QuadraticMesh"
198                input="VERTEX"
199                output="EDGE"
200                dim="1"/>
201
202     <algorithm type="CompositeSegment_1D"
203                label-id="Composite side discretisation"
204                icon-id="mesh_algo_regular.png"
205                hypos="LocalLength,MaxLength,Arithmetic1D,StartEndLength,NumberOfSegments,Deflection1D,AutomaticLength,FixedPoints1D"
206                opt-hypos="Propagation,QuadraticMesh"
207                input="VERTEX"
208                output="EDGE"
209                dim="1"/>
210
211     <algorithm type="MEFISTO_2D"
212                label-id="Triangle (Mefisto)"
213                icon-id="mesh_algo_mefisto.png"
214                hypos="LengthFromEdges,MaxElementArea"
215                input="EDGE"
216                output="TRIA"
217                dim="2"/>
218
219     <algorithm type="Quadrangle_2D"
220                label-id="Quadrangle (Mapping)"
221                icon-id="mesh_algo_quad.png"
222                hypos="QuadrangleParams"
223                input="EDGE"
224                output="QUAD"
225                dim="2"/>
226
227     <algorithm type="Hexa_3D"
228                label-id="Hexahedron (i,j,k)"
229                icon-id="mesh_algo_hexa.png"
230                input="QUAD"
231                need-geom="false"
232                opt-hypos="ViscousLayers"
233                dim="3"/>
234
235     <algorithm type="Projection_1D"
236                label-id="Projection 1D"
237                icon-id="mesh_algo_regular.png"
238                hypos="ProjectionSource1D"
239                output="EDGE"
240                dim="1"/>
241
242     <algorithm type="Projection_2D"
243                label-id="Projection 2D"
244                icon-id="mesh_algo_quad.png"
245                input="EDGE"
246                hypos="ProjectionSource2D"
247                output="QUAD,TRIA"
248                dim="2"/>
249
250     <algorithm type="Projection_1D2D"
251                label-id="Projection 1D-2D"
252                icon-id="mesh_algo_quad.png"
253                input=""
254                hypos="ProjectionSource2D"
255                output="QUAD,TRIA"
256                dim="2"/>
257
258     <algorithm type="Projection_3D"
259                label-id="Projection 3D"
260                icon-id="mesh_algo_hexa.png"
261                hypos="ProjectionSource3D"
262                input="QUAD,TRIA"
263                dim="3"/>
264
265     <algorithm type="Import_1D"
266                label-id="Use existing 1D elements"
267                icon-id="mesh_algo_regular.png"
268                hypos="ImportSource1D"
269                output="EDGE"
270                dim="1"/>
271
272     <algorithm type="Import_1D2D"
273                label-id="Use existing 2D elements"
274                icon-id="mesh_algo_quad.png"
275                hypos="ImportSource2D"
276                output="QUAD,TRIA"
277                support-submeshes="false"
278                dim="2"/>
279
280     <algorithm type="Prism_3D"
281                label-id="3D extrusion"
282                icon-id="mesh_algo_hexa.png"
283                input="QUAD,TRIA"
284                dim="3"/>
285
286     <algorithm type="RadialPrism_3D"
287                label-id="Radial Prism 3D"
288                icon-id="mesh_algo_hexa.png"
289                hypos="NumberOfLayers, LayerDistribution"
290                input="QUAD,TRIA"
291                dim="3"/>
292
293     <algorithm type="UseExisting_1D"
294                label-id="Use existing edges"
295                icon-id="mesh_algo_regular.png"
296                input="VERTEX"
297                output="EDGE"
298                dim="1"/>
299
300     <algorithm type="UseExisting_2D"
301                label-id="Use existing faces"
302                icon-id="mesh_algo_quad.png"
303                input="EDGE"
304                output="QUAD,TRIA"
305                dim="2"/>
306
307     <algorithm type="RadialQuadrangle_1D2D"
308                label-id="Radial quadrangle 1D2D"
309                icon-id="mesh_algo_quad.png"
310                hypos="NumberOfLayers2D, LayerDistribution2D"
311                input="EDGE"
312                output="QUAD,TRIA"
313                dim="2"/>
314
315     <algorithm type="Cartesian_3D"
316                label-id="Body Fitting"
317                icon-id="mesh_algo_hexa.png"
318                hypos="CartesianParameters3D"
319                support-submeshes="false"
320                dim="3"/>
321
322   </algorithms>
323 </meshers-group>
324
325 <meshers-group name="Your Meshers Group"
326                resources=""
327                server-lib=""
328                gui-lib="">
329   <hypotheses>
330
331     <hypothesis type=""
332                 label-id=""
333                 icon-id=""/>
334   </hypotheses>
335
336   <algorithms>
337
338     <algorithm type=""
339                label-id=""
340                icon-id=""/>
341   </algorithms>
342 </meshers-group>
343
344
345 <hypotheses-set-group>
346
347     <hypotheses-set name="Automatic Tetrahedralization"
348                     hypos="MaxLength"
349                     algos="Regular_1D, MEFISTO_2D, NETGEN_3D"/>
350
351     <hypotheses-set name="Automatic Hexahedralization"
352                     hypos="NumberOfSegments"
353                     algos="Regular_1D, Quadrangle_2D, Hexa_3D"/>
354
355     <hypotheses-set name="Automatic Triangulation"
356                     hypos="MaxLength"
357                     algos="Regular_1D, MEFISTO_2D"/>
358
359     <hypotheses-set name="Automatic Quadrangulation"
360                     hypos="NumberOfSegments"
361                     algos="Regular_1D, Quadrangle_2D"/>
362
363 </hypotheses-set-group>
364
365 </meshers>