1 <?xml version='1.0' encoding='us-ascii'?>
2 <!DOCTYPE meshers PUBLIC "" "desktop.dtd">
4 Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
6 Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
7 CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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, or (at your option) any later version.
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.
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
23 See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
27 <!-- GUI customization for MESH component -->
31 <meshers-group name ="NETGEN"
32 resources ="NETGENPlugin"
33 idl-module="NETGENPlugin"
34 server-lib="NETGENEngine"
35 gui-lib ="NETGENPluginGUI">
37 <hypothesis type ="NETGEN_Parameters"
38 label-id="NETGEN 3D Parameters"
39 icon-id ="mesh_hypo_netgen.png"
42 <accumulative-methods>
45 </accumulative-methods>
49 <hypothesis type ="NETGEN_Parameters_2D"
50 label-id="NETGEN 2D Parameters"
51 icon-id ="mesh_hypo_netgen_2d.png"
54 <accumulative-methods>
57 </accumulative-methods>
61 <hypothesis type ="NETGEN_Parameters_3D"
62 label-id="NETGEN 3D Parameters"
63 icon-id ="mesh_hypo_netgen.png"
66 <accumulative-methods>
69 </accumulative-methods>
73 <hypothesis type ="NETGEN_Parameters_2D_ONLY"
74 label-id="NETGEN 2D Parameters"
75 icon-id ="mesh_hypo_netgen_2d.png"
78 <accumulative-methods>
81 </accumulative-methods>
85 <hypothesis type ="NETGEN_RemesherParameters_2D"
86 label-id="NETGEN 2D Parameters"
87 icon-id ="mesh_hypo_netgen_2d.png"
90 <hypothesis type ="NETGEN_SimpleParameters_2D"
91 label-id="NETGEN 2D Simple Parameters"
92 icon-id ="mesh_hypo_netgen_2d.png"
95 <hypothesis type ="NETGEN_SimpleParameters_3D"
96 label-id="NETGEN 3D Simple Parameters"
97 icon-id ="mesh_hypo_netgen.png"
102 <algorithm type ="NETGEN_3D"
103 label-id ="NETGEN 3D"
104 icon-id ="mesh_algo_tetra.png"
107 hypos ="MaxElementVolume,NETGEN_Parameters_3D"
108 opt-hypos="ViscousLayers"
111 output ="TETRA,PYRAMID"
114 <algo>NETGEN_3D=Tetrahedron()</algo>
115 <hypo>MaxElementVolume=MaxElementVolume(SetMaxElementVolume())</hypo>
116 <hypo>NETGEN_Parameters_3D=Parameters()</hypo>
117 <hypo>ViscousLayers=ViscousLayers(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetFaces(1),SetFaces(2),SetMethod())</hypo>
121 <algorithm type ="NETGEN_2D_ONLY"
122 label-id ="NETGEN 2D"
123 icon-id ="mesh_algo_netgen_2d.png"
126 hypos ="LengthFromEdges,MaxElementArea,NETGEN_Parameters_2D_ONLY"
127 opt-hypos="QuadranglePreference,ViscousLayers2D"
132 <algo>NETGEN_2D_ONLY=Triangle(algo=smeshBuilder.NETGEN_2D)</algo>
133 <hypo>LengthFromEdges=LengthFromEdges()</hypo>
134 <hypo>MaxElementArea=MaxElementArea(SetMaxElementArea())</hypo>
135 <hypo>NETGEN_Parameters_2D_ONLY=Parameters()</hypo>
136 <hypo>QuadranglePreference=SetQuadAllowed()</hypo>
137 <hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreEdges())</hypo>
141 <algorithm type ="NETGEN_2D"
142 label-id ="NETGEN 1D-2D"
143 icon-id ="mesh_algo_netgen_2d.png"
146 hypos ="NETGEN_Parameters_2D, NETGEN_SimpleParameters_2D"
147 opt-hypos ="ViscousLayers2D"
150 support-submeshes="true">
152 <algo>NETGEN_2D=Triangle(algo=smeshBuilder.NETGEN_1D2D)</algo>
153 <hypo>NETGEN_Parameters_2D=Parameters()</hypo>
154 <hypo>NETGEN_SimpleParameters_2D=Parameters(smeshBuilder.SIMPLE)</hypo>
155 <hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreEdges())</hypo>
159 <algorithm type ="NETGEN_2D3D"
160 label-id ="NETGEN 1D-2D-3D"
161 icon-id ="mesh_algo_netgen_2d3d.png"
164 hypos ="NETGEN_Parameters, NETGEN_SimpleParameters_3D"
165 opt-hypos ="ViscousLayers"
166 output ="TETRA,PYRAMID"
168 support-submeshes="true">
170 <algo>NETGEN_2D3D=Tetrahedron(algo=smeshBuilder.NETGEN_1D2D3D)</algo>
171 <hypo>NETGEN_Parameters=Parameters()</hypo>
172 <hypo>NETGEN_SimpleParameters_3D=Parameters(smeshBuilder.SIMPLE)</hypo>
173 <hypo>ViscousLayers=ViscousLayers(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetFaces(1),SetFaces(2),SetMethod())</hypo>
177 <algorithm type ="NETGEN_Remesher_2D"
178 label-id ="NETGEN 2D"
179 icon-id ="mesh_algo_netgen_2d.png"
180 opt-hypos ="NETGEN_RemesherParameters_2D"
185 <algo>NETGEN_Remesher_2D=Triangle(algo=smeshBuilder.NETGEN)</algo>
186 <hypo>NETGEN_RemesherParameters_2D=Parameters()</hypo>
193 <hypotheses-set-group>
195 <hypotheses-set name ="Automatic Tetrahedralization"
196 hypos="NETGEN_Parameters"
197 algos="NETGEN_2D3D"/>
199 <hypotheses-set name ="Automatic Triangulation"
200 hypos="NETGEN_Parameters_2D"
203 </hypotheses-set-group>