|
| constexpr const auto & | feSpace () const |
| | Get the associated Finite Element Space.
|
| template<std::size_t J = 0, std::size_t I = 0> |
| decltype(auto) | evaluate (const FeValues< Dim > &fe_values, std::size_t j, std::size_t i, std::size_t q) const |
| | Evaluate the finite element expression evaluated at function basis i and j and at quadrature point q.
|
| decltype(auto) | evaluatePoly (const FeValues< Dim > &fe_values, std::size_t j, std::size_t i, std::size_t bi, std::size_t bj) const |
| | Compute the polynomial associated to the expression for basis i and j and block bi and bj.
|
| decltype(auto) | evaluatePolyCoef (const auto &mapping, const auto &fe_values, std::size_t bi, std::size_t bj) const |
| | Compute the coefficients of the polynomial associated to the expression for basis i and j and block bi and bj.
|
| constexpr UpdateFlagsType | computeUpdateFlags () const |
| | Compute the update flags required by the expression for the update in the FeValues.
|
| constexpr std::size_t | computeOrder () const |
| | Compute the polynomial order required by the expression.
|
| constexpr bool | precompute (const FeValues< Dim > &fe_values, const CellsType< Dim > &cells) const |
| | Precompute any necessary data for the expression based on the FE values and the cells.
|
| constexpr FeExpressionUnaryMinus< Dim, FeExpression > | operator- () const |
| | Unary minus operator for the FE expression.
|
template<std::size_t Dim, typename FeExpression>
class vulpes::fe::FeExpressionBase< Dim, FeExpression >
Base class for Finite Element Expressions.
- Template Parameters
-
| Dim | Spatial dimension |
| FeExpression | Derived FE Expression type |
template<std::size_t Dim, typename FeExpression>
| decltype(auto) vulpes::fe::FeExpressionBase< Dim, FeExpression >::evaluatePoly |
( |
const FeValues< Dim > & | fe_values, |
|
|
std::size_t | j, |
|
|
std::size_t | i, |
|
|
std::size_t | bi, |
|
|
std::size_t | bj ) const |
|
inline |
Compute the polynomial associated to the expression for basis i and j and block bi and bj.
- Parameters
-
| fe_values | Finite element values at quadrature points |
| j | Index of the trial function basis |
| i | Index of the test function basis |
| bi | Block index of the trial function |
| bj | Block index of the test function |
- Returns
- Matrix of polynomials associated to the expression
We use the convention that in the result, each row corresponds to a spatial direction (this extends also to tensors, by unrolling them), while each column corresponds to a addendum of the expression requiring a particular pullback/pushforward transformation. These coefficients are computed by the evaluatePolyCoef method.
template<std::size_t Dim, typename FeExpression>
| decltype(auto) vulpes::fe::FeExpressionBase< Dim, FeExpression >::evaluatePolyCoef |
( |
const auto & | mapping, |
|
|
const auto & | fe_values, |
|
|
std::size_t | bi, |
|
|
std::size_t | bj ) const |
|
inline |
Compute the coefficients of the polynomial associated to the expression for basis i and j and block bi and bj.
- Parameters
-
| mapping | The mapping used for the FE |
| fe_values | Finite element values at quadrature points |
| bi | Block index of the trial function |
| bj | Block index of the test function |
- Returns
- Matrix of coefficients associated to the polynomial expression
The coefficients are the pullback/pushforward needed by each of the polynomial returned by evaluatePoly. Each column corresponds to an addendum of the expression requiring a particular pullback/pushforward transformation. Each row corresponds to a spatial direction (this extends also to tensors, by unrolling them).