PowerBasisFE class for working with a power basis in FlatInterLeaved elements. More...
#include <ikarus/finiteelements/febases/powerbasisfe.hh>
Public Types | |
using | RootBasis = Basis |
Type of the root basis. More... | |
using | LocalView = typename Basis::LocalView |
Type of the local view. More... | |
using | GlobalIndex = typename LocalView::MultiIndex |
Type of the global index. More... | |
using | GridElement = typename LocalView::Element |
Type of the grid element. More... | |
using | Traits = FETraits< GridElement > |
Type of the traits. More... | |
Public Member Functions | |
PowerBasisFE (const Basis &p_basis, const typename LocalView::Element &element) | |
Constructor for the PowerBasisFE class. More... | |
constexpr size_t | size () const |
Get the size of the local view. More... | |
void | globalFlatIndices (std::vector< GlobalIndex > &globalIndices) const |
Get the global flat indices for the power basis. More... | |
const GridElement & | gridElement () const |
Get the grid element associated with the local view. More... | |
const LocalView & | localView () const |
Get the const reference to the local view. More... | |
LocalView & | localView () |
Get the reference to the local view. More... | |
Static Public Attributes | |
static constexpr int | num_children = RootBasis::PreBasis::Node::degree() |
Number of children in the powerBasis. More... | |
This class assumes the local indices in a FlatInterLeaved order.
Basis | The type of the power basis. |
using Ikarus::PowerBasisFE< Basis >::GlobalIndex = typename LocalView::MultiIndex |
using Ikarus::PowerBasisFE< Basis >::GridElement = typename LocalView::Element |
using Ikarus::PowerBasisFE< Basis >::LocalView = typename Basis::LocalView |
using Ikarus::PowerBasisFE< Basis >::RootBasis = Basis |
using Ikarus::PowerBasisFE< Basis >::Traits = FETraits<GridElement> |
|
inlineexplicit |
p_basis | The power basis. |
element | The local element. |
|
inline |
The global indices are collected in a FlatInterLeaved order. I.e. x_0, y_0, z_0, ..., x_n, y_n, z_n
globalIndices | Output vector to store global indices. |
|
inline |
|
inline |
|
inline |
|
inlineconstexpr |
|
staticconstexpr |