Version: 6.5.0
Home
 All Data Structures Namespaces Files Functions Variables Groups
Functions
Smoothing
Modifying meshes

Functions

def Smooth
 Smoothes elements.
def SmoothObject
 Smoothes elements which belong to the given object.
def SmoothParametric
 Parametrically smoothes the given elements.
def SmoothParametricObject
 Parametrically smoothes the elements which belong to the given object.

Detailed Description

Function Documentation

def Smooth (   self,
  IDsOfElements,
  IDsOfFixedNodes,
  MaxNbOfIterations,
  MaxAspectRatio,
  Method 
)

Smoothes elements.

Parameters
IDsOfElementsthe list if ids of elements to smooth
IDsOfFixedNodesthe list of ids of fixed nodes. Note that nodes built on edges and boundary nodes are always fixed.
MaxNbOfIterationsthe maximum number of iterations
MaxAspectRatiovaries in range [1.0, inf]
Methodis Laplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH)
Returns
TRUE in case of success, FALSE otherwise.

References Mesh.GetElementsId(), smesh.ParseParameters(), and Mesh.SmoothObject().

def SmoothObject (   self,
  theObject,
  IDsOfFixedNodes,
  MaxNbOfIterations,
  MaxAspectRatio,
  Method 
)

Smoothes elements which belong to the given object.

Parameters
theObjectthe object to smooth
IDsOfFixedNodesthe list of ids of fixed nodes. Note that nodes built on edges and boundary nodes are always fixed.
MaxNbOfIterationsthe maximum number of iterations
MaxAspectRatiovaries in range [1.0, inf]
Methodis Laplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH)
Returns
TRUE in case of success, FALSE otherwise.

References Mesh.SmoothParametric().

def SmoothParametric (   self,
  IDsOfElements,
  IDsOfFixedNodes,
  MaxNbOfIterations,
  MaxAspectRatio,
  Method 
)

Parametrically smoothes the given elements.

Parameters
IDsOfElementsthe list if ids of elements to smooth
IDsOfFixedNodesthe list of ids of fixed nodes. Note that nodes built on edges and boundary nodes are always fixed.
MaxNbOfIterationsthe maximum number of iterations
MaxAspectRatiovaries in range [1.0, inf]
Methodis Laplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH)
Returns
TRUE in case of success, FALSE otherwise.

References Mesh.GetElementsId(), smesh.ParseParameters(), and Mesh.SmoothParametricObject().

def SmoothParametricObject (   self,
  theObject,
  IDsOfFixedNodes,
  MaxNbOfIterations,
  MaxAspectRatio,
  Method 
)

Parametrically smoothes the elements which belong to the given object.

Parameters
theObjectthe object to smooth
IDsOfFixedNodesthe list of ids of fixed nodes. Note that nodes built on edges and boundary nodes are always fixed.
MaxNbOfIterationsthe maximum number of iterations
MaxAspectRatiovaries in range [1.0, inf]
MethodLaplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH)
Returns
TRUE in case of success, FALSE otherwise.
Copyright © 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS