nodes
A #nodes-by-2 matrix containing the x and y coordinates of the mesh nodes.
nodesmarkers
A vector of length #nodes, with entries either '1' or '0'. An entry '1' indicates that the corresponding node is a boundary node; an entry '0' indicates that the corresponding node is not a boundary node.
nodesattributes
A matrix with #nodes rows containing nodes' attributes.
These are passed unchanged from the input.
triangles
A #triangles-by-3 (when order
= 1) or #triangles-by-6 (when order
= 2) matrix.
This option is used when a triangulation is already available. It specifies the triangles giving the indices in nodes
of the triangles' vertices and (when nodes
= 2) also if the triangles' edges midpoints. The triangles' vertices and midpoints are ordered as described
at
https://www.cs.cmu.edu/~quake/triangle.highorder.html.
segmentsmarkers
A vector of length #segments with entries either '1' or '0'. An entry '1' indicates that the corresponding element in segments
is a boundary segment;
an entry '0' indicates that the corresponding segment is not a boundary segment.
edges
A #edges-by-2 matrix containing all the edges of the triangles in the output triangulation. Each row contains the row's indices in nodes
, indicating the nodes where the edge starts from and ends to.
edgesmarkers
A vector of lenght #edges with entries either '1' or '0'. An entry '1' indicates that the corresponding element in edge
is a boundary edge;
an entry '0' indicates that the corresponding edge is not a boundary edge.
neighbors
A #triangles-by-3 matrix. Each row contains the indices of the three neighbouring triangles. An entry '-1' indicates that
one edge of the triangle is a boundary edge.
holes
A #holes-by-2 matrix containing the x and y coordinates of a point internal to each hole of the mesh. These points are used to carve holes
in the triangulation, when the domain has holes.
order
Either '1' or '2'. It specifies wether each mesh triangle should be represented by 3 nodes (the triangle' vertices) or by 6 nodes (the triangle's vertices and midpoints).
These are respectively used for linear (order = 1) and quadratic (order = 2) Finite Elements.