SimiLie
Loading...
Searching...
No Matches
sil::tensor::TensorAntisymmetricIndex< TensorIndex > Struct Template Reference

#include <antisymmetric_tensor.hpp>

Collaboration diagram for sil::tensor::TensorAntisymmetricIndex< TensorIndex >:
Collaboration graph

Public Types

using subindices_domain_t = ddc::DiscreteDomain<TensorIndex...>
 

Static Public Member Functions

static KOKKOS_FUNCTION constexpr subindices_domain_t subindices_domain ()
 
static KOKKOS_FUNCTION constexpr std::size_t rank ()
 
static KOKKOS_FUNCTION constexpr std::size_t size ()
 
static KOKKOS_FUNCTION constexpr std::size_t mem_size ()
 
static KOKKOS_FUNCTION constexpr std::size_t access_size ()
 
static KOKKOS_FUNCTION constexpr std::size_t mem_id (std::array< std::size_t, rank()> const natural_ids)
 
static KOKKOS_FUNCTION constexpr std::size_t access_id (std::array< std::size_t, rank()> const natural_ids)
 
static KOKKOS_FUNCTION constexpr std::size_t access_id_to_mem_id (std::size_t access_id)
 
template<class Tensor , class Elem , class Id , class FunctorType >
static KOKKOS_FUNCTION constexpr Tensor::element_type process_access (const FunctorType &access, Tensor tensor, Elem elem)
 
static KOKKOS_FUNCTION constexpr std::array< std::size_t, rank()> mem_id_to_canonical_natural_ids (std::size_t mem_id)
 

Static Public Attributes

static constexpr bool is_tensor_index = true
 
static constexpr bool is_explicitely_stored_tensor = true
 

Detailed Description

template<TensorNatIndex... TensorIndex>
struct sil::tensor::TensorAntisymmetricIndex< TensorIndex >

Definition at line 19 of file antisymmetric_tensor.hpp.

Member Typedef Documentation

◆ subindices_domain_t

template<TensorNatIndex... TensorIndex>
using sil::tensor::TensorAntisymmetricIndex< TensorIndex >::subindices_domain_t = ddc::DiscreteDomain<TensorIndex...>

Definition at line 24 of file antisymmetric_tensor.hpp.

Member Function Documentation

◆ subindices_domain()

template<TensorNatIndex... TensorIndex>
static KOKKOS_FUNCTION constexpr subindices_domain_t sil::tensor::TensorAntisymmetricIndex< TensorIndex >::subindices_domain ( )
inlinestaticconstexpr

Definition at line 26 of file antisymmetric_tensor.hpp.

◆ rank()

template<TensorNatIndex... TensorIndex>
static KOKKOS_FUNCTION constexpr std::size_t sil::tensor::TensorAntisymmetricIndex< TensorIndex >::rank ( )
inlinestaticconstexpr

Definition at line 34 of file antisymmetric_tensor.hpp.

◆ size()

template<TensorNatIndex... TensorIndex>
static KOKKOS_FUNCTION constexpr std::size_t sil::tensor::TensorAntisymmetricIndex< TensorIndex >::size ( )
inlinestaticconstexpr

Definition at line 43 of file antisymmetric_tensor.hpp.

◆ mem_size()

template<TensorNatIndex... TensorIndex>
static KOKKOS_FUNCTION constexpr std::size_t sil::tensor::TensorAntisymmetricIndex< TensorIndex >::mem_size ( )
inlinestaticconstexpr

Definition at line 52 of file antisymmetric_tensor.hpp.

◆ access_size()

template<TensorNatIndex... TensorIndex>
static KOKKOS_FUNCTION constexpr std::size_t sil::tensor::TensorAntisymmetricIndex< TensorIndex >::access_size ( )
inlinestaticconstexpr

Definition at line 63 of file antisymmetric_tensor.hpp.

◆ mem_id()

template<TensorNatIndex... TensorIndex>
static KOKKOS_FUNCTION constexpr std::size_t sil::tensor::TensorAntisymmetricIndex< TensorIndex >::mem_id ( std::array< std::size_t, rank()> const natural_ids)
inlinestaticconstexpr

Definition at line 72 of file antisymmetric_tensor.hpp.

◆ access_id()

template<TensorNatIndex... TensorIndex>
static KOKKOS_FUNCTION constexpr std::size_t sil::tensor::TensorAntisymmetricIndex< TensorIndex >::access_id ( std::array< std::size_t, rank()> const natural_ids)
inlinestaticconstexpr

Definition at line 112 of file antisymmetric_tensor.hpp.

◆ access_id_to_mem_id()

template<TensorNatIndex... TensorIndex>
static KOKKOS_FUNCTION constexpr std::size_t sil::tensor::TensorAntisymmetricIndex< TensorIndex >::access_id_to_mem_id ( std::size_t access_id)
inlinestaticconstexpr

Definition at line 130 of file antisymmetric_tensor.hpp.

◆ process_access()

template<TensorNatIndex... TensorIndex>
template<class Tensor , class Elem , class Id , class FunctorType >
static KOKKOS_FUNCTION constexpr Tensor::element_type sil::tensor::TensorAntisymmetricIndex< TensorIndex >::process_access ( const FunctorType & access,
Tensor tensor,
Elem elem )
inlinestaticconstexpr

Definition at line 144 of file antisymmetric_tensor.hpp.

◆ mem_id_to_canonical_natural_ids()

template<TensorNatIndex... TensorIndex>
static KOKKOS_FUNCTION constexpr std::array< std::size_t, rank()> sil::tensor::TensorAntisymmetricIndex< TensorIndex >::mem_id_to_canonical_natural_ids ( std::size_t mem_id)
inlinestaticconstexpr

Definition at line 163 of file antisymmetric_tensor.hpp.

Member Data Documentation

◆ is_tensor_index

template<TensorNatIndex... TensorIndex>
bool sil::tensor::TensorAntisymmetricIndex< TensorIndex >::is_tensor_index = true
staticconstexpr

Definition at line 21 of file antisymmetric_tensor.hpp.

◆ is_explicitely_stored_tensor

template<TensorNatIndex... TensorIndex>
bool sil::tensor::TensorAntisymmetricIndex< TensorIndex >::is_explicitely_stored_tensor = true
staticconstexpr

Definition at line 22 of file antisymmetric_tensor.hpp.


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