From f4f7958614e5c255977e8e94f9da22e57fa36ccc Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 7 Mar 2012 15:17:44 +0000 Subject: [PATCH] 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module Describe methods wrapping algorithms and hypotheses into python --- resources/NETGENPlugin.xml | 41 ++++++++++++++++++++++++++++++++------ 1 file changed, 35 insertions(+), 6 deletions(-) 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) + + + -- 2.39.2