SimiLie
Loading...
Searching...
No Matches
sil::exterior::Reduction< Indices, PositionType, BatchElem, Complex > Struct Template Reference

#include <reduction_and_reconstruction.hpp>

Collaboration diagram for sil::exterior::Reduction< Indices, PositionType, BatchElem, Complex >:
Collaboration graph

Public Types

using source_index_type
 
using target_index_type = reduction_index_t<Indices>
 
using source_natural_elem_type
 
using target_natural_elem_type
 
using position_index_type
 

Static Public Member Functions

template<misc::Specialization< tensor::Tensor > ReductionTensorType, misc::Specialization< tensor::Tensor > FormTensorType>
static KOKKOS_FUNCTION void run (ReductionTensorType reduced_tensor, FormTensorType form_tensor, PositionType position, BatchElem elem)
 
template<misc::Specialization< tensor::Tensor > ReductionTensorType, misc::Specialization< tensor::Tensor > FormTensorType, misc::Specialization< tensor::Tensor > MetricType>
static KOKKOS_FUNCTION void run (ReductionTensorType reduced_tensor, FormTensorType form_tensor, MetricType metric, PositionType position, BatchElem elem)
 
static KOKKOS_FUNCTION double value (PositionType position, BatchElem elem, auto natural_elem)
 
template<misc::Specialization< tensor::Tensor > MetricType>
static KOKKOS_FUNCTION double value (MetricType metric, PositionType position, BatchElem elem, auto natural_elem)
 

Detailed Description

template<misc::Specialization< ddc::detail::TypeSeq > Indices, misc::Specialization< tensor::Tensor > PositionType, class BatchElem, CellComplex Complex = CellComplex::Primal>
struct sil::exterior::Reduction< Indices, PositionType, BatchElem, Complex >

Definition at line 471 of file reduction_and_reconstruction.hpp.

Member Typedef Documentation

◆ source_index_type

template<misc::Specialization< ddc::detail::TypeSeq > Indices, misc::Specialization< tensor::Tensor > PositionType, class BatchElem , CellComplex Complex = CellComplex::Primal>
using sil::exterior::Reduction< Indices, PositionType, BatchElem, Complex >::source_index_type
Initial value:
tensor::TensorFullIndex,
typename detail::ConvertTypeSeqTo< T, Seq >::type convert_type_seq_to_t
detail::Primes< Indices, I >::type primes
Definition prime.hpp:56

Definition at line 473 of file reduction_and_reconstruction.hpp.

◆ target_index_type

template<misc::Specialization< ddc::detail::TypeSeq > Indices, misc::Specialization< tensor::Tensor > PositionType, class BatchElem , CellComplex Complex = CellComplex::Primal>
using sil::exterior::Reduction< Indices, PositionType, BatchElem, Complex >::target_index_type = reduction_index_t<Indices>

Definition at line 476 of file reduction_and_reconstruction.hpp.

◆ source_natural_elem_type

template<misc::Specialization< ddc::detail::TypeSeq > Indices, misc::Specialization< tensor::Tensor > PositionType, class BatchElem , CellComplex Complex = CellComplex::Primal>
using sil::exterior::Reduction< Indices, PositionType, BatchElem, Complex >::source_natural_elem_type
Initial value:
typename tensor::natural_domain_t<source_index_type>::discrete_element_type

Definition at line 477 of file reduction_and_reconstruction.hpp.

◆ target_natural_elem_type

template<misc::Specialization< ddc::detail::TypeSeq > Indices, misc::Specialization< tensor::Tensor > PositionType, class BatchElem , CellComplex Complex = CellComplex::Primal>
using sil::exterior::Reduction< Indices, PositionType, BatchElem, Complex >::target_natural_elem_type
Initial value:
typename tensor::natural_domain_t<target_index_type>::discrete_element_type

Definition at line 479 of file reduction_and_reconstruction.hpp.

◆ position_index_type

template<misc::Specialization< ddc::detail::TypeSeq > Indices, misc::Specialization< tensor::Tensor > PositionType, class BatchElem , CellComplex Complex = CellComplex::Primal>
using sil::exterior::Reduction< Indices, PositionType, BatchElem, Complex >::position_index_type
Initial value:
ddc::
type_seq_element_t<0, ddc::to_type_seq_t<typename PositionType::indices_domain_t>>

Definition at line 481 of file reduction_and_reconstruction.hpp.

Member Function Documentation

◆ run() [1/2]

template<misc::Specialization< ddc::detail::TypeSeq > Indices, misc::Specialization< tensor::Tensor > PositionType, class BatchElem , CellComplex Complex = CellComplex::Primal>
template<misc::Specialization< tensor::Tensor > ReductionTensorType, misc::Specialization< tensor::Tensor > FormTensorType>
static KOKKOS_FUNCTION void sil::exterior::Reduction< Indices, PositionType, BatchElem, Complex >::run ( ReductionTensorType reduced_tensor,
FormTensorType form_tensor,
PositionType position,
BatchElem elem )
inlinestatic

Definition at line 487 of file reduction_and_reconstruction.hpp.

◆ run() [2/2]

template<misc::Specialization< ddc::detail::TypeSeq > Indices, misc::Specialization< tensor::Tensor > PositionType, class BatchElem , CellComplex Complex = CellComplex::Primal>
template<misc::Specialization< tensor::Tensor > ReductionTensorType, misc::Specialization< tensor::Tensor > FormTensorType, misc::Specialization< tensor::Tensor > MetricType>
static KOKKOS_FUNCTION void sil::exterior::Reduction< Indices, PositionType, BatchElem, Complex >::run ( ReductionTensorType reduced_tensor,
FormTensorType form_tensor,
MetricType metric,
PositionType position,
BatchElem elem )
inlinestatic

Definition at line 534 of file reduction_and_reconstruction.hpp.

◆ value() [1/2]

template<misc::Specialization< ddc::detail::TypeSeq > Indices, misc::Specialization< tensor::Tensor > PositionType, class BatchElem , CellComplex Complex = CellComplex::Primal>
static KOKKOS_FUNCTION double sil::exterior::Reduction< Indices, PositionType, BatchElem, Complex >::value ( PositionType position,
BatchElem elem,
auto natural_elem )
inlinestatic

Definition at line 648 of file reduction_and_reconstruction.hpp.

◆ value() [2/2]

template<misc::Specialization< ddc::detail::TypeSeq > Indices, misc::Specialization< tensor::Tensor > PositionType, class BatchElem , CellComplex Complex = CellComplex::Primal>
template<misc::Specialization< tensor::Tensor > MetricType>
static KOKKOS_FUNCTION double sil::exterior::Reduction< Indices, PositionType, BatchElem, Complex >::value ( MetricType metric,
PositionType position,
BatchElem elem,
auto natural_elem )
inlinestatic

Definition at line 679 of file reduction_and_reconstruction.hpp.


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