Public Member Functions | Private Member Functions | Private Attributes

LibGeoDecomp::CheckerboardingPartition< DIM > Class Template Reference

#include <checkerboardingpartition.h>

Inherits LibGeoDecomp::Partition< DIM >.

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

List of all members.

Public Member Functions

 CheckerboardingPartition (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))
Region< DIM > getRegion (const std::size_t node) const

Private Member Functions

Coord< DIM > getNodeGridDim (const std::size_t totalNodes) const
int * minElement (Coord< DIM > &coord) const
std::vector< std::size_t > primeFactors (std::size_t limit) const

Private Attributes

Coord< DIM > origin
Coord< DIM > dimensions
Coord< DIM > nodeGridDim

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


Constructor & Destructor Documentation

template<int DIM>
LibGeoDecomp::CheckerboardingPartition< DIM >::CheckerboardingPartition ( 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 DIM>
Coord<DIM> LibGeoDecomp::CheckerboardingPartition< DIM >::getNodeGridDim ( const std::size_t  totalNodes  )  const [inline, private]
template<int DIM>
Region<DIM> LibGeoDecomp::CheckerboardingPartition< DIM >::getRegion ( const std::size_t  node  )  const [inline, virtual]
template<int DIM>
int* LibGeoDecomp::CheckerboardingPartition< DIM >::minElement ( Coord< DIM > &  coord  )  const [inline, private]
template<int DIM>
std::vector<std::size_t> LibGeoDecomp::CheckerboardingPartition< DIM >::primeFactors ( std::size_t  limit  )  const [inline, private]

Member Data Documentation

template<int DIM>
Coord<DIM> LibGeoDecomp::CheckerboardingPartition< DIM >::dimensions [private]
template<int DIM>
Coord<DIM> LibGeoDecomp::CheckerboardingPartition< DIM >::nodeGridDim [private]
template<int DIM>
Coord<DIM> LibGeoDecomp::CheckerboardingPartition< DIM >::origin [private]

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