mymesh.improvement.GeoTransformSmoothing#

mymesh.improvement.GeoTransformSmoothing(M, sigma_min=None, sigma_max=None, eta=None, rho=None, qualityThreshold=0.2, options={})[source]#

Geometric element transformation method for tetrahedral mesh smoothing [VWS09].

Parameters:
  • M (mymesh.mesh) – Mesh object to smooth. Must be a purely tetrahedral mesh.

  • sigma_min (_type_, optional) – _description_, by default None

  • sigma_max (_type_, optional) – _description_, by default None

  • eta (_type_, optional) – _description_, by default None

  • rho (_type_, optional) – _description_, by default None

  • qualityThreshold (float, optional) – _description_, by default .2

  • options (_type_, optional) – _description_, by default dict()

Returns:

Mnew – Mesh object with the new node locations.

Return type:

mymesh.mesh