OOF: Finite Element Analysis of Microstructures
/adaptive_mesh/refine/division
Synopsis
During refinement, triangles are divided in two, from one node to the midpoint of the opposite side. This variable determines how the node is chosen. There are three possibilities:
- newest_node
-
The separatrix runs through the most recently created node of the triangle. This method has the advantage that repeatedly refining a parent and its children will produce only a limited number (4) of child triangle shapes, guaranteeing that as the mesh gets finer, the triangles don't tend to become degenerate. When nodes are being moved between refinements, however, this guarantee no longer holds.
- longest_edge
-
The separatrix bisects the longest edge of the parent triangle, therefore making the children as equilateral as possible.
- smallest_E
-
The direction of the separatrix is chosen to minimize the total mesh-energy E of the children. This is the slowest method, produces the best meshes.
Default: longest_edge