![]() |
Vulpes
0.1.0
Versatile and parallel compUtational Library for high-order discontinuous Polytopal Element Simulations
|
Class that wraps a user-provided function that returns a tensor, evaluated at the quadrature points. More...
#include <fe_expr_func.hpp>
Public Types | |
| using | OutputType = Eigen::Matrix<double, Dim, Dim> |
| using | FuncT = std::function<OutputType(const Eigen::Vector<double, Dim>&)> |
| using | FeSpaceType |
| Type of the associated Finite Element Space. | |
Public Member Functions | |
| constexpr | FeExpressionFunctionWrapperTensor (const FuncT &func, std::size_t order) |
| FeExpressionFunctionWrapperTensor (const FeExpressionFunctionWrapperTensor &)=delete | |
| FeExpressionFunctionWrapperTensor & | operator= (const FeExpressionFunctionWrapperTensor &)=delete |
| FeExpressionFunctionWrapperTensor (FeExpressionFunctionWrapperTensor &&)=delete | |
| FeExpressionFunctionWrapperTensor & | operator= (FeExpressionFunctionWrapperTensor &&)=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 |
| constexpr bool | precompute (const FeValues< Dim > &fe_values, const CellsType< Dim > &) const |
| decltype(auto) | evaluatePoly (const FeValues< Dim > &, std::size_t, std::size_t, std::size_t, std::size_t) const |
| decltype(auto) | evaluatePolyCoef (const auto &, const auto &, std::size_t, std::size_t) const |
| constexpr const auto & | feSpace () const |
| Get the associated Finite Element Space. | |
| constexpr FeExpressionUnaryMinus< Dim, FeExpressionFunctionWrapperTensor< Dim > > | 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 FeExpressionFunctionWrapperTensor< Dim > & | self () const |
Protected Attributes | |
| const FuncT | m_func |
| std::vector< OutputType > | m_evals |
| const std::size_t | m_order |
Class that wraps a user-provided function that returns a tensor, evaluated at the quadrature points.
order is the polynomial degree assumed for the function when quadrature rules are chosen; it has no default. For a non-polynomial function use at least p + 1, typically p + 3, where p is the degree of the FE space it is integrated against.
|
inherited |
Type of the associated Finite Element Space.
| using vulpes::fe::FeExpressionFunctionWrapperTensor< Dim >::FuncT = std::function<OutputType(const Eigen::Vector<double, Dim>&)> |
| using vulpes::fe::FeExpressionFunctionWrapperTensor< Dim >::OutputType = Eigen::Matrix<double, Dim, Dim> |
|
inlineexplicitconstexpr |
|
delete |
|
delete |
|
inlineconstexpr |
|
inlineconstexpr |
|
inline |
|
inline |
|
inline |
|
inlineconstexprinherited |
Get the associated Finite Element Space.
|
inlineconstexprinherited |
Unary minus operator for the FE expression.
|
delete |
|
delete |
|
inlineconstexpr |
|
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).
|
mutableprotected |
|
protected |
|
protected |