SimiLie
Loading...
Searching...
No Matches
sil::multidomains::IndexedScalarField< DDim > Struct Template Reference

Index-only scalar cochain; sampling maps local nodes to global unknowns. More...

#include <indexed_scalar_field.hpp>

Collaboration diagram for sil::multidomains::IndexedScalarField< DDim >:
Collaboration graph

Public Types

using memory_space = Kokkos::DefaultExecutionSpace::memory_space
 
using component_type = sil::tensor::Covariant<sil::tensor::ScalarIndex>
 
using non_indices_domain_t = ddc::DiscreteDomain<DDim...>
 
using discrete_domain_type = ddc::DiscreteDomain<DDim..., component_type>
 
using indices_domain_t = ddc::DiscreteDomain<component_type>
 
using accessor_t = sil::tensor::TensorAccessor<component_type>
 
using discrete_element_type = typename discrete_domain_type::discrete_element_type
 
using natural_domain_t = discrete_domain_type
 
using element_type = double
 

Public Member Functions

KOKKOS_FUNCTION indices_domain_t indices_domain () const
 
KOKKOS_FUNCTION discrete_domain_type domain () const
 
KOKKOS_FUNCTION discrete_domain_type access_domain () const
 
KOKKOS_FUNCTION natural_domain_t natural_domain () const
 
KOKKOS_FUNCTION non_indices_domain_t non_indices_domain () const
 
template<class Element , class Component >
KOKKOS_FUNCTION std::size_t global_index (Element elem, Component) const
 

Static Public Member Functions

static KOKKOS_FUNCTION constexpr accessor_t accessor ()
 

Public Attributes

non_indices_domain_t grid
 
std::size_t const * indices
 

Detailed Description

template<class... DDim>
struct sil::multidomains::IndexedScalarField< DDim >

Index-only scalar cochain; sampling maps local nodes to global unknowns.

Important
This operator and documentation is fully AI-generated. The caller owns the index array in the selected execution space. Nodes use disjoint ownership across domains, in DDC LayoutRight order.

Definition at line 16 of file indexed_scalar_field.hpp.

Member Typedef Documentation

◆ memory_space

template<class... DDim>
using sil::multidomains::IndexedScalarField< DDim >::memory_space = Kokkos::DefaultExecutionSpace::memory_space

Definition at line 18 of file indexed_scalar_field.hpp.

◆ component_type

template<class... DDim>
using sil::multidomains::IndexedScalarField< DDim >::component_type = sil::tensor::Covariant<sil::tensor::ScalarIndex>

Definition at line 19 of file indexed_scalar_field.hpp.

◆ non_indices_domain_t

template<class... DDim>
using sil::multidomains::IndexedScalarField< DDim >::non_indices_domain_t = ddc::DiscreteDomain<DDim...>

Definition at line 20 of file indexed_scalar_field.hpp.

◆ discrete_domain_type

template<class... DDim>
using sil::multidomains::IndexedScalarField< DDim >::discrete_domain_type = ddc::DiscreteDomain<DDim..., component_type>

Definition at line 21 of file indexed_scalar_field.hpp.

◆ indices_domain_t

template<class... DDim>
using sil::multidomains::IndexedScalarField< DDim >::indices_domain_t = ddc::DiscreteDomain<component_type>

Definition at line 22 of file indexed_scalar_field.hpp.

◆ accessor_t

template<class... DDim>
using sil::multidomains::IndexedScalarField< DDim >::accessor_t = sil::tensor::TensorAccessor<component_type>

Definition at line 24 of file indexed_scalar_field.hpp.

◆ discrete_element_type

template<class... DDim>
using sil::multidomains::IndexedScalarField< DDim >::discrete_element_type = typename discrete_domain_type::discrete_element_type

Definition at line 25 of file indexed_scalar_field.hpp.

◆ natural_domain_t

template<class... DDim>
using sil::multidomains::IndexedScalarField< DDim >::natural_domain_t = discrete_domain_type

Definition at line 26 of file indexed_scalar_field.hpp.

◆ element_type

template<class... DDim>
using sil::multidomains::IndexedScalarField< DDim >::element_type = double

Definition at line 27 of file indexed_scalar_field.hpp.

Member Function Documentation

◆ accessor()

template<class... DDim>
static KOKKOS_FUNCTION constexpr accessor_t sil::multidomains::IndexedScalarField< DDim >::accessor ( )
inlinestaticconstexpr

Definition at line 28 of file indexed_scalar_field.hpp.

◆ indices_domain()

template<class... DDim>
KOKKOS_FUNCTION indices_domain_t sil::multidomains::IndexedScalarField< DDim >::indices_domain ( ) const
inline

Definition at line 32 of file indexed_scalar_field.hpp.

◆ domain()

template<class... DDim>
KOKKOS_FUNCTION discrete_domain_type sil::multidomains::IndexedScalarField< DDim >::domain ( ) const
inline

Definition at line 36 of file indexed_scalar_field.hpp.

◆ access_domain()

template<class... DDim>
KOKKOS_FUNCTION discrete_domain_type sil::multidomains::IndexedScalarField< DDim >::access_domain ( ) const
inline

Definition at line 40 of file indexed_scalar_field.hpp.

◆ natural_domain()

template<class... DDim>
KOKKOS_FUNCTION natural_domain_t sil::multidomains::IndexedScalarField< DDim >::natural_domain ( ) const
inline

Definition at line 44 of file indexed_scalar_field.hpp.

◆ non_indices_domain()

template<class... DDim>
KOKKOS_FUNCTION non_indices_domain_t sil::multidomains::IndexedScalarField< DDim >::non_indices_domain ( ) const
inline

Definition at line 52 of file indexed_scalar_field.hpp.

◆ global_index()

template<class... DDim>
template<class Element , class Component >
KOKKOS_FUNCTION std::size_t sil::multidomains::IndexedScalarField< DDim >::global_index ( Element elem,
Component  ) const
inline

Definition at line 58 of file indexed_scalar_field.hpp.

Member Data Documentation

◆ grid

template<class... DDim>
non_indices_domain_t sil::multidomains::IndexedScalarField< DDim >::grid

Definition at line 49 of file indexed_scalar_field.hpp.

◆ indices

template<class... DDim>
std::size_t const* sil::multidomains::IndexedScalarField< DDim >::indices

Definition at line 50 of file indexed_scalar_field.hpp.


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