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. |
def Smooth | ( | self, | |
IDsOfElements, | |||
IDsOfFixedNodes, | |||
MaxNbOfIterations, | |||
MaxAspectRatio, | |||
Method | |||
) |
Smoothes elements.
IDsOfElements | the list if ids of elements to smooth |
IDsOfFixedNodes | the list of ids of fixed nodes. Note that nodes built on edges and boundary nodes are always fixed. |
MaxNbOfIterations | the maximum number of iterations |
MaxAspectRatio | varies in range [1.0, inf] |
Method | is Laplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH) |
References Mesh.GetElementsId(), smesh.ParseParameters(), and Mesh.SmoothObject().
def SmoothObject | ( | self, | |
theObject, | |||
IDsOfFixedNodes, | |||
MaxNbOfIterations, | |||
MaxAspectRatio, | |||
Method | |||
) |
Smoothes elements which belong to the given object.
theObject | the object to smooth |
IDsOfFixedNodes | the list of ids of fixed nodes. Note that nodes built on edges and boundary nodes are always fixed. |
MaxNbOfIterations | the maximum number of iterations |
MaxAspectRatio | varies in range [1.0, inf] |
Method | is Laplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH) |
References Mesh.SmoothParametric().
def SmoothParametric | ( | self, | |
IDsOfElements, | |||
IDsOfFixedNodes, | |||
MaxNbOfIterations, | |||
MaxAspectRatio, | |||
Method | |||
) |
Parametrically smoothes the given elements.
IDsOfElements | the list if ids of elements to smooth |
IDsOfFixedNodes | the list of ids of fixed nodes. Note that nodes built on edges and boundary nodes are always fixed. |
MaxNbOfIterations | the maximum number of iterations |
MaxAspectRatio | varies in range [1.0, inf] |
Method | is Laplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH) |
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.
theObject | the object to smooth |
IDsOfFixedNodes | the list of ids of fixed nodes. Note that nodes built on edges and boundary nodes are always fixed. |
MaxNbOfIterations | the maximum number of iterations |
MaxAspectRatio | varies in range [1.0, inf] |
Method | Laplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH) |