Public Member Functions | Public Attributes | Friends

LibGeoDecomp::Streak< DIM > Class Template Reference

A single run-lenght coded fragment of the StreakCollection. More...

#include <streak.h>

Collaboration diagram for LibGeoDecomp::Streak< DIM >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Streak (const Coord< DIM > &origin=Coord< DIM >(), int endX=0)
Coord< DIM > end () const
bool operator== (const Streak &other) const
int length () const

Public Attributes

Coord< DIM > origin
int endX

Friends

class Serialization
class Typemaps

Detailed Description

template<int DIM>
class LibGeoDecomp::Streak< DIM >

A single run-lenght coded fragment of the StreakCollection.

In the 2D case, it begins at origin (x, y) and runs until (endX, y). endX points just one past the last contained coordinate. It can be tagged as follows:


Constructor & Destructor Documentation

template<int DIM>
LibGeoDecomp::Streak< DIM >::Streak ( const Coord< DIM > &  origin = Coord<DIM>(),
int  endX = 0 
) [inline, explicit]

Member Function Documentation

template<int DIM>
Coord<DIM> LibGeoDecomp::Streak< DIM >::end (  )  const [inline]
template<int DIM>
int LibGeoDecomp::Streak< DIM >::length (  )  const [inline]
template<int DIM>
bool LibGeoDecomp::Streak< DIM >::operator== ( const Streak< DIM > &  other  )  const [inline]

Friends And Related Function Documentation

template<int DIM>
friend class Serialization [friend]
template<int DIM>
friend class Typemaps [friend]

Member Data Documentation

template<int DIM>
int LibGeoDecomp::Streak< DIM >::endX
template<int DIM>
Coord<DIM> LibGeoDecomp::Streak< DIM >::origin

Referenced by LibGeoDecomp::Region< Topology::DIM >::determineGeometry(), LibGeoDecomp::Streak< 3 >::end(), LibGeoDecomp::Region< Topology::DIM >::expand(), LibGeoDecomp::Region< Topology::DIM >::expandWithTopology(), LibGeoDecomp::Grid< Color >::Grid(), LibGeoDecomp::RegionHelpers::RegionIntersectHelper< 0 >::intersects(), LibGeoDecomp::RegionHelpers::RegionIntersectHelper< DIM >::intersects(), LibGeoDecomp::Streak< 3 >::length(), LibGeoDecomp::RegionHelpers::RegionIntersectHelper< DIM >::lessThan(), LibGeoDecomp::SoAGrid< CELL, TOPOLOGY, TOPOLOGICALLY_CORRECT >::loadRegion(), LibGeoDecomp::Region< Topology::DIM >::normalizeStreak(), LibGeoDecomp::Region< Topology::DIM >::operator&(), LibGeoDecomp::VanillaUpdateFunctor< CELL >::operator()(), LibGeoDecomp::LinePointerUpdateFunctor< CELL, DIM, true, 0, BOUNDARY_TOP, BOUNDARY_BOTTOM, BOUNDARY_SOUTH, BOUNDARY_NORTH >::operator()(), LibGeoDecomp::LinePointerUpdateFunctor< CELL, DIM, HIGH, CUR_DIM, BOUNDARY_TOP, BOUNDARY_BOTTOM, BOUNDARY_SOUTH, BOUNDARY_NORTH >::operator()(), LibGeoDecomp::LinePointerAssemblyHelpers::DetermineLinePointerCoord< 3 >::operator()(), LibGeoDecomp::LinePointerAssemblyHelpers::DetermineLinePointerCoord< 2 >::operator()(), LibGeoDecomp::LinePointerAssemblyHelpers::CalcXCoord< 0 >::operator()(), LibGeoDecomp::LinePointerAssemblyHelpers::CalcXCoord<-1 >::operator()(), LibGeoDecomp::RegionHelpers::RegionRemoveHelper< 0 >::operator()(), LibGeoDecomp::RegionHelpers::RegionRemoveHelper< DIM >::operator()(), LibGeoDecomp::RegionHelpers::RegionInsertHelper< 0 >::operator()(), LibGeoDecomp::RegionHelpers::RegionInsertHelper< DIM >::operator()(), LibGeoDecomp::RegionHelpers::RegionLookupHelper< 0 >::operator()(), LibGeoDecomp::RegionHelpers::RegionLookupHelper< DIM >::operator()(), LibGeoDecomp::RegionHelpers::ConstructStreakFromIterators< 0 >::operator()(), LibGeoDecomp::RegionHelpers::ConstructStreakFromIterators< DIM >::operator()(), LibGeoDecomp::operator<<(), LibGeoDecomp::Streak< 3 >::operator==(), LibGeoDecomp::Region< Topology::DIM >::operator>>(), LibGeoDecomp::SoAGrid< CELL, TOPOLOGY, TOPOLOGICALLY_CORRECT >::saveRegion(), LibGeoDecomp::Region< Topology::DIM >::splitStreak(), LibGeoDecomp::CollectingWriter< CELL_TYPE >::stepFinished(), LibGeoDecomp::UpdateFunctorTestBase< STENCIL >::testSplittedTraversal(), and LibGeoDecomp::Region< Topology::DIM >::trimStreak().


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