FreePOOMA
2.4.1
|
The data object held by a DynamicLayoutView object. More...
#include <DynamicLayout.h>
Public Types | |
typedef DynamicLayout | Layout_t |
typedef DynamicLayoutView | ViewLayout_t |
typedef Interval< 1 > | Domain_t |
typedef Range< 1 > | BaseDomain_t |
typedef int | Context_t |
typedef Unique::Value_t | ID_t |
typedef Layout_t::Domain_t | AllocatedDomain_t |
typedef Node< Domain_t, AllocatedDomain_t > | Value_t |
typedef std::vector< Value_t * > | List_t |
typedef DynamicLayoutViewData | LayoutData_t |
Public Member Functions | |
DynamicLayoutViewData () | |
template<class DT > | |
DynamicLayoutViewData (const Layout_t &layout, const Domain< 1, DT > &dom) | |
template<class DT > | |
DynamicLayoutViewData (const ViewLayout_t &layout, const Domain< 1, DT > &dom) | |
~DynamicLayoutViewData () | |
int | globalID (const Loc< 1 > &loc, Loc< 1 > &oloc) const |
int | globalID (int i0, Loc< 1 > &oloc) const |
template<class OtherDomain , class OutIter , class ConstructTag > | |
int | touches (const OtherDomain &d, OutIter o, const ConstructTag &ctag) const |
void | computeSubdomains () const |
template<class Domain > | |
void | localToBase (const Domain &d, BaseDomain_t &bd) const |
void | baseToLocal (const BaseDomain_t &bd, Interval< 1 > &d) const |
Public Attributes | |
ID_t | id_m |
DynamicLayout | layout_m |
Domain_t | domain_m |
BaseDomain_t | baseDomain_m |
List_t | all_m |
List_t | local_m |
List_t | remote_m |
bool | subdomainsComputed_m |
The data object held by a DynamicLayoutView object.
typedef Interval<1> DynamicLayoutViewData::Domain_t |
typedef Range<1> DynamicLayoutViewData::BaseDomain_t |
typedef int DynamicLayoutViewData::Context_t |
typedef std::vector<Value_t *> DynamicLayoutViewData::List_t |
DynamicLayoutViewData::DynamicLayoutViewData | ( | ) | [inline] |
DynamicLayoutViewData::DynamicLayoutViewData | ( | const Layout_t & | layout, |
const Domain< 1, DT > & | dom | ||
) | [inline] |
References contains(), DynamicLayout::domain(), DynamicLayout::initialized(), layout_m, PAssert, and DomainBase< DT >::unwrap().
DynamicLayoutViewData::DynamicLayoutViewData | ( | const ViewLayout_t & | layout, |
const Domain< 1, DT > & | dom | ||
) | [inline] |
DynamicLayoutViewData::~DynamicLayoutViewData | ( | ) | [inline] |
References all_m.
int DynamicLayoutViewData::globalID | ( | const Loc< 1 > & | loc, |
Loc< 1 > & | oloc | ||
) | const [inline] |
References baseDomain_m, DynamicLayout::globalID(), and layout_m.
Referenced by computeSubdomains(), DynamicLayoutView::globalID(), and touches().
int DynamicLayoutViewData::globalID | ( | int | i0, |
Loc< 1 > & | oloc | ||
) | const [inline] |
References baseDomain_m, DynamicLayout::globalID(), and layout_m.
int DynamicLayoutViewData::touches | ( | const OtherDomain & | d, |
OutIter | o, | ||
const ConstructTag & | ctag | ||
) | const [inline] |
References baseToLocal(), Pooma::context(), RefCounted::count(), globalID(), layout_m, localToBase(), DynamicLayout::touches(), and touchesConstruct().
Referenced by DynamicLayoutView::touches(), and DynamicLayoutView::touchesLocal().
void DynamicLayoutViewData::computeSubdomains | ( | ) | const [inline] |
void DynamicLayoutViewData::localToBase | ( | const Domain & | d, |
BaseDomain_t & | bd | ||
) | const [inline] |
References baseDomain_m.
Referenced by DynamicLayoutView::localToBase(), and touches().
void DynamicLayoutViewData::baseToLocal | ( | const BaseDomain_t & | bd, |
Interval< 1 > & | d | ||
) | const [inline] |
References baseDomain_m, and PAssert.
Referenced by computeSubdomains(), and touches().
Referenced by DynamicLayoutView::ID().
Referenced by DynamicLayoutView::domain().
Referenced by DynamicLayoutView::baseDomain(), baseToLocal(), computeSubdomains(), DynamicLayoutViewData(), globalID(), and localToBase().
List_t DynamicLayoutViewData::all_m [mutable] |
List_t DynamicLayoutViewData::local_m [mutable] |
List_t DynamicLayoutViewData::remote_m [mutable] |
bool DynamicLayoutViewData::subdomainsComputed_m [mutable] |
Referenced by computeSubdomains().