From e54e144359430e3d11427bf1157b69f706330457 Mon Sep 17 00:00:00 2001 From: gdd Date: Tue, 19 Apr 2011 14:59:24 +0000 Subject: [PATCH] rnc: added method SetAttractorGeom and documented it --- src/SMESH_SWIG/smeshDC.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/SMESH_SWIG/smeshDC.py b/src/SMESH_SWIG/smeshDC.py index 1c379ff00..eb01f5861 100644 --- a/src/SMESH_SWIG/smeshDC.py +++ b/src/SMESH_SWIG/smeshDC.py @@ -5029,6 +5029,18 @@ class Mesh_Triangle(Mesh_Algorithm): # Parameter of BLSURF algo self.Parameters().SetOptionValue(optionName,level) + ## Sets an attractor on the chosen face. The mesh size will decrease exponentially with the distance from theAttractor, following the rule h(d) = theEndSize - (theEndSize - theStartSize) * exp [ - ( d / theInfluenceDistance ) ^ 2 ] + # @param theFace : face on which the attractor will be defined + # @param theAttractor : geometrical object frome which the mesh size "h" decrease exponentially + # @param theStartSize : mesh size on theAttractor + # @param theEndSize : maximum size that will be reached on theFace + # @param theInfluenceDistance : influence of the attractor ( the size grow slower on theFace if it's high) + # @param theConstantSizeDistance : distance until which the mesh size will be kept constant on theFace + # @ingroup l3_hypos_blsurf + def SetAttractorGeom(self, theFace, theAttractor, theStartSize, theEndSize, theInfluenceDistance, theConstantSizeDistance): + # Parameter of BLSURF algo + self.Parameters().SetAttractorGeom(otheFace, theAttractor, theStartSize, theEndSize, theInfluenceDistance, theConstantSizeDistance) + ## Sets QuadAllowed flag. # Only for algoType == NETGEN(NETGEN_1D2D) || NETGEN_2D || BLSURF # @ingroup l3_hypos_netgen l3_hypos_blsurf -- 2.30.2