SimiLie
Loading...
Searching...
No Matches
sil::tensor::TensorWeightedLeviCivitaIndex< Source, Target > Struct Template Reference

#include <weighted_levi_civita_tensor.hpp>

Collaboration diagram for sil::tensor::TensorWeightedLeviCivitaIndex< Source, Target >:
Collaboration graph

Public Types

using subindices_domain_t
 

Static Public Member Functions

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

Static Public Attributes

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

Detailed Description

template<misc::Specialization< TensorAntisymmetricIndex > Source, misc::Specialization< TensorAntisymmetricIndex > Target>
struct sil::tensor::TensorWeightedLeviCivitaIndex< Source, Target >

Definition at line 18 of file weighted_levi_civita_tensor.hpp.

Member Typedef Documentation

◆ subindices_domain_t

template<misc::Specialization< TensorAntisymmetricIndex > Source, misc::Specialization< TensorAntisymmetricIndex > Target>
using sil::tensor::TensorWeightedLeviCivitaIndex< Source, Target >::subindices_domain_t
Initial value:
typename Source::subindices_domain_t,
typename Target::subindices_domain_t>
convert_type_seq_to_t< ddc::DiscreteDomain, typename detail::CartesianProd< Domains... >::type > cartesian_prod_t

Definition at line 22 of file weighted_levi_civita_tensor.hpp.

Member Function Documentation

◆ subindices_domain()

template<misc::Specialization< TensorAntisymmetricIndex > Source, misc::Specialization< TensorAntisymmetricIndex > Target>
static KOKKOS_FUNCTION constexpr subindices_domain_t sil::tensor::TensorWeightedLeviCivitaIndex< Source, Target >::subindices_domain ( )
inlinestaticconstexpr

Definition at line 26 of file weighted_levi_civita_tensor.hpp.

◆ rank()

template<misc::Specialization< TensorAntisymmetricIndex > Source, misc::Specialization< TensorAntisymmetricIndex > Target>
static constexpr std::size_t sil::tensor::TensorWeightedLeviCivitaIndex< Source, Target >::rank ( )
inlinestaticconstexpr

Definition at line 30 of file weighted_levi_civita_tensor.hpp.

◆ size()

template<misc::Specialization< TensorAntisymmetricIndex > Source, misc::Specialization< TensorAntisymmetricIndex > Target>
static constexpr std::size_t sil::tensor::TensorWeightedLeviCivitaIndex< Source, Target >::size ( )
inlinestaticconstexpr

Definition at line 38 of file weighted_levi_civita_tensor.hpp.

◆ mem_size()

template<misc::Specialization< TensorAntisymmetricIndex > Source, misc::Specialization< TensorAntisymmetricIndex > Target>
static constexpr std::size_t sil::tensor::TensorWeightedLeviCivitaIndex< Source, Target >::mem_size ( )
inlinestaticconstexpr

Definition at line 42 of file weighted_levi_civita_tensor.hpp.

◆ access_size()

template<misc::Specialization< TensorAntisymmetricIndex > Source, misc::Specialization< TensorAntisymmetricIndex > Target>
static constexpr std::size_t sil::tensor::TensorWeightedLeviCivitaIndex< Source, Target >::access_size ( )
inlinestaticconstexpr

Definition at line 46 of file weighted_levi_civita_tensor.hpp.

◆ mem_id()

template<misc::Specialization< TensorAntisymmetricIndex > Source, misc::Specialization< TensorAntisymmetricIndex > Target>
static KOKKOS_FUNCTION constexpr std::size_t sil::tensor::TensorWeightedLeviCivitaIndex< Source, Target >::mem_id ( std::array< std::size_t, rank()> const & ids)
inlinestaticconstexpr

Definition at line 51 of file weighted_levi_civita_tensor.hpp.

◆ access_id()

template<misc::Specialization< TensorAntisymmetricIndex > Source, misc::Specialization< TensorAntisymmetricIndex > Target>
static KOKKOS_FUNCTION constexpr std::size_t sil::tensor::TensorWeightedLeviCivitaIndex< Source, Target >::access_id ( std::array< std::size_t, rank()> const & ids)
inlinestaticconstexpr

Definition at line 58 of file weighted_levi_civita_tensor.hpp.

◆ access_id_to_mem_id()

template<misc::Specialization< TensorAntisymmetricIndex > Source, misc::Specialization< TensorAntisymmetricIndex > Target>
static KOKKOS_FUNCTION constexpr std::size_t sil::tensor::TensorWeightedLeviCivitaIndex< Source, Target >::access_id_to_mem_id ( std::size_t id)
inlinestaticconstexpr

Definition at line 74 of file weighted_levi_civita_tensor.hpp.

◆ process_access()

template<misc::Specialization< TensorAntisymmetricIndex > Source, misc::Specialization< TensorAntisymmetricIndex > Target>
template<class Tensor , class Elem , class Id , class Functor >
static KOKKOS_FUNCTION constexpr Tensor::element_type sil::tensor::TensorWeightedLeviCivitaIndex< Source, Target >::process_access ( Functor const & access,
Tensor const & tensor,
Elem const & elem )
inlinestaticconstexpr

Definition at line 80 of file weighted_levi_civita_tensor.hpp.

◆ mem_id_to_canonical_natural_ids()

template<misc::Specialization< TensorAntisymmetricIndex > Source, misc::Specialization< TensorAntisymmetricIndex > Target>
static KOKKOS_FUNCTION constexpr std::array< std::size_t, rank()> sil::tensor::TensorWeightedLeviCivitaIndex< Source, Target >::mem_id_to_canonical_natural_ids ( std::size_t id)
inlinestaticconstexpr

Definition at line 91 of file weighted_levi_civita_tensor.hpp.

Member Data Documentation

◆ is_tensor_index

template<misc::Specialization< TensorAntisymmetricIndex > Source, misc::Specialization< TensorAntisymmetricIndex > Target>
bool sil::tensor::TensorWeightedLeviCivitaIndex< Source, Target >::is_tensor_index = true
staticconstexpr

Definition at line 20 of file weighted_levi_civita_tensor.hpp.

◆ is_explicitely_stored_tensor

template<misc::Specialization< TensorAntisymmetricIndex > Source, misc::Specialization< TensorAntisymmetricIndex > Target>
bool sil::tensor::TensorWeightedLeviCivitaIndex< Source, Target >::is_explicitely_stored_tensor = true
staticconstexpr

Definition at line 21 of file weighted_levi_civita_tensor.hpp.


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