DUNE-ACFEM (unstable)

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

"Identity" tensor: evaluates to 1 if all indices are the same, to 0 else. More...

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

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

Public Member Functions

template<class... Dims, std::enable_if_t<(sizeof...(Dims)==rank &&IsIntegralPack< Dims... >::value), int > = 0>
FieldType operator() (Dims... indices) const
 Insert the current view-indices at their proper positions and foward to the underlying "host" tensor.
 

Detailed Description

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

"Identity" tensor: evaluates to 1 if all indices are the same, to 0 else.


The documentation for this class was generated from the following file:
  • dune/acfem/tensors/modules/eye.hh
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (Apr 27, 22:29, 2024)