Salome HOME
Bug 0020034: [CEA 282] crash in SALOME_Session_Server after SMESH computation.
[modules/smesh.git] / resources / StdMeshers.xml
1 <?xml version='1.0' encoding='us-ascii'?>
2 <!DOCTYPE meshers PUBLIC "" "desktop.dtd">
3
4 <!--  GUI customization for MESH component  -->
5
6 <meshers>
7
8 <meshers-group name="Standard Meshers"
9                resources="StdMeshers"
10                server-lib="StdMeshersEngine"
11                gui-lib="StdMeshersGUI">
12   <hypotheses>
13
14     <hypothesis type="SegmentLengthAroundVertex"
15                 label-id="Length Near Vertex"
16                 icon-id="mesh_hypo_length.png"
17                 dim="0"/>
18
19     <hypothesis type="LocalLength"
20                 label-id="Average length"
21                 icon-id="mesh_hypo_length.png"
22                 dim="1"/>
23
24     <hypothesis type="Arithmetic1D"
25                 label-id="Arithmetic 1D"
26                 icon-id="mesh_hypo_length.png"
27                 dim="1"/>
28
29     <hypothesis type="StartEndLength"
30                 label-id="Start and End Length"
31                 icon-id="mesh_hypo_length.png"
32                 dim="1"/>
33
34     <hypothesis type="NumberOfSegments"
35                 label-id="Nb. Segments"
36                 icon-id="mesh_hypo_segment.png"
37                 dim="1"/>
38
39     <hypothesis type="Deflection1D"
40                 label-id="Deflection 1D"
41                 icon-id="mesh_hypo_length.png"
42                 dim="1"/>
43
44     <hypothesis type="Propagation"
45                 label-id="Propagation of 1D Hyp. on opposite edges"
46                 icon-id="mesh_hypo_length.png"
47                 dim="1"
48                 auxiliary="true"/>
49
50     <hypothesis type="AutomaticLength"
51                 label-id="Automatic length"
52                 icon-id="mesh_hypo_length.png"
53                 dim="1"/>
54
55     <hypothesis type="LengthFromEdges"
56                 label-id="Length From Edges (2D Hyp. for Triangulator)"
57                 icon-id="mesh_hypo_length.png"
58                 dim="2"/>
59
60     <hypothesis type="QuadranglePreference"
61                 label-id="Quadrangle Preference"
62                 icon-id="mesh_algo_quad.png"
63                 auxiliary="true"
64                 dim="2"/>
65
66     <hypothesis type="TrianglePreference"
67                 label-id="Triangle Preference"
68                 icon-id="mesh_algo_mefisto.png"
69                 auxiliary="true"
70                 dim="2"/>
71                 
72     <hypothesis type="QuadraticMesh"
73                 label-id="Quadratic Mesh"
74                 icon-id="mesh_algo_quad.png"
75                 dim="1"
76                 auxiliary="true"/>                
77
78     <hypothesis type="MaxElementArea"
79                 label-id="Max. Element Area"
80                 icon-id="mesh_hypo_area.png"
81                 dim="2"/>
82                 
83     <hypothesis type="NotConformAllowed"
84                 label-id="Not Conform Mesh Allowed"
85                 icon-id="mesh_hypo_length.png"
86                 dim="1,2,3"
87                 auxiliary="true"/>                
88
89     <hypothesis type="MaxElementVolume"
90                 label-id="Max. Element Volume"
91                 icon-id="mesh_hypo_volume.png"
92                 need-geom = "false"
93                 dim="3"/>
94
95     <hypothesis type="ProjectionSource3D"
96                 label-id="Source Shape 3D"
97                 icon-id="mesh_hypo_volume.png"
98                 dim="3"/>
99
100     <hypothesis type="ProjectionSource2D"
101                 label-id="Source Face"
102                 icon-id="mesh_hypo_area.png"
103                 dim="2"/>
104
105     <hypothesis type="ProjectionSource1D"
106                 label-id="Source Edge"
107                 icon-id="mesh_hypo_length.png"
108                 dim="1"/>
109
110     <hypothesis type="NumberOfLayers"
111                 label-id="Number of Layers"
112                 icon-id="mesh_hypo_length.png"
113                 dim="3"/>
114
115     <hypothesis type="LayerDistribution"
116                 label-id="Distribution of Layers"
117                 icon-id="mesh_hypo_length.png"
118                 dim="3"/>
119   </hypotheses>
120
121   <algorithms>
122
123     <algorithm type="SegmentAroundVertex_0D"
124                label-id="Segments around vertex"
125                icon-id="mesh_algo_regular.png"
126                hypos="SegmentLengthAroundVertex"
127                output="VERTEX"
128                dim="0"/>
129
130     <algorithm type="Regular_1D"
131                label-id="Wire discretisation"
132                icon-id="mesh_algo_regular.png"
133                hypos="LocalLength,Arithmetic1D,StartEndLength,NumberOfSegments,Deflection1D,AutomaticLength"
134                opt-hypos="Propagation,QuadraticMesh"
135                input="VERTEX"
136                output="EDGE"
137                dim="1"/>
138
139     <algorithm type="CompositeSegment_1D"
140                label-id="Composite side discretisation"
141                icon-id="mesh_algo_regular.png"
142                hypos="LocalLength,Arithmetic1D,StartEndLength,NumberOfSegments,Deflection1D,AutomaticLength"
143                opt-hypos="Propagation,QuadraticMesh"
144                input="VERTEX"
145                output="EDGE"
146                dim="1"/>
147
148     <algorithm type="MEFISTO_2D"
149                label-id="Triangle (Mefisto)"
150                icon-id="mesh_algo_mefisto.png"
151                hypos="LengthFromEdges,MaxElementArea"
152                input="EDGE"
153                output="TRIA"
154                dim="2"/>
155
156     <algorithm type="Quadrangle_2D"
157                label-id="Quadrangle (Mapping)"
158                icon-id="mesh_algo_quad.png"
159                opt-hypos="QuadranglePreference,TrianglePreference"
160                input="EDGE"
161                output="QUAD"
162                dim="2"/>
163
164     <algorithm type="Hexa_3D"
165                label-id="Hexahedron (i,j,k)"
166                icon-id="mesh_algo_hexa.png"
167                input="QUAD"
168                dim="3"/>
169
170     <algorithm type="Projection_1D"
171                label-id="Projection 1D"
172                icon-id="mesh_algo_regular.png"
173                hypos="ProjectionSource1D"
174                output="EDGE"
175                dim="1"/>
176
177     <algorithm type="Projection_2D"
178                label-id="Projection 2D"
179                icon-id="mesh_algo_quad.png"
180                input="EDGE"
181                hypos="ProjectionSource2D"
182                output="QUAD,TRIA"
183                dim="2"/>
184
185     <algorithm type="Projection_3D"
186                label-id="Projection 3D"
187                icon-id="mesh_algo_hexa.png"
188                hypos="ProjectionSource3D"
189                input="QUAD,TRIA"
190                dim="3"/>
191
192     <algorithm type="Prism_3D"
193                label-id="3D extrusion"
194                icon-id="mesh_algo_hexa.png"
195                input="QUAD,TRIA"
196                dim="3"/>
197
198     <algorithm type="RadialPrism_3D"
199                label-id="Radial Prism 3D"
200                icon-id="mesh_algo_hexa.png"
201                hypos="NumberOfLayers, LayerDistribution"
202                input="QUAD,TRIA"
203                dim="3"/>
204
205     <algorithm type="UseExisting_1D"
206                label-id="Use existing edges"
207                icon-id="mesh_algo_regular.png"
208                input="VERTEX"
209                output="EDGE"
210                dim="1"/>
211
212     <algorithm type="UseExisting_2D"
213                label-id="Use existing faces"
214                icon-id="mesh_algo_quad.png"
215                input="EDGE"
216                output="QUAD,TRIA"
217                dim="2"/>
218
219   </algorithms>
220 </meshers-group>
221
222 <meshers-group name="Your Meshers Group"
223                resources=""
224                server-lib=""
225                gui-lib="">
226   <hypotheses>
227
228     <hypothesis type=""
229                 label-id=""
230                 icon-id=""/>
231   </hypotheses>
232
233   <algorithms>
234
235     <algorithm type=""
236                label-id=""
237                icon-id=""/>
238   </algorithms>
239 </meshers-group>
240
241
242 <hypotheses-set-group>
243
244     <hypotheses-set name="Automatic Tetrahedralization"
245                     hypos="AutomaticLength"
246                     algos="Regular_1D, MEFISTO_2D, NETGEN_3D"/>
247
248     <hypotheses-set name="Automatic Hexahedralization"
249                     hypos="AutomaticLength"
250                     algos="Regular_1D, Quadrangle_2D, Hexa_3D"/>
251
252 </hypotheses-set-group>
253
254 </meshers>