![]() |
Vulpes
0.1.0
Versatile and parallel compUtational Library for high-order discontinuous Polytopal Element Simulations
|
Class that wraps a face function given by one value per quadrature point, filled by a user function that may read the neighbour's values at the same physical points (fe_values.neighValues()), e.g. a numerical trace built from both sides of the face. More...
#include <fe_expr_func.hpp>
Public Types | |
| using | FuncType |
| using | FeSpaceType |
| Type of the associated Finite Element Space. | |
Public Member Functions | |
| constexpr | FeExpressionFacePointsNeedNeigh (const FuncType &func, std::size_t order) |
| FeExpressionFacePointsNeedNeigh (const FeExpressionFacePointsNeedNeigh &)=delete | |
| FeExpressionFacePointsNeedNeigh & | operator= (const FeExpressionFacePointsNeedNeigh &)=delete |
| FeExpressionFacePointsNeedNeigh (FeExpressionFacePointsNeedNeigh &&)=delete | |
| FeExpressionFacePointsNeedNeigh & | operator= (FeExpressionFacePointsNeedNeigh &&)=delete |
| template<std::size_t J = 0, std::size_t I = 0> | |
| decltype(auto) | evaluate (const FeValues< Dim > &, std::size_t, std::size_t, std::size_t q) const |
| constexpr UpdateFlagsType | computeUpdateFlags () const |
| constexpr std::size_t | computeOrder () const |
| bool | precompute (const FeValues< Dim > &fe_values, const CellsType< Dim > &cells) const |
| constexpr const auto & | feSpace () const |
| Get the associated Finite Element Space. | |
| 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 FeExpressionUnaryMinus< Dim, FeExpressionFacePointsNeedNeigh< Dim, UpdateValues > > | operator- () const |
| Unary minus operator for the FE expression. | |
Static Public Attributes | |
| static constexpr bool | is_leaf = true |
| static constexpr uint8_t | is_bilinear = IsNothing |
| static constexpr std::size_t | k_index_begin |
| Index the block of the expression starts from (for vectorial problems). | |
| static constexpr std::size_t | k_index_end |
| Index the block of the expression ends to (for vectorial problems). | |
Protected Member Functions | |
| const FeExpressionFacePointsNeedNeigh< Dim, UpdateValues > & | self () const |
Protected Attributes | |
| const FuncType | m_func |
| const std::size_t | m_order |
| std::vector< double > | m_vals |
Class that wraps a face function given by one value per quadrature point, filled by a user function that may read the neighbour's values at the same physical points (fe_values.neighValues()), e.g. a numerical trace built from both sides of the face.
The user function receives the values vector sized to the number of quadrature points. order is the polynomial degree assumed for the values when quadrature rules are chosen. As for any leaf with UpdateNeighborValues, forms using it are integrated only on faces with a neighbour.
| ExtraFlags | Update flags the user function needs on both sides, added to UpdateNeighborCell | UpdateNeighborValues (default: shape values). |
|
inherited |
Type of the associated Finite Element Space.
| using vulpes::fe::FeExpressionFacePointsNeedNeigh< Dim, ExtraFlags >::FuncType |
|
inlineconstexpr |
|
delete |
|
delete |
|
inlineconstexpr |
|
inlineconstexpr |
|
inline |
|
inlineinherited |
Compute the polynomial associated to the expression for basis i and j and block bi and bj.
| 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 |
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.
|
inlineinherited |
Compute the coefficients of the polynomial associated to the expression for basis i and j and block bi and bj.
| 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 |
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).
|
inlineconstexprinherited |
Get the associated Finite Element Space.
|
inlineconstexprinherited |
Unary minus operator for the FE expression.
|
delete |
|
delete |
|
inline |
|
inlineprotectedinherited |
|
staticconstexpr |
|
staticconstexpr |
|
inlinestaticconstexprinherited |
Index the block of the expression starts from (for vectorial problems).
|
inlinestaticconstexprinherited |
Index the block of the expression ends to (for vectorial problems).
|
protected |
|
protected |
|
mutableprotected |