FiniteMesh.MeshType
struct Mesh{A, B<:(AbstractMatrix{<:AbstractFloat}), C<:(AbstractMatrix{<:Integer}), D<:(AbstractVector{<:Integer}), E<:(AbstractVector{<:AbstractFloat}), F<:(AbstractArray{<:AbstractFloat, 3})}

Struct of mesh information

FiniteMesh.check_cell_faceMethod
check_cell_face(cells, cellFaces, facePoints)


check if cellFaces are regularized, e.g., in a triangle,

• face 1 -> points 1 & 2
• face 2 -> points 2 & 3
• face 3 -> points 3 & 1
FiniteMesh.check_cell_neighborMethod
check_cell_neighbor(cells, cellNeighbors)


check if cellNeighbors are regularized, e.g., in a triangle,

• face 1 -> neighbor cell 1
• face 2 -> neighbor cell 2
• face 3 -> neighbor cell 3
FiniteMesh.read_meshMethod
read_mesh(file)


• @return cells: node ids inside cells
• @return points: are saved with 3D coordinates (z=0 for 2D case)
FiniteMesh.regularize_cell_faceMethod
regularize_cell_face(cells, cellFaces, facePoints)


regularize affiliated face IDs, e.g., in a triangle,

• face 1 -> points 1 & 2
• face 2 -> points 2 & 3
• face 3 -> points 3 & 1
FiniteMesh.regularize_cell_neighborMethod
regularize_cell_neighbor(cells, cellNeighbors)


regularize neighboring cell IDs, e.g., in a triangle,

• face 1 -> neighbor cell 1
• face 2 -> neighbor cell 2
• face 3 -> neighbor cell 3
FiniteMesh.triangulateMethod
triangulate(points)


Split rectangular mesh into triangles

• @arg points: structured node coordinates with shape (npoints, ndim)