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 0.4.1

## HomeInstallationDemosC++ docsPython docs

basix::doftransforms Namespace Reference

Functions to transform DOFs in high degree Lagrange spaces. More...

## Functions

std::map< cell::type, xt::xtensor< double, 3 > > compute_entity_transformations (cell::type cell_type, const std::array< std::vector< xt::xtensor< double, 2 >>, 4 > &x, const std::array< std::vector< xt::xtensor< double, 3 >>, 4 > &M, const xt::xtensor< double, 2 > &coeffs, const int degree, const int vs, maps::type map_type)

## Detailed Description

Functions to transform DOFs in high degree Lagrange spaces.

The functions in this namespace calculate the permutations that can be used to rotate and reflect DOF points in Lagrange spaces.

## ◆ compute_entity_transformations()

 std::map< cell::type, xt::xtensor< double, 3 > > basix::doftransforms::compute_entity_transformations ( cell::type cell_type, const std::array< std::vector< xt::xtensor< double, 2 >>, 4 > & x, const std::array< std::vector< xt::xtensor< double, 3 >>, 4 > & M, const xt::xtensor< double, 2 > & coeffs, const int degree, const int vs, maps::type map_type )

Compute the entity DOF transformations for an element

Parameters
 [in] cell_type The cell type [in] x Interpolation points for the element [in] M Interpolation matrix fot the element [in] coeffs The coefficients that define the basis functions of the element in terms of the orthonormal basis [in] degree The degree of the element [in] vs The value size of the element [in] map_type The map type used by the element