|
Basix 0.12.0.dev0
|
Functions to compute the DOF transformations (rotations and reflections of entity DOFs) needed by a finite element under a change of entity orientation. More...
Functions | |
| template<std::floating_point T> | |
| std::map< cell::type, std::pair< std::vector< T >, std::array< std::size_t, 3 > > > | compute_entity_transformations (cell::type cell_type, std::array< std::vector< md::mdspan< const T, md::dextents< std::size_t, 2 > > >, 4 > x, std::array< std::vector< md::mdspan< const T, md::dextents< std::size_t, 4 > > >, 4 > M, md::mdspan< const T, md::dextents< std::size_t, 2 > > coeffs, int degree, std::size_t vs, maps::type map_type, polyset::type ptype) |
| Compute the entity DOF transformations for an element. | |
Functions to compute the DOF transformations (rotations and reflections of entity DOFs) needed by a finite element under a change of entity orientation.
| std::map< cell::type, std::pair< std::vector< T >, std::array< std::size_t, 3 > > > basix::doftransforms::compute_entity_transformations | ( | cell::type | cell_type, |
| std::array< std::vector< md::mdspan< const T, md::dextents< std::size_t, 2 > > >, 4 > | x, | ||
| std::array< std::vector< md::mdspan< const T, md::dextents< std::size_t, 4 > > >, 4 > | M, | ||
| md::mdspan< const T, md::dextents< std::size_t, 2 > > | coeffs, | ||
| int | degree, | ||
| std::size_t | vs, | ||
| maps::type | map_type, | ||
| polyset::type | ptype | ||
| ) |
Compute the entity DOF transformations for an element.
| [in] | cell_type | The cell type |
| [in] | x | Interpolation points for the element. Indices are (tdim, entity index, point index, dim) |
| [in] | M | Interpolation matrix for the element. Indices are (tdim, entity index, dof, vs, point_index, derivative) |
| [in] | coeffs | The coefficients that define the basis functions of the element in terms of the orthonormal basis. Shape is (number of basis functions of the element, dim(Legendre polynomials)) |
| [in] | degree | The embedded superdegree of the element (the lowest degree n such that the element's polynomial set is a subspace of a Lagrange element of degree n) |
| [in] | vs | The value size of the element |
| [in] | map_type | The map type used by the element |
| [in] | ptype | The polyset type used by the element |