Reference shape
Bcube.center — Methodcenter(::AbstractShape)Center of the AbstractShape.
Implementation
Specialize for better performances
Bcube.entity — Methodentity(s::AbstractShape, ::Val{D}) where DReturn the geometrical Entity corresponding to the AbstractShape of a given degree D.
Remark : Returned entity must be consistent with the corresponding Lagrange function space.
Bcube.face_area — Methodface_area(::AbstractShape)Return the length/area of the faces of a shape.
Bcube.face_shapes — Methodface_shapes(shape::AbstractShape, i)Shape of i-th shape of the input shape.
Bcube.face_shapes — Methodface_shapes(::AbstractShape)Return a tuple of the Shape of each face of the given (cell) Shape. For instance, a Triangle has three faces, all of them are Line.
Bcube.faces2nodes — Methodfaces2nodes(shape::AbstractShape, side)Return the index of the vertices on the iside-th face of a shape. If side is positive, the face is oriented preserving the cell normal. If side is negative, the face is returned with the opposite direction (i.e reverse node order).
Bcube.faces2nodes — Methodfaces2nodes(::AbstractShape)Return the index of the vertices on the faces of a shape.
Bcube.get_coords — Methodget_coords(shape::AbstractShape,i)Return the coordinates of the ith shape vertices. i can be a tuple of indices, then the multiples vertices's coordinates are returned.
Bcube.get_coords — Methodget_coords(::AbstractShape)Return node coordinates of the shape in the reference space.
Bcube.nedges — Methodnedges(::AbstractShape)Generic function. Indicate how many edges a shape has.
Bcube.nfaces — Methodnfaces(::AbstractShape)Indicate how many faces a shape has.
Bcube.normal — Methodnormal(shape::AbstractShape, i)Return the outward normal of the ith face of the shape.
Bcube.normals — Methodnormals(::AbstractShape)Return the outward normals of all the faces of the shape.
Bcube.nvertices — Methodnvertices(::AbstractShape)Indicate how many vertices a shape has.
Bcube.shape — Methodshape(::AbstractEntityType)Return the reference Shape corresponding to the given AbstractEntityType.