DynamicLayoutData Class Reference

Holds the data for a DynamicLayout. More...

#include <DynamicLayout.h>

Inheritance diagram for DynamicLayoutData:

Inheritance graph
[legend]
Collaboration diagram for DynamicLayoutData:

Collaboration graph
[legend]

List of all members.

Public Types

enum  { dimensions = 1 }
enum  { repartitionEvent = 1 }
enum  { dynamic = true }
typedef DynamicLayoutData This_t
typedef Observable< This_tObservable_t
typedef Interval< 1 > Domain_t
typedef Interval< 1 > BaseDomain_t
typedef int Context_t
typedef Unique::Value_t ID_t
typedef Node< Domain_tValue_t
typedef std::vector< Value_t * > List_t
typedef int AxisIndex_t
typedef DynamicEvents::PatchID_t PatchID_t
typedef DynamicEvents::CreateSize_t CreateSize_t

Public Member Functions

 DynamicLayoutData ()
template<class Partitioner >
 DynamicLayoutData (const Domain_t &gdom, const Partitioner &gpar, const ContextMapper< 1 > &cmap)
 ~DynamicLayoutData ()
template<class Partitioner >
void initialize (const Domain_t &gdom, const Partitioner &gpar, const ContextMapper< 1 > &cmap)
void initialize (const Domain_t &gdom, const List_t &nodes)
template<class Partitioner >
void initialize (const Grid< 1 > &gdom, const Partitioner &gpar)
ID_t ID () const
bool initialized () const
int blocks () const
bool dirty () const
const Domain_tdomain () const
const Domain_townedDomain () const
const Domain_tdomain (int i) const
const Domain_townedDomain (int i) const
const Domain_tallocatedDomain (int i) const
const Domain_tpatchDomain (int i) const
const Domain_tpatchDomainOwned (int i) const
List_tnodeListGlobal ()
List_tnodeListLocal ()
List_tnodeListRemote ()
int globalID (const Loc< 1 > &) const
int globalID (int) const
template<class OtherDomain , class OutIter , class ConstructTag >
int touches (const OtherDomain &fulld, OutIter o, const ConstructTag &ctag) const
void create (CreateSize_t num, PatchID_t patch=(-1))
template<class Dom , class DestroyMethod >
void destroy (const Dom &dom, PatchID_t fromPatch, const DestroyMethod &)
template<class Dom , class DestroyMethod >
void destroy (const Dom &gdom, const DestroyMethod &)
template<class Dom >
void copy (const Dom &dom, PatchID_t toPatch=(-1))
template<class Dom >
void copy (const Dom &dom, PatchID_t fromPatch, PatchID_t toPatch)
void copy (const IndirectionList< IndirectionList< int > > &domlists, const IndirectionList< int > &fromlist, PatchID_t toPatch, bool docreate)
void sync ()
template<class Out >
void print (Out &ostr)


Detailed Description

Holds the data for a DynamicLayout.

That class has a ref counted instance of this class


Member Typedef Documentation

typedef std::vector<Value_t *> DynamicLayoutData::List_t


Member Enumeration Documentation

anonymous enum

Enumerator:
dimensions 

anonymous enum

Enumerator:
repartitionEvent 

anonymous enum

Enumerator:
dynamic 


Constructor & Destructor Documentation

DynamicLayoutData::DynamicLayoutData (  ) 

template<class Partitioner >
DynamicLayoutData::DynamicLayoutData ( const Domain_t gdom,
const Partitioner &  gpar,
const ContextMapper< 1 > &  cmap 
) [inline]

References initialize().

DynamicLayoutData::~DynamicLayoutData (  ) 


Member Function Documentation

template<class Partitioner >
void DynamicLayoutData::initialize ( const Domain_t gdom,
const Partitioner &  gpar,
const ContextMapper< 1 > &  cmap 
) [inline]

References Pooma::context(), CTAssert, and PAssert.

Referenced by DynamicLayoutData(), and initialize().

void DynamicLayoutData::initialize ( const Domain_t gdom,
const List_t nodes 
) [inline]

References Pooma::context().

template<class Partitioner >
void DynamicLayoutData::initialize ( const Grid< 1 > &  gdom,
const Partitioner &  gpar 
) [inline]

References initialize().

ID_t DynamicLayoutData::ID (  )  const [inline]

bool DynamicLayoutData::initialized (  )  const [inline]

Referenced by touches().

int DynamicLayoutData::blocks (  )  const [inline]

bool DynamicLayoutData::dirty (  )  const [inline]

const Domain_t& DynamicLayoutData::domain (  )  const [inline]

const Domain_t& DynamicLayoutData::ownedDomain (  )  const [inline]

const Domain_t& DynamicLayoutData::domain ( int  i  )  const [inline]

References PAssert.

const Domain_t& DynamicLayoutData::ownedDomain ( int  i  )  const [inline]

References domain().

const Domain_t& DynamicLayoutData::allocatedDomain ( int  i  )  const [inline]

References domain().

const Domain_t& DynamicLayoutData::patchDomain ( int  i  )  const [inline]

References domain().

const Domain_t& DynamicLayoutData::patchDomainOwned ( int  i  )  const [inline]

References domain().

List_t& DynamicLayoutData::nodeListGlobal (  )  [inline]

List_t& DynamicLayoutData::nodeListLocal (  )  [inline]

List_t& DynamicLayoutData::nodeListRemote (  )  [inline]

int DynamicLayoutData::globalID ( const Loc< 1 > &   )  const

Referenced by touches().

int DynamicLayoutData::globalID ( int   )  const

template<class OtherDomain , class OutIter , class ConstructTag >
int DynamicLayoutData::touches ( const OtherDomain &  fulld,
OutIter  o,
const ConstructTag &  ctag 
) const [inline]

void DynamicLayoutData::create ( CreateSize_t  num,
PatchID_t  patch = (-1) 
)

template<class Dom , class DestroyMethod >
void DynamicLayoutData::destroy ( const Dom &  dom,
PatchID_t  fromPatch,
const DestroyMethod &   
) [inline]

template<class Dom , class DestroyMethod >
void DynamicLayoutData::destroy ( const Dom &  gdom,
const DestroyMethod &   
) [inline]

template<class Dom >
void DynamicLayoutData::copy ( const Dom &  dom,
PatchID_t  toPatch = (-1) 
) [inline]

template<class Dom >
void DynamicLayoutData::copy ( const Dom &  dom,
PatchID_t  fromPatch,
PatchID_t  toPatch 
) [inline]

void DynamicLayoutData::copy ( const IndirectionList< IndirectionList< int > > &  domlists,
const IndirectionList< int > &  fromlist,
PatchID_t  toPatch,
bool  docreate 
)

void DynamicLayoutData::sync (  ) 

template<class Out >
void DynamicLayoutData::print ( Out &  ostr  )  [inline]

References std::endl().


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

Generated on Wed Mar 16 06:20:00 2011 for FreePOOMA by  doxygen 1.5.9