OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
BrickCounter< Dim > Class Template Reference

#include <BrickIterator.h>

Inheritance diagram for BrickCounter< Dim >:
Inheritance graph
[legend]
Collaboration diagram for BrickCounter< Dim >:
Collaboration graph
[legend]

Public Member Functions

 BrickCounter ()
 
 BrickCounter (const NDIndex< Dim > &)
 
BrickCounteroperator++ ()
 
bool done (unsigned d) const
 
void step (unsigned d)
 
void rewind (unsigned d)
 
int size (unsigned d) const
 
int GetOffset (unsigned d) const
 

Protected Member Functions

void op_pp ()
 

Protected Attributes

vec< int, DimCounters
 
vec< int, DimCounts
 

Detailed Description

template<unsigned Dim>
class BrickCounter< Dim >

Definition at line 22 of file BrickIterator.h.

Constructor & Destructor Documentation

◆ BrickCounter() [1/2]

template<unsigned Dim>
BrickCounter< Dim >::BrickCounter ( )
inline

Definition at line 27 of file BrickIterator.h.

◆ BrickCounter() [2/2]

template<unsigned Dim>
BrickCounter< Dim >::BrickCounter ( const NDIndex< Dim > &  counted)

Definition at line 36 of file BrickIterator.hpp.

References Dim.

Member Function Documentation

◆ done()

template<unsigned Dim>
bool BrickCounter< Dim >::done ( unsigned  d) const
inline

◆ GetOffset()

template<unsigned Dim>
int BrickCounter< Dim >::GetOffset ( unsigned  d) const
inline

◆ op_pp()

template<unsigned Dim>
void BrickCounter< Dim >::op_pp
protected

Definition at line 49 of file BrickIterator.hpp.

References Dim.

Referenced by BrickCounter< Dim >::operator++().

◆ operator++()

template<unsigned Dim>
BrickCounter& BrickCounter< Dim >::operator++ ( )
inline

Definition at line 33 of file BrickIterator.h.

References BrickCounter< Dim >::op_pp().

Here is the call graph for this function:

◆ rewind()

template<unsigned Dim>
void BrickCounter< Dim >::rewind ( unsigned  d)
inline

◆ size()

template<unsigned Dim>
int BrickCounter< Dim >::size ( unsigned  d) const
inline

◆ step()

template<unsigned Dim>
void BrickCounter< Dim >::step ( unsigned  d)
inline

Member Data Documentation

◆ Counters

template<unsigned Dim>
vec<int,Dim> BrickCounter< Dim >::Counters
protected

◆ Counts

template<unsigned Dim>
vec<int,Dim> BrickCounter< Dim >::Counts
protected

Definition at line 51 of file BrickIterator.h.

Referenced by BrickCounter< Dim >::done(), and BrickCounter< Dim >::size().


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