FreePOOMA  2.4.1
Public Types | Public Member Functions
DistributedMapper< Dim > Class Template Reference

DistributedMapper is a ContextMapper implementation. More...

#include <DistributedMapper.h>

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

List of all members.

Public Types

typedef Interval< Dim > Domain_t
typedef Node< Domain_tValue_t
typedef std::vector< Value_t * > List_t

Public Member Functions

template<class Partitioner >
 DistributedMapper (const Partitioner &gp)
void map (const List_t &templist) const
void uniformMap (const Loc< 1 > &blocks, const List_t &templist, const WrappedInt< 1 > &) const
template<int D>
void uniformMap (const Loc< D > &, const List_t &, const WrappedInt< D > &) const

Detailed Description

template<int Dim>
class DistributedMapper< Dim >

DistributedMapper is a ContextMapper implementation.

It dispatches to one of ContiguousMapper, UniformMapper and BisectionMapper based on the size and structure of contexts and nodes (patches).


Member Typedef Documentation

template<int Dim>
typedef Interval<Dim> DistributedMapper< Dim >::Domain_t

Reimplemented from ContextMapper< Dim >.

template<int Dim>
typedef Node<Domain_t> DistributedMapper< Dim >::Value_t

Reimplemented from ContextMapper< Dim >.

template<int Dim>
typedef std::vector<Value_t *> DistributedMapper< Dim >::List_t

Reimplemented from ContextMapper< Dim >.


Constructor & Destructor Documentation

template<int Dim>
template<class Partitioner >
DistributedMapper< Dim >::DistributedMapper ( const Partitioner &  gp) [inline]

Member Function Documentation

template<int Dim>
void DistributedMapper< Dim >::map ( const List_t templist) const [virtual]

Implements ContextMapper< Dim >.

References Pooma::contexts().

template<int Dim>
void DistributedMapper< Dim >::uniformMap ( const Loc< 1 > &  blocks,
const List_t templist,
const WrappedInt< 1 > &   
) const [inline]

References UniformMapper::map().

template<int Dim>
template<int D>
void DistributedMapper< Dim >::uniformMap ( const Loc< D > &  ,
const List_t ,
const WrappedInt< D > &   
) const [inline]

References PAssert.


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