Home Installation C++ docs Python docs
Functions
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.

Function Documentation

◆ interval_reflection()

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

Reflect the DOFs on an interval

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

◆ quadrilateral_reflection()

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

Reflect the DOFs on a quadrilateral

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

◆ quadrilateral_rotation()

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

Rotate the DOFs on a quadrilateral

Parameters
degreeThe 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
degreeThe 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
degreeThe 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