SimiLie
Loading...
Searching...
No Matches
sil::exterior::CochainIterator< CochainType > Class Template Reference

#include <cochain.hpp>

Collaboration diagram for sil::exterior::CochainIterator< CochainType >:
Collaboration graph

Public Types

using iterator_category = std::random_access_iterator_tag
 
using value_type = typename CochainType::cosimplex_type
 
using difference_type = std::ptrdiff_t
 
using pointer = value_type*
 
using reference = value_type&
 
using cosimplex_type = typename CochainType::cosimplex_type
 
using chain_iterator = typename CochainType::chain_type::iterator_type
 
using values_iterator = Kokkos::Experimental::Impl::RandomAccessIterator<typename CochainType::values_type>
 

Public Member Functions

KOKKOS_DEFAULTED_FUNCTION CochainIterator ()=default
 
KOKKOS_FUNCTION constexpr CochainIterator (chain_iterator chain_it, values_iterator values_it)
 
KOKKOS_FUNCTION constexpr value_type operator* () const noexcept
 
KOKKOS_FUNCTION constexpr CochainIteratoroperator++ ()
 
KOKKOS_FUNCTION constexpr CochainIterator operator++ (int)
 
KOKKOS_FUNCTION constexpr CochainIteratoroperator-- ()
 
KOKKOS_FUNCTION constexpr CochainIterator operator-- (int)
 
KOKKOS_FUNCTION constexpr CochainIteratoroperator+= (difference_type n)
 
KOKKOS_FUNCTION constexpr CochainIteratoroperator-= (difference_type n)
 

Friends

KOKKOS_FUNCTION constexpr bool operator== (CochainIterator const &xx, CochainIterator const &yy)
 
KOKKOS_FUNCTION constexpr bool operator< (CochainIterator const &xx, CochainIterator const &yy)
 
KOKKOS_FUNCTION constexpr bool operator> (CochainIterator const &xx, CochainIterator const &yy)
 
KOKKOS_FUNCTION constexpr bool operator<= (CochainIterator const &xx, CochainIterator const &yy)
 
KOKKOS_FUNCTION constexpr bool operator>= (CochainIterator const &xx, CochainIterator const &yy)
 
KOKKOS_FUNCTION constexpr CochainIterator operator+ (CochainIterator i, difference_type n)
 
KOKKOS_FUNCTION constexpr CochainIterator operator+ (difference_type n, CochainIterator i)
 
KOKKOS_FUNCTION constexpr CochainIterator operator- (CochainIterator i, difference_type n)
 
KOKKOS_FUNCTION constexpr difference_type operator- (CochainIterator const &xx, CochainIterator const &yy)
 

Detailed Description

template<typename CochainType>
class sil::exterior::CochainIterator< CochainType >

Definition at line 222 of file cochain.hpp.

Member Typedef Documentation

◆ iterator_category

template<typename CochainType >
using sil::exterior::CochainIterator< CochainType >::iterator_category = std::random_access_iterator_tag

Definition at line 225 of file cochain.hpp.

◆ value_type

template<typename CochainType >
using sil::exterior::CochainIterator< CochainType >::value_type = typename CochainType::cosimplex_type

Definition at line 226 of file cochain.hpp.

◆ difference_type

template<typename CochainType >
using sil::exterior::CochainIterator< CochainType >::difference_type = std::ptrdiff_t

Definition at line 227 of file cochain.hpp.

◆ pointer

template<typename CochainType >
using sil::exterior::CochainIterator< CochainType >::pointer = value_type*

Definition at line 228 of file cochain.hpp.

◆ reference

template<typename CochainType >
using sil::exterior::CochainIterator< CochainType >::reference = value_type&

Definition at line 229 of file cochain.hpp.

◆ cosimplex_type

template<typename CochainType >
using sil::exterior::CochainIterator< CochainType >::cosimplex_type = typename CochainType::cosimplex_type

Definition at line 231 of file cochain.hpp.

◆ chain_iterator

template<typename CochainType >
using sil::exterior::CochainIterator< CochainType >::chain_iterator = typename CochainType::chain_type::iterator_type

Definition at line 233 of file cochain.hpp.

◆ values_iterator

template<typename CochainType >
using sil::exterior::CochainIterator< CochainType >::values_iterator = Kokkos::Experimental::Impl::RandomAccessIterator<typename CochainType::values_type>

Definition at line 234 of file cochain.hpp.

Constructor & Destructor Documentation

◆ CochainIterator() [1/2]

