PPL Logo

CkSectionID Class Reference

A class that holds complete info about an array/group section. More...

#include <cksection.h>

Collaboration diagram for CkSectionID:

Collaboration graph
[legend]

Public Member Functions

 CkSectionID ()
 CkSectionID (const CkSectionID &sid)
 CkSectionID (CkSectionInfo &c, CkArrayIndex *e, int n, int *_pelist, int _npes)
 CkSectionID (const CkGroupID &gid, const int *_pelist, const int _npes)
 CKSECTIONID_CONSTRUCTOR (1D) CKSECTIONID_CONSTRUCTOR(2D) CKSECTIONID_CONSTRUCTOR(3D) CKSECTIONID_CONSTRUCTOR(4D) CKSECTIONID_CONSTRUCTOR(5D) CKSECTIONID_CONSTRUCTOR(6D) CKSECTIONID_CONSTRUCTOR(Max) inline int getSectionID()
void operator= (const CkSectionID &)
 ~CkSectionID ()
void pup (PUP::er &p)

Data Fields

CkSectionInfo _cookie
 Minimal section info.
CkArrayIndex_elems
 The list of array indices that are section members.
int _nElems
 The number of section members.
intpelist
 A list of PEs that host section members.
int npes
 The number of PEs that host section members.

Detailed Description

A class that holds complete info about an array/group section.

Describes section members, host PEs, current section status etc.

Definition at line 177 of file cksection.h.


Constructor & Destructor Documentation

CkSectionID::CkSectionID (  )  [inline]

Definition at line 197 of file cksection.h.

CkSectionID::CkSectionID ( const CkSectionID sid  ) 

Definition at line 420 of file ck.C.

References _cookie, _elems, _nElems, npes, and pelist.

CkSectionID::CkSectionID ( CkSectionInfo c,
CkArrayIndex e,
int  n,
int _pelist,
int  _npes 
) [inline]

Definition at line 199 of file cksection.h.

CkSectionID::CkSectionID ( const CkGroupID gid,
const int _pelist,
const int  _npes 
)

CkSectionID::~CkSectionID (  )  [inline]

Definition at line 211 of file cksection.h.

References _elems, and pelist.


Member Function Documentation

CkSectionID::CKSECTIONID_CONSTRUCTOR ( 1D   )  [inline]

void CkSectionID::operator= ( const CkSectionID sid  ) 

Definition at line 435 of file ck.C.

References _cookie, _elems, _nElems, npes, and pelist.

void CkSectionID::pup ( PUP::er p  ) 

Definition at line 450 of file ck.C.

References _cookie, _elems, _nElems, PUP::er::isUnpacking(), npes, p, and pelist.


Field Documentation

A list of PEs that host section members.

Note:
: Two reasons: (i) potentially extend sections to groups (ii) For array sections these point to the processors (ranks in commlib) the destinations array elements are on

: Currently not saved when pupped across processors

Definition at line 193 of file cksection.h.

Referenced by CkCallback::CkCallback(), CkSectionID(), ComlibInitSectionID(), CkDelegateMgr::GroupSectionSend(), CkDelegateMgr::NodeGroupSectionSend(), operator=(), pup(), PUPmarshall(), CharmMessageHolder::saveCopyOf_sec_id(), CkCallback::send(), and ~CkSectionID().


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

Generated on Fri May 25 08:02:23 2012 for Charm++ by  doxygen 1.5.5