0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
Describe methods wrapping algorithms and hypotheses into python
This commit is contained in:
parent
4349d5586e
commit
f4f7958614
@ -66,7 +66,15 @@
|
||||
opt-hypos="ViscousLayers"
|
||||
need-geom="false"
|
||||
input="TRIA,QUAD"
|
||||
dim="3"/>
|
||||
dim="3">
|
||||
<python-wrap>
|
||||
<algo>NETGEN_3D=Tetrahedron()</algo>
|
||||
<hypo>MaxElementVolume=MaxElementVolume(SetMaxElementVolume())</hypo>
|
||||
<hypo>NETGEN_Parameters_3D=Parameters()</hypo>
|
||||
<hypo>ViscousLayers=ViscousLayers(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreFaces())</hypo>
|
||||
</python-wrap>
|
||||
</algorithm>
|
||||
|
||||
<algorithm type="NETGEN_2D_ONLY"
|
||||
label-id="Netgen 2D"
|
||||
icon-id="mesh_algo_netgen_2d.png"
|
||||
@ -74,22 +82,43 @@
|
||||
opt-hypos="QuadranglePreference"
|
||||
input="EDGE"
|
||||
output="TRIA,QUAD"
|
||||
dim="2"/>
|
||||
dim="2">
|
||||
<python-wrap>
|
||||
<algo>NETGEN_2D_ONLY=Triangle(algo=smesh.NETGEN_2D)</algo>
|
||||
<hypo>LengthFromEdges=LengthFromEdges()</hypo>
|
||||
<hypo>MaxElementArea=MaxElementArea(SetMaxElementArea())</hypo>
|
||||
<hypo>NETGEN_Parameters_2D_ONLY=Parameters()</hypo>
|
||||
<hypo>QuadranglePreference=SetQuadAllowed()</hypo>
|
||||
</python-wrap>
|
||||
</algorithm>
|
||||
|
||||
<algorithm type="NETGEN_2D"
|
||||
label-id="Netgen 1D-2D"
|
||||
icon-id="mesh_algo_netgen_2d.png"
|
||||
hypos="NETGEN_Parameters_2D, NETGEN_SimpleParameters_2D"
|
||||
output="TRIA,QUAD"
|
||||
dim="2"
|
||||
support-submeshes="true"
|
||||
/>
|
||||
support-submeshes="true">
|
||||
<python-wrap>
|
||||
<algo>NETGEN_2D=Triangle(algo=smesh.NETGEN_1D2D)</algo>
|
||||
<hypo>NETGEN_Parameters_2D=Parameters()</hypo>
|
||||
<hypo>NETGEN_SimpleParameters_2D=Parameters(smesh.SIMPLE)</hypo>
|
||||
</python-wrap>
|
||||
</algorithm>
|
||||
|
||||
<algorithm type="NETGEN_2D3D"
|
||||
label-id="Netgen 1D-2D-3D"
|
||||
icon-id="mesh_algo_netgen_2d3d.png"
|
||||
hypos="NETGEN_Parameters, NETGEN_SimpleParameters_3D"
|
||||
dim="3"
|
||||
support-submeshes="true"
|
||||
/>
|
||||
support-submeshes="true">
|
||||
<python-wrap>
|
||||
<algo>NETGEN_2D3D=Tetrahedron(algo=smesh.NETGEN_1D2D3D)</algo>
|
||||
<hypo>NETGEN_Parameters=Parameters()</hypo>
|
||||
<hypo>NETGEN_SimpleParameters_3D=Parameters(smesh.SIMPLE)</hypo>
|
||||
</python-wrap>
|
||||
</algorithm>
|
||||
|
||||
</algorithms>
|
||||
</meshers-group>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user