element¶
The element module defines reference elements such as the
LineReference and TriangleReference, but also more exotic
objects like the MosaicReference. A set of (interconnected) elements
together form a nutils.topology.Topology. Elements have edges and
children (for refinement), which are in turn elements and map onto self by an
affine transformation. They also have a well defined reference coordinate
system, and provide pointsets for purposes of integration and sampling.
- class nutils.element.Reference(ndims)¶
Bases:
Singletonreference element
- __mul__(self, other)¶
Return
self*other.
- trim(self, levels, maxrefine, ndivisions)¶
trim element along levelset
- class nutils.element.PointReference¶
Bases:
SimplexReference0D simplex
- class nutils.element.LineReference¶
Bases:
SimplexReference1D simplex
- class nutils.element.TriangleReference¶
Bases:
SimplexReference2D simplex
- class nutils.element.TetrahedronReference¶
Bases:
SimplexReference3D simplex