Vulpes  0.1.0
Versatile and parallel compUtational Library for high-order discontinuous Polytopal Element Simulations
Loading...
Searching...
No Matches
vulpes::fe::FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, IsTest > Class Template Reference

#include <fe_expr_basis.hpp>

Inheritance diagram for vulpes::fe::FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, IsTest >:
[legend]
Collaboration diagram for vulpes::fe::FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, IsTest >:
[legend]

Public Types

using FeSpaceType = FeSpace
using PolynomialType = std::decay_t<decltype(FeSpace{0}.getBasis()[0])>

Public Member Functions

constexpr FeExpressionFunc (const FeSpace &fe_space)
 FeExpressionFunc (const FeExpressionFunc &)=delete
FeExpressionFunc & operator= (const FeExpressionFunc &)=delete
 FeExpressionFunc (FeExpressionFunc &&)=delete
FeExpressionFunc & operator= (FeExpressionFunc &&)=delete
constexpr const FeSpace & feSpace () const
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
constexpr UpdateFlagsType computeUpdateFlags () const
constexpr std::size_t computeOrder () const
decltype(auto) evaluatePoly (const FeValues< Dim > &, std::size_t j, std::size_t i, std::size_t bi, std::size_t bj) const
decltype(auto) evaluatePolyCoef (const auto &, const auto &, std::size_t, std::size_t) const
constexpr bool precompute (const FeValues< Dim > &, const CellsType< Dim > &) const
constexpr FeExpressionUnaryMinus< Dim, FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, false > > operator- () const
 Unary minus operator for the FE expression.

Static Public Attributes

static constexpr bool is_leaf = true
static constexpr uint8_t is_bilinear = IsTest ? IsLinearTest : IsLinearTrial
static constexpr std::size_t k_n_comp = IndexEnd - IndexBegin
static constexpr std::size_t k_index_begin = IndexBegin
static constexpr std::size_t k_index_end = IndexEnd

Protected Member Functions

const FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, false > & self () const

Protected Attributes

const FeSpace & m_fe_space

Member Typedef Documentation

◆ FeSpaceType

template<std::size_t IndexBegin, std::size_t IndexEnd, std::size_t Dim, typename FeSpace, bool IsTest = false>
using vulpes::fe::FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, IsTest >::FeSpaceType = FeSpace

◆ PolynomialType

template<std::size_t IndexBegin, std::size_t IndexEnd, std::size_t Dim, typename FeSpace, bool IsTest = false>
using vulpes::fe::FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, IsTest >::PolynomialType = std::decay_t<decltype(FeSpace{0}.getBasis()[0])>

Constructor & Destructor Documentation

◆ FeExpressionFunc() [1/3]

template<std::size_t IndexBegin, std::size_t IndexEnd, std::size_t Dim, typename FeSpace, bool IsTest = false>
vulpes::fe::FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, IsTest >::FeExpressionFunc ( const FeSpace & fe_space)
inlineexplicitconstexpr

◆ FeExpressionFunc() [2/3]

template<std::size_t IndexBegin, std::size_t IndexEnd, std::size_t Dim, typename FeSpace, bool IsTest = false>
vulpes::fe::FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, IsTest >::FeExpressionFunc ( const FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, IsTest > & )
delete

◆ FeExpressionFunc() [3/3]

template<std::size_t IndexBegin, std::size_t IndexEnd, std::size_t Dim, typename FeSpace, bool IsTest = false>
vulpes::fe::FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, IsTest >::FeExpressionFunc ( FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, IsTest > && )
delete

Member Function Documentation

◆ computeOrder()

template<std::size_t IndexBegin, std::size_t IndexEnd, std::size_t Dim, typename FeSpace, bool IsTest = false>
std::size_t vulpes::fe::FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, IsTest >::computeOrder ( ) const
inlineconstexpr

◆ computeUpdateFlags()

template<std::size_t IndexBegin, std::size_t IndexEnd, std::size_t Dim, typename FeSpace, bool IsTest = false>
UpdateFlagsType vulpes::fe::FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, IsTest >::computeUpdateFlags ( ) const
inlineconstexpr

◆ evaluate()

