RcppSimplification
.Extract the mesh from an object of class RcppSimplification
. The mesh is returned as an instance of class mesh.2.5D
. The order of the Finite Elements is compliant with the input parameter order
.
get.mesh.2.5D(x, order = 1)
An object of class RcppSimplification
.
Either '1' or '2'. It specifies whether each mesh triangle should be represented by \(3\) nodes (the triangle vertices) or by \(6\) nodes (the triangle vertices and midpoints of the triangle edges). These are respectively used for linear (order
= 1) and quadratic (order
= 2) Finite Elements. Default is order
= 1.
A mesh.2.5D
object, endowed with the following attributes:
nnodes
: number of nodes in the mesh;
nodes
: nnodes
-by-3 matrix collecting the coordinates of each vertex;
ntriangles
: number of triangles in the mesh;
triangles
: a ntriangles
-by-3 (when order
= 1) or ntriangles
-by-6 (when order
= 2) matrix. It specifies the triangles giving the row indices in nodes
of the triangles vertices and (when order
= 2) also of the triangles edges midpoints;
order
: either '1' or '2'. It specifies whether each mesh triangle should be represented by \(3\) nodes (the triangle vertices) or by \(6\) nodes (the triangle vertices and midpoints of the triangle edges). These are respectively used for linear (order
= 1) and quadratic (order
= 2) Finite Elements. Default is order
= 1.