From: eap Date: Wed, 7 Mar 2012 15:17:44 +0000 (+0000) Subject: 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH... X-Git-Tag: V6_5_0a1~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f4f7958614e5c255977e8e94f9da22e57fa36ccc;p=plugins%2Fnetgenplugin.git 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module Describe methods wrapping algorithms and hypotheses into python --- diff --git a/resources/NETGENPlugin.xml b/resources/NETGENPlugin.xml index 8469e45..e4e4fe8 100644 --- a/resources/NETGENPlugin.xml +++ b/resources/NETGENPlugin.xml @@ -66,7 +66,15 @@ opt-hypos="ViscousLayers" need-geom="false" input="TRIA,QUAD" - dim="3"/> + dim="3"> + + NETGEN_3D=Tetrahedron() + MaxElementVolume=MaxElementVolume(SetMaxElementVolume()) + NETGEN_Parameters_3D=Parameters() + ViscousLayers=ViscousLayers(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreFaces()) + + + + dim="2"> + + NETGEN_2D_ONLY=Triangle(algo=smesh.NETGEN_2D) + LengthFromEdges=LengthFromEdges() + MaxElementArea=MaxElementArea(SetMaxElementArea()) + NETGEN_Parameters_2D_ONLY=Parameters() + QuadranglePreference=SetQuadAllowed() + + + + support-submeshes="true"> + + NETGEN_2D=Triangle(algo=smesh.NETGEN_1D2D) + NETGEN_Parameters_2D=Parameters() + NETGEN_SimpleParameters_2D=Parameters(smesh.SIMPLE) + + + + support-submeshes="true"> + + NETGEN_2D3D=Tetrahedron(algo=smesh.NETGEN_1D2D3D) + NETGEN_Parameters=Parameters() + NETGEN_SimpleParameters_3D=Parameters(smesh.SIMPLE) + + +