#include <DistributedMapper.h>
Public Types | |
typedef Interval< Dim > | Domain_t |
typedef Node< Domain_t > | Value_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 |
It dispatches to one of ContiguousMapper, UniformMapper and BisectionMapper based on the size and structure of contexts and nodes (patches).
typedef Interval<Dim> DistributedMapper< Dim >::Domain_t |
Reimplemented from ContextMapper< Dim >.
typedef Node<Domain_t> DistributedMapper< Dim >::Value_t |
Reimplemented from ContextMapper< Dim >.
typedef std::vector<Value_t *> DistributedMapper< Dim >::List_t |
Reimplemented from ContextMapper< Dim >.
DistributedMapper< Dim >::DistributedMapper | ( | const Partitioner & | gp | ) | [inline] |
void DistributedMapper< Dim >::map | ( | const List_t & | templist | ) | const [inline, virtual] |
Implements ContextMapper< Dim >.
References Pooma::contexts(), and DistributedMapper< Dim >::uniformMap().
void DistributedMapper< Dim >::uniformMap | ( | const Loc< 1 > & | blocks, | |
const List_t & | templist, | |||
const WrappedInt< 1 > & | ||||
) | const [inline] |
Referenced by DistributedMapper< Dim >::map().
void DistributedMapper< Dim >::uniformMap | ( | const Loc< D > & | , | |
const List_t & | , | |||
const WrappedInt< D > & | ||||
) | const [inline] |
References PAssert.