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

#include <reduction_and_reconstruction.hpp>

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

Public Types

using staged_storage_type
 
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<CochainType ReductionTensorType, FormType FormTensorType>
static KOKKOS_FUNCTION void operator() (ReductionTensorType const &reduced_tensor, FormTensorType const &form_tensor, PositionType const &position, BatchElem elem)
 
template<CochainType ReductionTensorType, FormType FormTensorType, misc::Specialization< tensor::Tensor > MetricType>
static KOKKOS_FUNCTION void operator() (ReductionTensorType const &reduced_tensor, FormTensorType const &form_tensor, MetricType const &metric, PositionType const &position, BatchElem elem)
 
static KOKKOS_FUNCTION double value (PositionType const &position, BatchElem elem, auto natural_elem)
 
static KOKKOS_FUNCTION detail::LocalOperatorStencil< reduction_index_t< tensor::primes< tensor::upper_t< Indices > > >, target_index_type > value (PositionType const &position, BatchElem element)
 
template<misc::Specialization< tensor::Tensor > MetricType>
static KOKKOS_FUNCTION detail::LocalOperatorStencil< reduction_index_t< tensor::primes< tensor::upper_t< Indices > > >, target_index_type > value (MetricType const &metric, PositionType const &position, BatchElem element)
 
template<misc::Specialization< tensor::Tensor > MetricType>
static KOKKOS_FUNCTION double value (MetricType const &metric, PositionType const &position, BatchElem elem, auto natural_elem)
 

Static Public Attributes

static constexpr bool input_is_form = true
 
static constexpr bool output_is_form = false
 

Detailed Description

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

Definition at line 372 of file reduction_and_reconstruction.hpp.

Member Typedef Documentation

◆ staged_storage_type

template<misc::Specialization< ddc::TypeSeq > Indices, misc::Specialization< tensor::Tensor > PositionType, class BatchElem , CellComplex Complex = CellComplex::Primal, template< class... > class Coefficients = tensor::TensorFullIndex>
using sil::exterior::Reduction< Indices, PositionType, BatchElem, Complex, Coefficients >::staged_storage_type
Initial value:
detail::LinearLocalOperatorStorage<
Reduction,
typename PositionType::memory_space,
typename PositionType::memory_space::execution_space,
Coefficients>
typename detail::ReductionTargetIndex< Indices >::type reduction_index_t
typename detail::ConvertTypeSeqTo< T, Seq >::type convert_type_seq_to_t

Definition at line 383 of file reduction_and_reconstruction.hpp.

◆ source_index_type

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

Definition at line 392 of file reduction_and_reconstruction.hpp.

◆ target_index_type

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

Definition at line 395 of file reduction_and_reconstruction.hpp.

◆ source_natural_elem_type

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

Definition at line 396 of file reduction_and_reconstruction.hpp.

◆ target_natural_elem_type

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

Definition at line 398 of file reduction_and_reconstruction.hpp.

◆ position_index_type

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

Definition at line 400 of file reduction_and_reconstruction.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<misc::Specialization< ddc::TypeSeq > Indices, misc::Specialization< tensor::Tensor > PositionType, class BatchElem , CellComplex Complex = CellComplex::Primal, template< class... > class Coefficients = tensor::TensorFullIndex>
template<CochainType ReductionTensorType, FormType FormTensorType>
static KOKKOS_FUNCTION void sil::exterior::Reduction< Indices, PositionType, BatchElem, Complex, Coefficients >::operator() ( ReductionTensorType const & reduced_tensor,
FormTensorType const & form_tensor,
PositionType const & position,
BatchElem elem )
inlinestatic

Definition at line 404 of file reduction_and_reconstruction.hpp.

◆ operator()() [2/2]

template<misc::Specialization< ddc::TypeSeq > Indices, misc::Specialization< tensor::Tensor > PositionType, class BatchElem , CellComplex Complex = CellComplex::Primal, template< class... > class Coefficients = tensor::TensorFullIndex>
template<CochainType ReductionTensorType, FormType FormTensorType, misc::Specialization< tensor::Tensor > MetricType>
static KOKKOS_FUNCTION void sil::exterior::Reduction< Indices, PositionType, BatchElem, Complex, Coefficients >::operator() ( ReductionTensorType const & reduced_tensor,
FormTensorType const & form_tensor,
MetricType const & metric,
PositionType const & position,
BatchElem elem )
inlinestatic

Definition at line 462 of file reduction_and_reconstruction.hpp.

◆ value() [1/4]

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

Definition at line 636 of file reduction_and_reconstruction.hpp.

◆ value() [2/4]

template<misc::Specialization< ddc::TypeSeq > Indices, misc::Specialization< tensor::Tensor > PositionType, class BatchElem , CellComplex Complex = CellComplex::Primal, template< class... > class Coefficients = tensor::TensorFullIndex>
static KOKKOS_FUNCTION detail::LocalOperatorStencil< reduction_index_t< tensor::primes< tensor::upper_t< Indices > > >, target_index_type > sil::exterior::Reduction< Indices, PositionType, BatchElem, Complex, Coefficients >::value ( PositionType const & position,
BatchElem element )
inlinestatic

Definition at line 678 of file reduction_and_reconstruction.hpp.

◆ value() [3/4]

template<misc::Specialization< ddc::TypeSeq > Indices, misc::Specialization< tensor::Tensor > PositionType, class BatchElem , CellComplex Complex = CellComplex::Primal, template< class... > class Coefficients = tensor::TensorFullIndex>
template<misc::Specialization< tensor::Tensor > MetricType>
static KOKKOS_FUNCTION detail::LocalOperatorStencil< reduction_index_t< tensor::primes< tensor::upper_t< Indices > > >, target_index_type > sil::exterior::Reduction< Indices, PositionType, BatchElem, Complex, Coefficients >::value ( MetricType const & metric,
PositionType const & position,
BatchElem element )
inlinestatic

Definition at line 715 of file reduction_and_reconstruction.hpp.

◆ value() [4/4]

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

Definition at line 751 of file reduction_and_reconstruction.hpp.

Member Data Documentation

◆ input_is_form

template<misc::Specialization< ddc::TypeSeq > Indices, misc::Specialization< tensor::Tensor > PositionType, class BatchElem , CellComplex Complex = CellComplex::Primal, template< class... > class Coefficients = tensor::TensorFullIndex>
bool sil::exterior::Reduction< Indices, PositionType, BatchElem, Complex, Coefficients >::input_is_form = true
staticconstexpr

Definition at line 380 of file reduction_and_reconstruction.hpp.

◆ output_is_form

template<misc::Specialization< ddc::TypeSeq > Indices, misc::Specialization< tensor::Tensor > PositionType, class BatchElem , CellComplex Complex = CellComplex::Primal, template< class... > class Coefficients = tensor::TensorFullIndex>
bool sil::exterior::Reduction< Indices, PositionType, BatchElem, Complex, Coefficients >::output_is_form = false
staticconstexpr

Definition at line 381 of file reduction_and_reconstruction.hpp.


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