DUNE-ACFEM (unstable)

Dune::ACFem::Tensor::KroneckerDelta< Seq< Dimensions... >, Seq< PivotIndices... >, Field > Class Template Reference

"Kronecker" tensor: evaluates to 1 for exactly one tuple of indices. More...

#include <dune/acfem/tensors/modules/kronecker.hh>

+ Collaboration diagram for Dune::ACFem::Tensor::KroneckerDelta< Seq< Dimensions... >, Seq< PivotIndices... >, Field >:

Public Member Functions

template<class... Dims, std::enable_if_t<(sizeof...(Dims)==rank &&IsIntegralPack< Dims... >::value), int > = 0>
FieldType operator() (Dims... indices) const
 Compare the provided indices with the pivot sequence and return the result of the comparison.
 
template<std::size_t... Indices, std::enable_if_t< sizeof...(Indices)==rank, int > = 0>
decltype(auto) operator() (Seq< Indices... >) const
 Constant access from index-sequence.
 

Detailed Description

template<class Field, std::size_t... Dimensions, std::size_t... PivotIndices>
class Dune::ACFem::Tensor::KroneckerDelta< Seq< Dimensions... >, Seq< PivotIndices... >, Field >

"Kronecker" tensor: evaluates to 1 for exactly one tuple of indices.

Dynamic version with runtim pivot indices.


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (May 12, 22:29, 2024)