DUNE-ACFEM (unstable)

Dune::ACFem::Tensor::LinearStorageTensor< Container, Seq< Dimensions... > > Class Template Reference

A tensor wrapping an object with an operator[] and a value_type. More...

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

+ Collaboration diagram for Dune::ACFem::Tensor::LinearStorageTensor< Container, Seq< Dimensions... > >:

Public Member Functions

 LinearStorageTensor ()
 Allow default construction.
 
template<class Tensor , std::enable_if_t<(IsTensor< Tensor >::value &&!RefersConst< Container >::value &&!std::is_same< Tensor, LinearStorageTensor >::value &&std::is_same< typename Tensor::Signature, Signature >::value), int > = 0>
 LinearStorageTensor (const Tensor &other)
 Copy from any other tensor.
 
template<class T , std::enable_if_t<(IsTensor< T >::value &&!RefersConst< Container >::value &&!std::is_same< T, LinearStorageTensor >::value &&std::is_same< Signature, typename TensorTraits< T >::Signature >::value), int > = 0>
LinearStorageTensoroperator= (T &&other)
 Assignment from any other tensor.
 
template<class... Indices, std::enable_if_t<(sizeof...(Indices)==rank &&IsIntegralPack< Indices... >::value), int > = 0>
constexpr decltype(auto) operator() (Indices... indices)
 Translate the given multi-index positions into a linear index and forward to the underlying storage.
 
template<class... Indices, std::enable_if_t<(sizeof...(Indices)==rank &&IsIntegralPack< Indices... >::value), int > = 0>
constexpr decltype(auto) operator() (Indices... indices) const
 Translate the given multi-index positions into a linear index and forward to the underlying storage.
 
template<std::size_t... Indices, std::enable_if_t< sizeof...(Indices)==rank, int > = 0>
decltype(auto) constexpr operator() (Seq< Indices... >) const
 Constant access from index-sequence.
 
template<std::size_t... Indices, std::enable_if_t< sizeof...(Indices)==rank, int > = 0>
decltype(auto) constexpr operator() (Seq< Indices... >)
 Constant access from index-sequence.
 

Detailed Description

template<class Container, std::size_t... Dimensions>
class Dune::ACFem::Tensor::LinearStorageTensor< Container, Seq< Dimensions... > >

A tensor wrapping an object with an operator[] and a value_type.


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 (Apr 26, 22:29, 2024)