DDC 0.5.0
Loading...
Searching...
No Matches
ddc::StorageDiscreteDomain<> Class Reference

#include <storage_discrete_domain.hpp>

Collaboration diagram for ddc::StorageDiscreteDomain<>:
Collaboration graph

Public Types

using discrete_element_type = DiscreteElement<>
 
using discrete_vector_type = DiscreteVector<>
 

Public Member Functions

KOKKOS_DEFAULTED_FUNCTION constexpr StorageDiscreteDomain ()=default
 
template<class... ODDims>
KOKKOS_FUNCTION constexpr StorageDiscreteDomain (StorageDiscreteDomain< ODDims... > const &domain)
 
KOKKOS_DEFAULTED_FUNCTION StorageDiscreteDomain (StorageDiscreteDomain const &x)=default
 
KOKKOS_DEFAULTED_FUNCTION StorageDiscreteDomain (StorageDiscreteDomain &&x)=default
 
KOKKOS_DEFAULTED_FUNCTION ~StorageDiscreteDomain ()=default
 
KOKKOS_DEFAULTED_FUNCTION StorageDiscreteDomainoperator= (StorageDiscreteDomain const &x)=default
 
KOKKOS_DEFAULTED_FUNCTION StorageDiscreteDomainoperator= (StorageDiscreteDomain &&x)=default
 
KOKKOS_FUNCTION constexpr bool operator== (StorageDiscreteDomain const &other) const
 
KOKKOS_FUNCTION constexpr bool operator!= (StorageDiscreteDomain const &other) const
 
KOKKOS_FUNCTION constexpr StorageDiscreteDomain take_first (discrete_vector_type n) const
 
KOKKOS_FUNCTION constexpr StorageDiscreteDomain take_last (discrete_vector_type n) const
 
KOKKOS_FUNCTION constexpr StorageDiscreteDomain remove_first (discrete_vector_type n) const
 
KOKKOS_FUNCTION constexpr StorageDiscreteDomain remove_last (discrete_vector_type n) const
 
KOKKOS_FUNCTION constexpr StorageDiscreteDomain remove (discrete_vector_type n1, discrete_vector_type n2) const
 
KOKKOS_FUNCTION constexpr DiscreteElement operator() (DiscreteVector<> const &) const noexcept
 
KOKKOS_FUNCTION constexpr operator bool ()
 

Static Public Member Functions

static KOKKOS_FUNCTION constexpr std::size_t rank ()
 
static KOKKOS_FUNCTION constexpr std::size_t size ()
 
static KOKKOS_FUNCTION constexpr discrete_vector_type extents () noexcept
 
static KOKKOS_FUNCTION constexpr discrete_element_type front () noexcept
 
static KOKKOS_FUNCTION constexpr discrete_element_type back () noexcept
 
static KOKKOS_FUNCTION bool contains () noexcept
 
static KOKKOS_FUNCTION bool contains (DiscreteElement<>) noexcept
 
static KOKKOS_FUNCTION DiscreteVector distance_from_front () noexcept
 
static KOKKOS_FUNCTION DiscreteVector distance_from_front (DiscreteElement<>) noexcept
 
static KOKKOS_FUNCTION constexpr bool empty () noexcept
 

Friends

template<class... >
class StorageDiscreteDomain
 

Detailed Description

Definition at line 370 of file storage_discrete_domain.hpp.

Member Typedef Documentation

◆ discrete_element_type

using ddc::StorageDiscreteDomain<>::discrete_element_type = DiscreteElement<>

Definition at line 376 of file storage_discrete_domain.hpp.

◆ discrete_vector_type

using ddc::StorageDiscreteDomain<>::discrete_vector_type = DiscreteVector<>

Definition at line 378 of file storage_discrete_domain.hpp.

Constructor & Destructor Documentation

◆ StorageDiscreteDomain() [1/4]

KOKKOS_DEFAULTED_FUNCTION constexpr ddc::StorageDiscreteDomain<>::StorageDiscreteDomain ( )
constexprdefault

◆ StorageDiscreteDomain() [2/4]

template<class... ODDims>
KOKKOS_FUNCTION constexpr ddc::StorageDiscreteDomain<>::StorageDiscreteDomain ( StorageDiscreteDomain< ODDims... > const domain)
inlineexplicitconstexpr

Definition at line 389 of file storage_discrete_domain.hpp.

◆ StorageDiscreteDomain() [3/4]

◆ StorageDiscreteDomain() [4/4]

KOKKOS_DEFAULTED_FUNCTION ddc::StorageDiscreteDomain<>::StorageDiscreteDomain ( StorageDiscreteDomain<> &&  x)
default

◆ ~StorageDiscreteDomain()

Member Function Documentation

◆ rank()

static KOKKOS_FUNCTION constexpr std::size_t ddc::StorageDiscreteDomain<>::rank ( )
inlinestaticconstexpr

Definition at line 380 of file storage_discrete_domain.hpp.

◆ operator=() [1/2]

◆ operator=() [2/2]

◆ operator==()

◆ operator!=()

◆ size()

static KOKKOS_FUNCTION constexpr std::size_t ddc::StorageDiscreteDomain<>::size ( )
inlinestaticconstexpr

Definition at line 419 of file storage_discrete_domain.hpp.

◆ extents()

static KOKKOS_FUNCTION constexpr discrete_vector_type ddc::StorageDiscreteDomain<>::extents ( )
inlinestaticconstexprnoexcept

Definition at line 424 of file storage_discrete_domain.hpp.

◆ front()

Definition at line 429 of file storage_discrete_domain.hpp.

◆ back()

Definition at line 434 of file storage_discrete_domain.hpp.

◆ take_first()

◆ take_last()

◆ remove_first()

Definition at line 451 of file storage_discrete_domain.hpp.

◆ remove_last()

◆ remove()

◆ operator()()

◆ contains() [1/2]

static KOKKOS_FUNCTION bool ddc::StorageDiscreteDomain<>::contains ( )
inlinestaticnoexcept

Definition at line 476 of file storage_discrete_domain.hpp.

◆ contains() [2/2]

static KOKKOS_FUNCTION bool ddc::StorageDiscreteDomain<>::contains ( DiscreteElement<>  )
inlinestaticnoexcept

Definition at line 481 of file storage_discrete_domain.hpp.

◆ distance_from_front() [1/2]

static KOKKOS_FUNCTION DiscreteVector ddc::StorageDiscreteDomain<>::distance_from_front ( )
inlinestaticnoexcept

Definition at line 486 of file storage_discrete_domain.hpp.

◆ distance_from_front() [2/2]

static KOKKOS_FUNCTION DiscreteVector ddc::StorageDiscreteDomain<>::distance_from_front ( DiscreteElement<>  )
inlinestaticnoexcept

Definition at line 491 of file storage_discrete_domain.hpp.

◆ empty()

static KOKKOS_FUNCTION constexpr bool ddc::StorageDiscreteDomain<>::empty ( )
inlinestaticconstexprnoexcept

Definition at line 496 of file storage_discrete_domain.hpp.

◆ operator bool()

Definition at line 501 of file storage_discrete_domain.hpp.

Friends And Related Symbol Documentation

◆ StorageDiscreteDomain

template<class... >
friend class StorageDiscreteDomain
friend

Definition at line 373 of file storage_discrete_domain.hpp.


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