Version: 8.3.0
Home
 All Data Structures Namespaces Files Functions Variables Groups

Functions

def Smooth
 Smooth elements. More...
 
def SmoothObject
 Smooth elements which belong to the given object. More...
 
def SmoothParametric
 Parametrically smooth the given elements. More...
 
def SmoothParametricObject
 Parametrically smooth the elements which belong to the given object. More...
 

Detailed Description

Function Documentation

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

Smooth 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 either Laplacian (smesh.LAPLACIAN_SMOOTH) or Centroidal (smesh.CENTROIDAL_SMOOTH)
Returns
TRUE in case of success, FALSE otherwise.

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

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

Smooth 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 either Laplacian (smesh.LAPLACIAN_SMOOTH) or Centroidal (smesh.CENTROIDAL_SMOOTH)
Returns
TRUE in case of success, FALSE otherwise.

References Mesh.SmoothParametric().

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

Parametrically smooth 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 either Laplacian (smesh.LAPLACIAN_SMOOTH) or Centroidal (smesh.CENTROIDAL_SMOOTH)
Returns
TRUE in case of success, FALSE otherwise.

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

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

Parametrically smooth 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]
Methodis either Laplacian (smesh.LAPLACIAN_SMOOTH) or Centroidal (smesh.CENTROIDAL_SMOOTH)
Returns
TRUE in case of success, FALSE otherwise.