Salome HOME
updated copyright message
[plugins/netgenplugin.git] / resources / NETGENPlugin.xml
1 <?xml version='1.0' encoding='us-ascii'?>
2 <!DOCTYPE meshers PUBLIC "" "desktop.dtd">
3
4 <meshers>
5
6 <meshers-group name      ="NETGEN"
7                resources ="NETGENPlugin"
8                idl-module="NETGENPlugin"
9                server-lib="NETGENEngine"
10                gui-lib   ="NETGENPluginGUI">
11   <hypotheses>
12     <hypothesis type    ="NETGEN_Parameters"
13                 label-id="NETGEN 3D Parameters"
14                 icon-id ="mesh_hypo_netgen.png"
15                 dim     ="3">
16       <python-wrap>
17         <accumulative-methods>
18           SetLocalSizeOnShape,
19           UnsetLocalSizeOnEntry
20         </accumulative-methods>
21       </python-wrap>
22     </hypothesis>
23
24     <hypothesis type    ="NETGEN_Parameters_2D"
25                 label-id="NETGEN 2D Parameters"
26                 icon-id ="mesh_hypo_netgen_2d.png"
27                 dim     ="2">
28       <python-wrap>
29         <accumulative-methods>
30           SetLocalSizeOnShape,
31           UnsetLocalSizeOnEntry
32         </accumulative-methods>
33       </python-wrap>
34     </hypothesis>
35
36     <hypothesis type    ="NETGEN_Parameters_3D"
37                 label-id="NETGEN 3D Parameters"
38                 icon-id ="mesh_hypo_netgen.png"
39                 dim     ="3">
40       <python-wrap>
41         <accumulative-methods>
42           SetLocalSizeOnShape,
43           UnsetLocalSizeOnEntry
44         </accumulative-methods>
45       </python-wrap>
46     </hypothesis>
47
48     <hypothesis type    ="NETGEN_Parameters_2D_ONLY"
49                 label-id="NETGEN 2D Parameters"
50                 icon-id ="mesh_hypo_netgen_2d.png"
51                 dim     ="2">
52       <python-wrap>
53         <accumulative-methods>
54           SetLocalSizeOnShape,
55           UnsetLocalSizeOnEntry
56         </accumulative-methods>
57       </python-wrap>
58     </hypothesis>
59
60     <hypothesis type    ="NETGEN_RemesherParameters_2D"
61                 label-id="NETGEN 2D Parameters"
62                 icon-id ="mesh_hypo_netgen_2d.png"
63                 dim     ="2"/>
64
65     <hypothesis type    ="NETGEN_SimpleParameters_2D"
66                 label-id="NETGEN 2D Simple Parameters"
67                 icon-id ="mesh_hypo_netgen_2d.png"
68                 dim     ="2"/>
69
70     <hypothesis type    ="NETGEN_SimpleParameters_3D"
71                 label-id="NETGEN 3D Simple Parameters"
72                 icon-id ="mesh_hypo_netgen.png"
73                 dim     ="3"/>
74   </hypotheses>
75
76   <algorithms>
77     <algorithm type     ="NETGEN_3D"
78                label-id ="NETGEN 3D"
79                icon-id  ="mesh_algo_tetra.png"
80                group-id ="1"
81                priority ="20"
82                hypos    ="MaxElementVolume,NETGEN_Parameters_3D"
83                opt-hypos="ViscousLayers"
84                need-geom="false"
85                input    ="TRIA,QUAD"
86                output   ="TETRA,PYRAMID"
87                dim      ="3">
88       <python-wrap>
89         <algo>NETGEN_3D=Tetrahedron()</algo>
90         <hypo>MaxElementVolume=MaxElementVolume(SetMaxElementVolume())</hypo>
91         <hypo>NETGEN_Parameters_3D=Parameters()</hypo>
92         <hypo>ViscousLayers=ViscousLayers(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetFaces(1),SetFaces(2),SetMethod(),SetGroupName())</hypo>
93       </python-wrap>
94     </algorithm>
95
96     <algorithm type     ="NETGEN_2D_ONLY"
97                label-id ="NETGEN 2D"
98                icon-id  ="mesh_algo_netgen_2d.png"
99                group-id ="1"
100                priority ="20"
101                hypos    ="LengthFromEdges,MaxElementArea,NETGEN_Parameters_2D_ONLY"
102                opt-hypos="QuadranglePreference,ViscousLayers2D"
103                input    ="EDGE"
104                output   ="TRIA,QUAD"
105                dim      ="2">
106        <python-wrap>
107         <algo>NETGEN_2D_ONLY=Triangle(algo=smeshBuilder.NETGEN_2D)</algo>
108         <hypo>LengthFromEdges=LengthFromEdges()</hypo>
109         <hypo>MaxElementArea=MaxElementArea(SetMaxElementArea())</hypo>
110         <hypo>NETGEN_Parameters_2D_ONLY=Parameters()</hypo>
111         <hypo>QuadranglePreference=SetQuadAllowed()</hypo>
112         <hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetEdges(1),SetEdges(2),SetGroupName())</hypo>
113       </python-wrap>
114     </algorithm>
115
116     <algorithm type             ="NETGEN_2D"
117                label-id         ="NETGEN 1D-2D"
118                icon-id          ="mesh_algo_netgen_2d.png"
119                group-id         ="1"
120                priority         ="10"
121                hypos            ="NETGEN_Parameters_2D, NETGEN_SimpleParameters_2D"
122                opt-hypos        ="ViscousLayers2D"
123                output           ="TRIA,QUAD"
124                dim              ="2"
125                support-submeshes="true">
126       <python-wrap>
127         <algo>NETGEN_2D=Triangle(algo=smeshBuilder.NETGEN_1D2D)</algo>
128         <hypo>NETGEN_Parameters_2D=Parameters()</hypo>
129         <hypo>NETGEN_SimpleParameters_2D=Parameters(smeshBuilder.SIMPLE)</hypo>
130         <hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetEdges(1),SetEdges(2),SetGroupName())</hypo>
131       </python-wrap>
132     </algorithm>
133
134     <algorithm type             ="NETGEN_2D3D"
135                label-id         ="NETGEN 1D-2D-3D"
136                icon-id          ="mesh_algo_netgen_2d3d.png"
137                group-id         ="1"
138                priority         ="10"
139                hypos            ="NETGEN_Parameters, NETGEN_SimpleParameters_3D"
140                opt-hypos        ="ViscousLayers"
141                output           ="TETRA,PYRAMID"
142                dim              ="3"
143                support-submeshes="true">
144       <python-wrap>
145         <algo>NETGEN_2D3D=Tetrahedron(algo=smeshBuilder.NETGEN_1D2D3D)</algo>
146         <hypo>NETGEN_Parameters=Parameters()</hypo>
147         <hypo>NETGEN_SimpleParameters_3D=Parameters(smeshBuilder.SIMPLE)</hypo>
148         <hypo>ViscousLayers=ViscousLayers(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetFaces(1),SetFaces(2),SetMethod(),SetGroupName())</hypo>
149       </python-wrap>
150     </algorithm>
151
152     <algorithm type      ="NETGEN_Remesher_2D"
153                label-id  ="NETGEN 2D"
154                icon-id   ="mesh_algo_netgen_2d.png"
155                opt-hypos ="NETGEN_RemesherParameters_2D"
156                output    ="TRIA,QUAD"
157                need-geom ="never"
158                dim       ="2">
159       <python-wrap>
160         <algo>NETGEN_Remesher_2D=Triangle(algo=smeshBuilder.NETGEN)</algo>
161         <hypo>NETGEN_RemesherParameters_2D=Parameters()</hypo>
162       </python-wrap>
163     </algorithm>
164
165   </algorithms>
166 </meshers-group>
167 </meshers>