| 17 | //----------------------------------------------------------------------------- |
| 18 | template <std::floating_point T> |
| 19 | CoordinateElement<T>::CoordinateElement( |
| 20 | std::shared_ptr<const basix::FiniteElement<T>> element) |
| 21 | : _element(std::move(element)) |
| 22 | { |
| 23 | int degree = _element->degree(); |
| 24 | mesh::CellType cell = this->cell_shape(); |
| 25 | _is_affine = mesh::is_simplex(cell) and degree == 1; |
| 26 | } |
| 27 | //----------------------------------------------------------------------------- |
| 28 | template <std::floating_point T> |
| 29 | CoordinateElement<T>::CoordinateElement(mesh::CellType celltype, int degree, |
nothing calls this directly
no test coverage detected