Salome HOME
Implementation of Quadrangle (Mapping) for faces built on 3 edges (0018911 from Mantis).
[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-2008  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="Average 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="StartEndLength"
58                 label-id="Start and End Length"
59                 icon-id="mesh_hypo_length.png"
60                 dim="1"/>
61
62     <hypothesis type="NumberOfSegments"
63                 label-id="Nb. Segments"
64                 icon-id="mesh_hypo_segment.png"
65                 dim="1"/>
66
67     <hypothesis type="Deflection1D"
68                 label-id="Deflection 1D"
69                 icon-id="mesh_hypo_length.png"
70                 dim="1"/>
71
72     <hypothesis type="Propagation"
73                 label-id="Propagation of 1D Hyp. on opposite edges"
74                 icon-id="mesh_hypo_length.png"
75                 dim="1"
76                 auxiliary="true"/>
77
78     <hypothesis type="AutomaticLength"
79                 label-id="Automatic length"
80                 icon-id="mesh_hypo_length.png"
81                 dim="1"/>
82
83     <hypothesis type="LengthFromEdges"
84                 label-id="Length From Edges (2D Hyp. for Triangulator)"
85                 icon-id="mesh_hypo_length.png"
86                 dim="2"/>
87
88     <hypothesis type="QuadranglePreference"
89                 label-id="Quadrangle Preference"
90                 icon-id="mesh_algo_quad.png"
91                 auxiliary="true"
92                 dim="2"/>
93
94     <hypothesis type="TrianglePreference"
95                 label-id="Triangle Preference"
96                 icon-id="mesh_algo_mefisto.png"
97                 auxiliary="true"
98                 dim="2"/>
99                 
100     <hypothesis type="QuadraticMesh"
101                 label-id="Quadratic Mesh"
102                 icon-id="mesh_algo_quad.png"
103                 dim="1"
104                 auxiliary="true"/>                
105
106     <hypothesis type="MaxElementArea"
107                 label-id="Max. Element Area"
108                 icon-id="mesh_hypo_area.png"
109                 dim="2"/>
110                 
111     <hypothesis type="NotConformAllowed"
112                 label-id="Not Conform Mesh Allowed"
113                 icon-id="mesh_hypo_length.png"
114                 dim="1,2,3"
115                 auxiliary="true"/>                
116
117     <hypothesis type="MaxElementVolume"
118                 label-id="Max. Element Volume"
119                 icon-id="mesh_hypo_volume.png"
120                 need-geom = "false"
121                 dim="3"/>
122
123     <hypothesis type="ProjectionSource3D"
124                 label-id="Source Shape 3D"
125                 icon-id="mesh_hypo_volume.png"
126                 dim="3"/>
127
128     <hypothesis type="ProjectionSource2D"
129                 label-id="Source Face"
130                 icon-id="mesh_hypo_area.png"
131                 dim="2"/>
132
133     <hypothesis type="ProjectionSource1D"
134                 label-id="Source Edge"
135                 icon-id="mesh_hypo_length.png"
136                 dim="1"/>
137
138     <hypothesis type="NumberOfLayers"
139                 label-id="Number of Layers"
140                 icon-id="mesh_hypo_length.png"
141                 dim="3"/>
142
143     <hypothesis type="LayerDistribution"
144                 label-id="Distribution of Layers"
145                 icon-id="mesh_hypo_length.png"
146                 dim="3"/>
147
148     <hypothesis type="QuadrangleParams"
149                 label-id="Quadrangle Parameters"
150                 icon-id="mesh_hypo_length.png"
151                 dim="2"/>
152
153   </hypotheses>
154
155   <algorithms>
156
157     <algorithm type="SegmentAroundVertex_0D"
158                label-id="Segments around vertex"
159                icon-id="mesh_algo_regular.png"
160                hypos="SegmentLengthAroundVertex"
161                output="VERTEX"
162                dim="0"/>
163
164     <algorithm type="Regular_1D"
165                label-id="Wire discretisation"
166                icon-id="mesh_algo_regular.png"
167                hypos="LocalLength,MaxLength,Arithmetic1D,StartEndLength,NumberOfSegments,Deflection1D,AutomaticLength"
168                opt-hypos="Propagation,QuadraticMesh"
169                input="VERTEX"
170                output="EDGE"
171                dim="1"/>
172
173     <algorithm type="CompositeSegment_1D"
174                label-id="Composite side discretisation"
175                icon-id="mesh_algo_regular.png"
176                hypos="LocalLength,MaxLength,Arithmetic1D,StartEndLength,NumberOfSegments,Deflection1D,AutomaticLength"
177                opt-hypos="Propagation,QuadraticMesh"
178                input="VERTEX"
179                output="EDGE"
180                dim="1"/>
181
182     <algorithm type="MEFISTO_2D"
183                label-id="Triangle (Mefisto)"
184                icon-id="mesh_algo_mefisto.png"
185                hypos="LengthFromEdges,MaxElementArea"
186                input="EDGE"
187                output="TRIA"
188                dim="2"/>
189
190     <algorithm type="Quadrangle_2D"
191                label-id="Quadrangle (Mapping)"
192                icon-id="mesh_algo_quad.png"
193                hypos="QuadrangleParams"
194                opt-hypos="QuadranglePreference,TrianglePreference"
195                input="EDGE"
196                output="QUAD"
197                dim="2"/>
198
199     <algorithm type="Hexa_3D"
200                label-id="Hexahedron (i,j,k)"
201                icon-id="mesh_algo_hexa.png"
202                input="QUAD"
203                dim="3"/>
204
205     <algorithm type="Projection_1D"
206                label-id="Projection 1D"
207                icon-id="mesh_algo_regular.png"
208                hypos="ProjectionSource1D"
209                output="EDGE"
210                dim="1"/>
211
212     <algorithm type="Projection_2D"
213                label-id="Projection 2D"
214                icon-id="mesh_algo_quad.png"
215                input="EDGE"
216                hypos="ProjectionSource2D"
217                output="QUAD,TRIA"
218                dim="2"/>
219
220     <algorithm type="Projection_3D"
221                label-id="Projection 3D"
222                icon-id="mesh_algo_hexa.png"
223                hypos="ProjectionSource3D"
224                input="QUAD,TRIA"
225                dim="3"/>
226
227     <algorithm type="Prism_3D"
228                label-id="3D extrusion"
229                icon-id="mesh_algo_hexa.png"
230                input="QUAD,TRIA"
231                dim="3"/>
232
233     <algorithm type="RadialPrism_3D"
234                label-id="Radial Prism 3D"
235                icon-id="mesh_algo_hexa.png"
236                hypos="NumberOfLayers, LayerDistribution"
237                input="QUAD,TRIA"
238                dim="3"/>
239
240     <algorithm type="UseExisting_1D"
241                label-id="Use existing edges"
242                icon-id="mesh_algo_regular.png"
243                input="VERTEX"
244                output="EDGE"
245                dim="1"/>
246
247     <algorithm type="UseExisting_2D"
248                label-id="Use existing faces"
249                icon-id="mesh_algo_quad.png"
250                input="EDGE"
251                output="QUAD,TRIA"
252                dim="2"/>
253
254   </algorithms>
255 </meshers-group>
256
257 <meshers-group name="Your Meshers Group"
258                resources=""
259                server-lib=""
260                gui-lib="">
261   <hypotheses>
262
263     <hypothesis type=""
264                 label-id=""
265                 icon-id=""/>
266   </hypotheses>
267
268   <algorithms>
269
270     <algorithm type=""
271                label-id=""
272                icon-id=""/>
273   </algorithms>
274 </meshers-group>
275
276
277 <hypotheses-set-group>
278
279     <hypotheses-set name="Automatic Tetrahedralization"
280                     hypos="MaxLength"
281                     algos="Regular_1D, MEFISTO_2D, NETGEN_3D"/>
282
283     <hypotheses-set name="Automatic Hexahedralization"
284                     hypos="NumberOfSegments"
285                     algos="Regular_1D, Quadrangle_2D, Hexa_3D"/>
286
287 </hypotheses-set-group>
288
289 </meshers>