#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 |
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.
References baseDomain_m, DynamicLayout::globalID(), and layout_m.
Referenced by computeSubdomains(), 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] |
void DynamicLayoutViewData::computeSubdomains | ( | ) | const [inline] |
void DynamicLayoutViewData::localToBase | ( | const Domain & | d, | |
BaseDomain_t & | bd | |||
) | const [inline] |
void DynamicLayoutViewData::baseToLocal | ( | const BaseDomain_t & | bd, | |
Interval< 1 > & | d | |||
) | const [inline] |
Referenced by computeSubdomains(), DynamicLayoutViewData(), globalID(), and touches().
Referenced by baseToLocal(), computeSubdomains(), DynamicLayoutViewData(), globalID(), and localToBase().
List_t DynamicLayoutViewData::all_m [mutable] |
Referenced by computeSubdomains(), and ~DynamicLayoutViewData().
List_t DynamicLayoutViewData::local_m [mutable] |
Referenced by computeSubdomains().
List_t DynamicLayoutViewData::remote_m [mutable] |
Referenced by computeSubdomains().
bool DynamicLayoutViewData::subdomainsComputed_m [mutable] |
Referenced by computeSubdomains().