Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Attributes | Static Private Attributes | Friends

LibGeoDecomp::ZCurvePartition< DIMENSIONS > Class Template Reference

#include <zcurvepartition.h>

Inherits SpaceFillingCurve< DIMENSIONS >.

Collaboration diagram for LibGeoDecomp::ZCurvePartition< DIMENSIONS >:
Collaboration graph
[legend]

List of all members.

Classes

class  Iterator
class  Square

Public Types

typedef std::vector< Coord< DIM > > CoordVector
typedef Grid< CoordVector,
typename Topologies::Cube< DIM >
::Topology
GridType
typedef boost::shared_ptr
< GridType
Cache
typedef Topologies::Cube< DIM >
::Topology 
Topology

Public Member Functions

 ZCurvePartition (const Coord< DIM > &origin=Coord< DIM >(), const Coord< DIM > &dimensions=Coord< DIM >(), const long &offset=0, const std::vector< std::size_t > &weights=std::vector< std::size_t >(2))
Iterator operator[] (const unsigned &i) const
Iterator begin () const
Iterator end () const
Region< DIMgetRegion (const std::size_t node) const

Static Public Member Functions

static bool fillCaches ()

Static Public Attributes

static const int DIM = DIMENSIONS

Private Attributes

Coord< DIMorigin
Coord< DIMdimensions

Static Private Attributes

static Cache coordsCache
static Coord< DIMENSIONS > maxCachedDimensions
static bool cachesInitialized = ZCurvePartition<DIM>::fillCaches()

Friends

class ZCurvePartitionTest

template<int DIMENSIONS>
class LibGeoDecomp::ZCurvePartition< DIMENSIONS >


Member Typedef Documentation

template<int DIMENSIONS>
typedef boost::shared_ptr<GridType> LibGeoDecomp::ZCurvePartition< DIMENSIONS >::Cache
template<int DIMENSIONS>
typedef std::vector<Coord<DIM> > LibGeoDecomp::ZCurvePartition< DIMENSIONS >::CoordVector
template<int DIMENSIONS>
typedef Grid<CoordVector, typename Topologies::Cube<DIM>::Topology> LibGeoDecomp::ZCurvePartition< DIMENSIONS >::GridType
template<int DIMENSIONS>
typedef Topologies::Cube<DIM>::Topology LibGeoDecomp::ZCurvePartition< DIMENSIONS >::Topology

Constructor & Destructor Documentation

template<int DIMENSIONS>
LibGeoDecomp::ZCurvePartition< DIMENSIONS >::ZCurvePartition ( const Coord< DIM > &  origin = Coord<DIM>(),
const Coord< DIM > &  dimensions = Coord<DIM>(),
const long &  offset = 0,
const std::vector< std::size_t > &  weights = std::vector<std::size_t>(2) 
) [inline, explicit]

Member Function Documentation

template<int DIMENSIONS>
Iterator LibGeoDecomp::ZCurvePartition< DIMENSIONS >::begin (  )  const [inline]
template<int DIMENSIONS>
Iterator LibGeoDecomp::ZCurvePartition< DIMENSIONS >::end (  )  const [inline]
template<int DIMENSIONS>
static bool LibGeoDecomp::ZCurvePartition< DIMENSIONS >::fillCaches (  )  [inline, static]
template<int DIMENSIONS>
Region<DIM> LibGeoDecomp::ZCurvePartition< DIMENSIONS >::getRegion ( const std::size_t  node  )  const [inline, virtual]
template<int DIMENSIONS>
Iterator LibGeoDecomp::ZCurvePartition< DIMENSIONS >::operator[] ( const unsigned i  )  const [inline]

Friends And Related Function Documentation

template<int DIMENSIONS>
friend class ZCurvePartitionTest [friend]

Member Data Documentation

template<int DIMENSIONS>
bool LibGeoDecomp::ZCurvePartition< DIM >::cachesInitialized = ZCurvePartition<DIM>::fillCaches() [static, private]
template<int DIMENSIONS>
ZCurvePartition< DIM >::Cache LibGeoDecomp::ZCurvePartition< DIM >::coordsCache [static, private]
template<int DIMENSIONS>
const int LibGeoDecomp::ZCurvePartition< DIMENSIONS >::DIM = DIMENSIONS [static]
template<int DIMENSIONS>
Coord<DIM> LibGeoDecomp::ZCurvePartition< DIMENSIONS >::dimensions [private]
template<int DIMENSIONS>
Coord< DIM > LibGeoDecomp::ZCurvePartition< DIM >::maxCachedDimensions [static, private]
template<int DIMENSIONS>
Coord<DIM> LibGeoDecomp::ZCurvePartition< DIMENSIONS >::origin [private]

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