template<std::size_t IndexBegin, std::size_t IndexEnd, std::size_t Dim, typename FeSpace, bool IsTest = false>
template<std::size_t J = 0, std::size_t I = 0>
decltype(auto) vulpes::fe::FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, IsTest >::evaluate ( const FeValues< Dim > & fe_values,
std::size_t j,
std::size_t i,
std::size_t q ) const
inline

◆ evaluatePoly()

template<std::size_t IndexBegin, std::size_t IndexEnd, std::size_t Dim, typename FeSpace, bool IsTest = false>
decltype(auto) vulpes::fe::FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, IsTest >::evaluatePoly ( const FeValues< Dim > & ,
std::size_t j,
std::size_t i,
std::size_t bi,
std::size_t bj ) const
inline

◆ evaluatePolyCoef()

template<std::size_t IndexBegin, std::size_t IndexEnd, std::size_t Dim, typename FeSpace, bool IsTest = false>
decltype(auto) vulpes::fe::FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, IsTest >::evaluatePolyCoef ( const auto & ,
const auto & ,
std::size_t ,
std::size_t  ) const
inline

◆ feSpace()

template<std::size_t IndexBegin, std::size_t IndexEnd, std::size_t Dim, typename FeSpace, bool IsTest = false>
const FeSpace & vulpes::fe::FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, IsTest >::feSpace ( ) const
inlineconstexpr

◆ operator-()

FeExpressionUnaryMinus< Dim, FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, false > > vulpes::fe::FeExpressionBase< Dim, FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, false > >::operator- ( ) const
inlineconstexprinherited

Unary minus operator for the FE expression.

Returns
New FE expression representing the negation of the current one

◆ operator=() [1/2]

template<std::size_t IndexBegin, std::size_t IndexEnd, std::size_t Dim, typename FeSpace, bool IsTest = false>
FeExpressionFunc & vulpes::fe::FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, IsTest >::operator= ( const FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, IsTest > & )
delete

◆ operator=() [2/2]

template<std::size_t IndexBegin, std::size_t IndexEnd, std::size_t Dim, typename FeSpace, bool IsTest = false>
FeExpressionFunc & vulpes::fe::FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, IsTest >::operator= ( FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, IsTest > && )
delete

◆ precompute()

template<std::size_t IndexBegin, std::size_t IndexEnd, std::size_t Dim, typename FeSpace, bool IsTest = false>
bool vulpes::fe::FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, IsTest >::precompute ( const FeValues< Dim > & ,
const CellsType< Dim > &  ) const
inlineconstexpr

◆ self()

const FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, false > & vulpes::fe::FeExpressionBase< Dim, FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, false > >::self ( ) const
inlineprotectedinherited

Member Data Documentation

◆ is_bilinear

template<std::size_t IndexBegin, std::size_t IndexEnd, std::size_t Dim, typename FeSpace, bool IsTest = false>
uint8_t vulpes::fe::FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, IsTest >::is_bilinear = IsTest ? IsLinearTest : IsLinearTrial
staticconstexpr

◆ is_leaf

template<std::size_t IndexBegin, std::size_t IndexEnd, std::size_t Dim, typename FeSpace, bool IsTest = false>
bool vulpes::fe::FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, IsTest >::is_leaf = true
staticconstexpr

◆ k_index_begin

template<std::size_t IndexBegin, std::size_t IndexEnd, std::size_t Dim, typename FeSpace, bool IsTest = false>
std::size_t vulpes::fe::FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, IsTest >::k_index_begin = IndexBegin
staticconstexpr

◆ k_index_end

template<std::size_t IndexBegin, std::size_t IndexEnd, std::size_t Dim, typename FeSpace, bool IsTest = false>
std::size_t vulpes::fe::FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, IsTest >::k_index_end = IndexEnd
staticconstexpr

◆ k_n_comp

template<std::size_t IndexBegin, std::size_t IndexEnd, std::size_t Dim, typename FeSpace, bool IsTest = false>
std::size_t vulpes::fe::FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, IsTest >::k_n_comp = IndexEnd - IndexBegin
staticconstexpr

◆ m_fe_space

template<std::size_t IndexBegin, std::size_t IndexEnd, std::size_t Dim, typename FeSpace, bool IsTest = false>
const FeSpace& vulpes::fe::FeExpressionFunc< IndexBegin, IndexEnd, Dim, FeSpace, IsTest >::m_fe_space
protected

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