|
FreePOOMA
2.4.1
|
TilePartition is a layout partitioner; it is created with the info needed to partition a global domain into a (possibly sparse) list of Dim dimensional non-overlapping patches. More...
#include <TilePartition.h>
Public Types | |
| enum | { uniform = false } |
| enum | { gridded = false } |
| enum | { tile = true } |
| enum | { general = true } |
| enum | { dimensions = Dim } |
| typedef LocalMapper< Dim > | DefaultMapper_t |
| typedef Interval< Dim > | Domain_t |
| typedef std::vector< Domain_t > | PatchList_t |
| typedef Node< Domain_t > | Value_t |
| typedef std::vector< Value_t * > | List_t |
Public Member Functions | |
| TilePartition () | |
| TilePartition (const PatchList_t &pList) | |
| TilePartition (const PatchList_t &pList, const GuardLayers< Dim > &gcs) | |
| TilePartition (const PatchList_t &pList, const GuardLayers< Dim > &igcs, const GuardLayers< Dim > &egcs) | |
| TilePartition (const TilePartition< Dim > &b) | |
| ~TilePartition () | |
| TilePartition< Dim > & | operator= (const TilePartition< Dim > &g) |
| int | maxSize () const |
| PatchList_t | tileList () |
| bool | hasGuards () const |
| bool | hasCustomEdgeGuards () const |
| bool | hasInternalGuards () const |
| bool | hasExternalGuards () const |
| const GuardLayers< Dim > & | internalGuards () const |
| const GuardLayers< Dim > & | externalGuards () const |
| template<class D > | |
| int | partition (const D &bbox, List_t &all, const ContextMapper< Dim > &cmapper) const |
| template<class D > | |
| int | partition (const D &bbox, List_t &all) const |
| template<class Out > | |
| void | print (Out &o) const |
TilePartition is a layout partitioner; it is created with the info needed to partition a global domain into a (possibly sparse) list of Dim dimensional non-overlapping patches.
A TilePartition object is constructed with the following information: TilePartition()) Creates an empty partition, with no guard cells
TilePartition(const PatchList_t &plist) Creates patches from plist
TilePartition(const PatchList_t &plist, const GuardLayers<Dim> &gcs) Same as above, with internal and external guard cell sizes set to gcs.
TilePartition(const PatchList_t &plist, const GuardLayers<Dim> &igcs, const GuardLayers<Dim> &egcs) Same as above, with internal and external guard cell sizes specified independently.
| typedef LocalMapper<Dim> TilePartition< Dim >::DefaultMapper_t |
| typedef Interval<Dim> TilePartition< Dim >::Domain_t |
| typedef std::vector<Domain_t> TilePartition< Dim >::PatchList_t |
| typedef Node<Domain_t> TilePartition< Dim >::Value_t |
| typedef std::vector<Value_t *> TilePartition< Dim >::List_t |
| TilePartition< Dim >::TilePartition | ( | ) | [inline] |
| TilePartition< Dim >::TilePartition | ( | const PatchList_t & | pList | ) | [inline] |
| TilePartition< Dim >::TilePartition | ( | const PatchList_t & | pList, |
| const GuardLayers< Dim > & | gcs | ||
| ) | [inline] |
| TilePartition< Dim >::TilePartition | ( | const PatchList_t & | pList, |
| const GuardLayers< Dim > & | igcs, | ||
| const GuardLayers< Dim > & | egcs | ||
| ) | [inline] |
| TilePartition< Dim >::TilePartition | ( | const TilePartition< Dim > & | b | ) | [inline] |
| TilePartition< Dim >::~TilePartition | ( | ) | [inline] |
| TilePartition<Dim>& TilePartition< Dim >::operator= | ( | const TilePartition< Dim > & | g | ) | [inline] |
References TilePartition< Dim >::maxSize(), and TilePartition< Dim >::tileList().
| int TilePartition< Dim >::maxSize | ( | ) | const [inline] |
Referenced by TilePartition< Dim >::operator=().
| PatchList_t TilePartition< Dim >::tileList | ( | ) | [inline] |
Referenced by TilePartition< Dim >::operator=().
| bool TilePartition< Dim >::hasGuards | ( | ) | const [inline] |
| bool TilePartition< Dim >::hasCustomEdgeGuards | ( | ) | const [inline] |
| bool TilePartition< Dim >::hasInternalGuards | ( | ) | const [inline] |
| bool TilePartition< Dim >::hasExternalGuards | ( | ) | const [inline] |
| const GuardLayers<Dim>& TilePartition< Dim >::internalGuards | ( | ) | const [inline] |
| const GuardLayers<Dim>& TilePartition< Dim >::externalGuards | ( | ) | const [inline] |
| int TilePartition< Dim >::partition | ( | const D & | bbox, |
| List_t & | all, | ||
| const ContextMapper< Dim > & | cmapper | ||
| ) | const |
References CTAssert, ContextMapper< Dim >::map(), and Domain< Dim, DT >::size().
Referenced by TilePartition< Dim >::partition().
| int TilePartition< Dim >::partition | ( | const D & | bbox, |
| List_t & | all | ||
| ) | const [inline] |
References TilePartition< Dim >::partition().
References std::endl().
1.7.6.1