Documentation 6b54b78464
Loading...
Searching...
No Matches
DummyGridColor< T > Struct Template Reference

A way to represent natural coloring {0,1,2,...,size-1} with zero overhead (behaves like looping with an integer index, after optimization...). More...

#include <graph_toolbox.hpp>

Classes

struct  IteratorLikeInt
 

Public Member Functions

 DummyGridColor (T sz=0)
 
IteratorLikeInt begin () const
 
IteratorLikeInt end () const
 

Public Attributes

T size
 
struct { 
 
} indices 
 

Detailed Description

template<typename T = su2uint>
struct DummyGridColor< T >

A way to represent natural coloring {0,1,2,...,size-1} with zero overhead (behaves like looping with an integer index, after optimization...).

Constructor & Destructor Documentation

◆ DummyGridColor()

template<typename T = su2uint>
DummyGridColor< T >::DummyGridColor ( T  sz = 0)
inline

Member Function Documentation

◆ begin()

template<typename T = su2uint>
IteratorLikeInt DummyGridColor< T >::begin ( ) const
inline

◆ end()

template<typename T = su2uint>
IteratorLikeInt DummyGridColor< T >::end ( ) const
inline

Member Data Documentation

◆ [struct]

struct { ... } DummyGridColor< T >::indices

◆ size

template<typename T = su2uint>
T DummyGridColor< T >::size

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