Note: this is documentation for an old release. View the latest documentation at docs.fenicsproject.org/basix/v0.8.0/cpp/namespacebasix_1_1doftransforms.html
basix::doftransforms Namespace Reference

## Functions

std::vector< int > interval_reflection (int degree)

std::vector< int > triangle_reflection (int degree)

std::vector< int > triangle_rotation (int degree)

std::vector< int > quadrilateral_reflection (int degree)

std::vector< int > quadrilateral_rotation (int degree)

## Detailed Description

Functions to help with the creation of DOF transformation and direction correction.

## ◆ interval_reflection()

 std::vector< int > basix::doftransforms::interval_reflection ( int degree )

Reflect the DOFs on an interval

Parameters
 degree The number of DOFs on the interval
Returns
A reordering of the numbers 0 to degree-1 representing the transformation

 std::vector< int > basix::doftransforms::quadrilateral_reflection ( int degree )

Reflect the DOFs on a quadrilateral

Parameters
 degree The number of DOFs along one side of the quadrilateral
Returns
A reordering of the numbers 0 to degree*degree-1 representing the transformation

 std::vector< int > basix::doftransforms::quadrilateral_rotation ( int degree )

Rotate the DOFs on a quadrilateral

Parameters
 degree The number of DOFs along one side of the quadrilateral
Returns
A reordering of the numbers 0 to degree*degree-1 representing the transformation

## ◆ triangle_reflection()

 std::vector< int > basix::doftransforms::triangle_reflection ( int degree )

Reflect the DOFs on a triangle

Parameters
 degree The number of DOFs along one side of the triangle
Returns
A reordering of the numbers 0 to (degree)*(degree+1)/2-1 representing the transformation

## ◆ triangle_rotation()

 std::vector< int > basix::doftransforms::triangle_rotation ( int degree )

Rotate the DOFs on a triangle

Parameters
 degree The number of DOFs along one side of the triangle
Returns
A reordering of the numbers 0 to (degree)*(degree+1)/2-1 representing the transformation