template<typename CochainType >
KOKKOS_DEFAULTED_FUNCTION sil::exterior::CochainIterator< CochainType >::CochainIterator ( )
default

◆ CochainIterator() [2/2]

template<typename CochainType >
KOKKOS_FUNCTION constexpr sil::exterior::CochainIterator< CochainType >::CochainIterator ( chain_iterator chain_it,
values_iterator values_it )
inlineexplicitconstexpr

Definition at line 243 of file cochain.hpp.

Member Function Documentation

◆ operator*()

template<typename CochainType >
KOKKOS_FUNCTION constexpr value_type sil::exterior::CochainIterator< CochainType >::operator* ( ) const
inlineconstexprnoexcept

Definition at line 251 of file cochain.hpp.

◆ operator++() [1/2]

template<typename CochainType >
KOKKOS_FUNCTION constexpr CochainIterator & sil::exterior::CochainIterator< CochainType >::operator++ ( )
inlineconstexpr

Definition at line 264 of file cochain.hpp.

◆ operator++() [2/2]

template<typename CochainType >
KOKKOS_FUNCTION constexpr CochainIterator sil::exterior::CochainIterator< CochainType >::operator++ ( int )
inlineconstexpr

Definition at line 271 of file cochain.hpp.

◆ operator--() [1/2]

template<typename CochainType >
KOKKOS_FUNCTION constexpr CochainIterator & sil::exterior::CochainIterator< CochainType >::operator-- ( )
inlineconstexpr

Definition at line 278 of file cochain.hpp.

◆ operator--() [2/2]

template<typename CochainType >
KOKKOS_FUNCTION constexpr CochainIterator sil::exterior::CochainIterator< CochainType >::operator-- ( int )
inlineconstexpr

Definition at line 285 of file cochain.hpp.

◆ operator+=()

template<typename CochainType >
KOKKOS_FUNCTION constexpr CochainIterator & sil::exterior::CochainIterator< CochainType >::operator+= ( difference_type n)
inlineconstexpr

Definition at line 292 of file cochain.hpp.

◆ operator-=()

template<typename CochainType >
KOKKOS_FUNCTION constexpr CochainIterator & sil::exterior::CochainIterator< CochainType >::operator-= ( difference_type n)
inlineconstexpr

Definition at line 299 of file cochain.hpp.

Friends And Related Symbol Documentation

◆ operator==

template<typename CochainType >
KOKKOS_FUNCTION constexpr bool operator== ( CochainIterator< CochainType > const & xx,
CochainIterator< CochainType > const & yy )
friend

Definition at line 313 of file cochain.hpp.

◆ operator<

template<typename CochainType >
KOKKOS_FUNCTION constexpr bool operator< ( CochainIterator< CochainType > const & xx,
CochainIterator< CochainType > const & yy )
friend

Definition at line 320 of file cochain.hpp.

◆ operator>

template<typename CochainType >
KOKKOS_FUNCTION constexpr bool operator> ( CochainIterator< CochainType > const & xx,
CochainIterator< CochainType > const & yy )
friend

Definition at line 327 of file cochain.hpp.

◆ operator<=

template<typename CochainType >
KOKKOS_FUNCTION constexpr bool operator<= ( CochainIterator< CochainType > const & xx,
CochainIterator< CochainType > const & yy )
friend

Definition at line 334 of file cochain.hpp.

◆ operator>=

template<typename CochainType >
KOKKOS_FUNCTION constexpr bool operator>= ( CochainIterator< CochainType > const & xx,
CochainIterator< CochainType > const & yy )
friend

Definition at line 341 of file cochain.hpp.

◆ operator+ [1/2]

template<typename CochainType >
KOKKOS_FUNCTION constexpr CochainIterator operator+ ( CochainIterator< CochainType > i,
difference_type n )
friend

Definition at line 348 of file cochain.hpp.

◆ operator+ [2/2]

template<typename CochainType >
KOKKOS_FUNCTION constexpr CochainIterator operator+ ( difference_type n,
CochainIterator< CochainType > i )
friend

Definition at line 353 of file cochain.hpp.

◆ operator- [1/2]

template<typename CochainType >
KOKKOS_FUNCTION constexpr CochainIterator operator- ( CochainIterator< CochainType > i,
difference_type n )
friend

Definition at line 358 of file cochain.hpp.

◆ operator- [2/2]

template<typename CochainType >
KOKKOS_FUNCTION constexpr difference_type operator- ( CochainIterator< CochainType > const & xx,
CochainIterator< CochainType > const & yy )
friend

Definition at line 363 of file cochain.hpp.


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