MeshMutator

class pymem3dg._core.MeshMutator

Settings for mesh mutator

Methods

MeshMutator.__init__(self)

Constructor of mesh mutator object

Attributes

MeshMutator.collapseFlat

Collapse flat edges

MeshMutator.collapseFlatScaleFactor

Collapse edge if it is shorter than this scale factor times the estimated optimal edge length given by curvTol.

MeshMutator.collapseSkinny

Collapse skinny triangles

MeshMutator.collapseSmall

Collapse small triangles

MeshMutator.curvTol

Tolerance for curvature approximation

MeshMutator.flipNonDelaunay

Whether to flip non - Delaunay edge

MeshMutator.flipNonDelaunayRequireFlat

Whether to require flatness condition when flipping non - Delaunay edge

MeshMutator.isChangeTopology

Whether the mesh manipulations changing topology are permitted

MeshMutator.isCollapseEdge

Whether edges should be collapsed.

MeshMutator.isFlipEdge

Whether to perform edge flipping

MeshMutator.isShiftVertex

Boolean controlling if vertex shifting is run

MeshMutator.isSmoothenMesh

Boolean controlling if mesh smoothing operations are run

MeshMutator.isSplitEdge

Whether edges should be split.

MeshMutator.maximumEdgeLength

Target maximum edge length

MeshMutator.maximumFaceArea

Target maximum face area

MeshMutator.minimumEdgeLength

Target minimum edge length

MeshMutator.minimumFaceArea

Target minimum face area

MeshMutator.mutateMeshPeriod

Frequency (in numbers of iterations) at which to apply of mesh mutations.

MeshMutator.splitCurved

Split edges on high curvature domains

MeshMutator.splitCurvedScaleFactor

Split edge if it is longer than this scale factor times the estimated optimal edge length given by curvTol.

MeshMutator.splitFat

Split obtuse triangles

MeshMutator.splitLarge

Split edges with large incident faces

MeshMutator.splitLong

Split long edge

MeshMutator.splitSharp

Split edge with sharp membrane property changes

MeshMutator.splitSkinnyDelaunay

Split triangles with poor aspect ratio which are still Delaunay