DOLFINx 0.12.0.0
DOLFINx C++
Loading...
Searching...
No Matches
BasixElementData< T > Struct Template Reference

Basix element holder. More...

#include <FiniteElement.h>

Public Attributes

std::reference_wrapper< const basix::FiniteElement< T > > element
std::optional< std::vector< std::size_t > > value_shape = std::nullopt
bool symmetry = false

Detailed Description

template<std::floating_point T>
struct dolfinx::fem::BasixElementData< T >

Basix element holder.

Template Parameters
TScalar type

Member Data Documentation

◆ element

template<std::floating_point T>
std::reference_wrapper<const basix::FiniteElement<T> > element

Finite element.

◆ symmetry

template<std::floating_point T>
bool symmetry = false

Symmetry. Should only be set for 2nd-order tensor blocked elements.

◆ value_shape

template<std::floating_point T>
std::optional<std::vector<std::size_t> > value_shape = std::nullopt

Value shape of the blocked element, e.g. {3} for a vector or {2, 2} for a rank-2 tensor. Can only be set for a scalar element, and is unrelated to the geometric dimension of the mesh. std::nullopt for a non-blocked element.


The documentation for this struct was generated from the following file: