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