CkVec< T > Class Template Reference

A typesafe, automatically growing array. More...

#include <cklists.h>

Inheritance diagram for CkVec< T >:

Inheritance graph
[legend]
Collaboration diagram for CkVec< T >:

Collaboration graph
[legend]

Public Member Functions

 CkVec ()
 ~CkVec ()
 CkVec (const this_type &src)
 CkVec (int size)
 CkVec (int size, int used)
 CkVec (const CkSkipInitialization &skip)
this_typeoperator= (const this_type &src)
intlength (void)
int length (void) const
TgetVec (void)
const TgetVec (void) const
Toperator[] (size_t n)
const Toperator[] (size_t n) const
int reserve (int newcapacity)
 Reserve at least this much space (changes capacity, size unchanged).
int capacity (void) const
int resize (int newsize)
 Set our length to this value.
void free ()
 Set our length to this value.
void growAtLeast (int pos)
void insert (int pos, const T &elt)
void remove (int pos)
void removeAll ()
void insertAtEnd (const T &elt)
void push_back (const T &elt)
int size (void) const
int push_back_v (const T &elt)
int pupbase (PUP::er &p)
void pup (PUP::er &p)
void quickSort ()
void quickSort (int changeOverSize)
void q_sort (int left, int right, int changeOverSize)
void bubbleSort (int left, int right)

Private Types

typedef CkVec< Tthis_type

Private Member Functions

void makeBlock (int blklen_, int len_)
void freeBlock (void)
void copyFrom (const this_type &src)

Private Attributes

Tblock
int blklen
int len

Detailed Description

template<class T>
class CkVec< T >

A typesafe, automatically growing array.

Classes used must have a default constructor and working copy constructor. This class is modelled after, but *not* identical to, the (still nonportable) std::vector. The elements of the array are pup'd using plain old "p|elt;".

Definition at line 175 of file cklists.h.


Member Typedef Documentation

template<class T>
typedef CkVec<T> CkVec< T >::this_type [private]

Reimplemented in CkPupPtrVec< T, PUP_PTR >, CkPupAblePtrVec< T >, CkPupPtrVec< CkVeckVec< int > >, CkPupPtrVec< InfoStruct >, CkPupPtrVec< arrInfo >, CkPupPtrVec< IDXL_List, CkPupAlwaysAllocatePtr< IDXL_List > >, CkPupPtrVec< T >, CkPupPtrVec< win_obj >, CkPupPtrVec< KeyvalPair >, CkPupPtrVec< FEM_Mesh >, CkPupPtrVec< CkVec< int >, CkPupAlwaysAllocatePtr< CkVec< int > > >, CkPupPtrVec< Armci_Note >, CkPupPtrVec< KeyvalNode >, CkPupPtrVec< ampiCommStruct >, CkPupPtrVec< WinStruct >, CkPupPtrVec< T, CkPupAlwaysAllocatePtr< T > >, CkPupPtrVec< Armci_Hdl >, CkPupAblePtrVec< CkArrayListener >, and CkPupAblePtrVec< FEM_Sym_Desc >.

Definition at line 176 of file cklists.h.


Constructor & Destructor Documentation

template<class T>
CkVec< T >::CkVec (  )  [inline]

Definition at line 199 of file cklists.h.

template<class T>
CkVec< T >::~CkVec (  )  [inline]

Definition at line 200 of file cklists.h.

template<class T>
CkVec< T >::CkVec ( const this_type src  )  [inline]

Definition at line 201 of file cklists.h.

template<class T>
CkVec< T >::CkVec ( int  size  )  [inline]

Definition at line 202 of file cklists.h.

template<class T>
CkVec< T >::CkVec ( int  size,
int  used 
) [inline]

Definition at line 203 of file cklists.h.

template<class T>
CkVec< T >::CkVec ( const CkSkipInitialization skip  )  [inline]

Definition at line 204 of file cklists.h.


Member Function Documentation

template<class T>
void CkVec< T >::makeBlock ( int  blklen_,
int  len_ 
) [inline, private]

Definition at line 181 of file cklists.h.

Referenced by CkVec< CkZeroPtr< T, PUP_PTR > >::CkVec(), CkVec< CkZeroPtr< T, PUP_PTR > >::copyFrom(), and CkVec< CkZeroPtr< T, PUP_PTR > >::reserve().

template<class T>
void CkVec< T >::freeBlock ( void   )  [inline, private]

Definition at line 189 of file cklists.h.

Referenced by CkVec< CkZeroPtr< T, PUP_PTR > >::free(), CkVec< CkZeroPtr< T, PUP_PTR > >::operator=(), and CkVec< CkZeroPtr< T, PUP_PTR > >::~CkVec().

template<class T>
void CkVec< T >::copyFrom ( const this_type src  )  [inline, private]

Definition at line 194 of file cklists.h.

Referenced by CkVec< CkZeroPtr< T, PUP_PTR > >::CkVec(), and CkVec< CkZeroPtr< T, PUP_PTR > >::operator=().

template<class T>
this_type& CkVec< T >::operator= ( const this_type src  )  [inline]

Reimplemented in CkPupAblePtrVec< CkArrayListener >, and CkPupAblePtrVec< FEM_Sym_Desc >.

Definition at line 205 of file cklists.h.

template<class T>
int& CkVec< T >::length ( void   )  [inline]

Definition at line 211 of file cklists.h.

Referenced by BgTimeLog::addBackwardDep(), BgTimeLog::addBackwardDeps(), ComlibArrayListener::addElement(), LBDB::AddObj(), LBDB::AddOM(), CkReductionMgr::adj(), adjustTimeLog(), BgTimeLog::bDepExists(), ampiParent::cartChildRegister(), CkMulticastMgr::childrenReady(), CkMemCheckPT::CkMemCheckPT(), TraceArray::clearTrace(), ComlibManager::collectStats(), CkMulticastMgr::combineFrags(), RefinerComm::commAffinity(), CkPupAblePtrVec< FEM_Sym_Desc >::copy_from(), CentralLB::createMigrateMsg(), CkNodeReductionMgr::DeleteChild(), taskGraphArray::deleteElement(), ComlibArrayListener::deleteElement(), CkNodeReductionMgr::DeleteNewChild(), FEM_chunk::emptyList(), FEMchunk::emptyList(), CkReductionMgr::endArrayReduction(), FEM_VarIndexAttribute::findInRow(), CkReductionMgr::finishReduction(), CkReductionMgr::flushStates(), CkMulticastMgr::freeup(), BgTimeLog::getEndOfBackwardDeps(), TraceBluegene::getForwardDep(), CkSemaPool::getNew(), LBDB::GetObjData(), ampiParent::graphChildRegister(), CkMulticastMgr::initCookie(), CkVec< CkZeroPtr< T, PUP_PTR > >::insertAtEnd(), LBTopoVec::length(), CkMigratableList::length(), LBDatabase::loadbalancer(), ParFUMShadowArray::lockLocalNodes(), ParFUMShadowArray::lockRegion(), ParFUMShadowArray::lockSharedIdxls(), mCastEntry::mCastEntry(), LBDB::Migrated(), FEM_Mesh::n2e_getAll(), FEM_Mesh::n2e_getElem(), FEM_Mesh::n2e_getLength(), FEM_Mesh::n2e_remove(), FEM_Mesh::n2e_replace(), FEM_Mesh::n2n_exists(), FEM_Mesh::n2n_getAll(), FEM_Mesh::n2n_getLength(), FEM_Mesh::n2n_remove(), FEM_Mesh::n2n_replace(), RefinerComm::objCommCost(), BgTimeLog::print(), LBTopoVec::print(), BgTimeLog::pup(), CkVec< CkZeroPtr< T, PUP_PTR > >::push_back(), CkVec< CkZeroPtr< T, PUP_PTR > >::push_back_v(), CkMulticastMgr::recvCookie(), CkMulticastMgr::recvMsg(), CkMulticastMgr::recvPacket(), CkMulticastMgr::recvRedMsg(), CkMulticastMgr::reduceFragment(), CkMulticastMgr::releaseBufferedReduceMsgs(), CkMulticastMgr::releaseFutureReduceMsgs(), LBDB::RemoveStartLBFn(), replyAdjacencyRequests(), CkMulticastMgr::retire(), BgTimeLog::send(), CkMulticastMgr::setup(), CkRegisteredInfo< T >::size(), LBDB::StartLB(), WSLB::Strategy(), NeighborLB::Strategy(), taskGraphAdd(), taskGraphArray::taskGraphArray(), TCHARM_Get_global(), CkMulticastMgr::teardown(), uniquify(), UniqElemList< T >::uniquify(), ParFUMShadowArray::unlockLocalNodes(), ParFUMShadowArray::unlockRegion(), ParFUMShadowArray::unlockReply(), ParFUMShadowArray::unlockSharedIdxls(), update_new_element_e2e(), updateEffRecvTime(), BgTimeLog::updateEvents(), CkMulticastMgr::updateRedNo(), LBDB::useMem(), VectorStrategy(), BgTimeLog::write(), BgTimeLog::~BgTimeLog(), and LBTopoVec::~LBTopoVec().

template<class T>
int CkVec< T >::length ( void   )  const [inline]

Definition at line 212 of file cklists.h.

template<class T>
T* CkVec< T >::getVec ( void   )  [inline]

Definition at line 213 of file cklists.h.

Referenced by CkMulticastMgr::ArraySectionSend(), CProxySection_TempoArray::ckNew(), CProxySection_BgNode::ckNew(), HybridBaseLB::CollectInfo(), FEM_Get_ghost_list(), FEM_REFINE2D_Split(), fillLocalAdaptAdjacencies(), FTN_NAME(), ParFUMShadowArray::lockRegion(), HybridBaseLB::PropagateInfo(), HybridBaseLB::ReceiveMigration(), HybridBaseLB::ReceiveVectorMigration(), NodeMulticast::recvHandler(), and CkMulticastMgr::reduceFragment().

template<class T>
const T* CkVec< T >::getVec ( void   )  const [inline]

Definition at line 214 of file cklists.h.

template<class T>
T& CkVec< T >::operator[] ( size_t  n  )  [inline]

Definition at line 216 of file cklists.h.

template<class T>
const T& CkVec< T >::operator[] ( size_t  n  )  const [inline]

Definition at line 224 of file cklists.h.

template<class T>
int CkVec< T >::reserve ( int  newcapacity  )  [inline]

Reserve at least this much space (changes capacity, size unchanged).

Definition at line 233 of file cklists.h.

Referenced by IDXL_Rec::add(), CkVec< CkZeroPtr< T, PUP_PTR > >::growAtLeast(), and CkVec< CkZeroPtr< T, PUP_PTR > >::resize().

template<class T>
int CkVec< T >::capacity ( void   )  const [inline]

Definition at line 242 of file cklists.h.

template<class T>
int CkVec< T >::resize ( int  newsize  )  [inline]

Set our length to this value.

Definition at line 245 of file cklists.h.

Referenced by LBDatabase::addLoadbalancer(), IDXL_Comm::msg_t::allocate(), ampiParent::cartChildRegister(), LV3D0_ClientManager_toClient::checkEmpty(), PhasebyArrayLB::copyStats(), ampiParent::createKeyval(), RingMulticastStrategy::createObjectOnIntermediatePe(), DirectMulticastStrategy::createObjectOnIntermediatePe(), FEM_chunk::exchangeGhostLists(), FEMchunk::exchangeGhostLists(), LBDatabase::getLoadbalancerTicket(), ComlibSectionInfo::getLocalIndices(), ampiParent::graphChildRegister(), ampiParent::groupChildRegister(), ampiParent::interChildRegister(), ampi::intercommMerge(), ampiParent::intraChildRegister(), NumberedVec< CkVec< int > >::makeLonger(), InfoStruct::myfree(), CkLocMgr::nextFree(), ComlibLocalStats::operator=(), BaseLB::LDStats::pup(), PrioStreaming::pup(), ComlibArrayInfo::pup(), CkVec< CkZeroPtr< T, PUP_PTR > >::pupbase(), OrbLB::rec_divide(), ComlibLocalStats::recordRecv(), ComlibLocalStats::recordRecvM(), ComlibLocalStats::recordSend(), ComlibLocalStats::recordSendM(), PropMap::registerArray(), IDXL_Comm::reset(), ComlibLocalStats::setNstrats(), memBuf::setSize(), CkMigratableList::setSize(), MSA_Listeners::signal(), ampiParent::splitChildRegister(), splitter::splitter(), FEM_Userdata_item::store(), uniquify(), UniqElemList< T >::uniquify(), IDXL_Comm::wait(), and OrbLB::work().

template<class T>
void CkVec< T >::free ( void   )  [inline]

Set our length to this value.

Definition at line 252 of file cklists.h.

Referenced by IDXL_Side::clear(), HybridBaseLB::LevelData::clear(), HbmLB::LevelData::clear(), BaseLB::LDStats::clear(), FEM_add_element(), FEM_MUtil::findGhostSend(), CkMarshalledCLBStatsMessage::free(), HybridBaseLB::MigrationDone(), HbmLB::MigrationDone(), FEM_Mesh::n2e_removeAll(), FEM_Mesh::n2n_removeAll(), HybridBaseLB::PropagateInfo(), and PhasebyArrayLB::work().

template<class T>
void CkVec< T >::growAtLeast ( int  pos  )  [inline]

Definition at line 257 of file cklists.h.

Referenced by CkVec< CkZeroPtr< T, PUP_PTR > >::insert().

template<class T>
void CkVec< T >::insert ( int  pos,
const T elt 
) [inline]

Definition at line 260 of file cklists.h.

Referenced by ampi::cartCreatePhase1(), ampi::commCreatePhase1(), ampi::graphCreatePhase1(), CkVec< CkZeroPtr< T, PUP_PTR > >::insertAtEnd(), ampi::intercommCreatePhase1(), ampi::intercommMergePhase1(), CkVec< CkZeroPtr< T, PUP_PTR > >::push_back(), and CkVec< CkZeroPtr< T, PUP_PTR > >::push_back_v().

template<class T>
void CkVec< T >::remove ( int  pos  )  [inline]

Definition at line 267 of file cklists.h.

Referenced by TraceArray::clearTrace(), HybridBaseLB::CollectInfo(), CkNodeReductionMgr::DeleteChild(), InfoStruct::deletek(), CkNodeReductionMgr::DeleteNewChild(), CkNodeReductionMgr::evacuate(), FEM_remove_element(), CkNodeReductionMgr::modifyTree(), FEM_Mesh::n2e_remove(), FEM_Mesh::n2n_remove(), HybridBaseLB::PropagateInfo(), BaseLB::LDStats::removeObject(), and ComlibArrayListener::unregisterStrategy().

template<class T>
void CkVec< T >::removeAll (  )  [inline]

Definition at line 277 of file cklists.h.

Referenced by FEM_AdaptL::edge_contraction_help(), FEM_lock::FEM_lock(), FEM_lock::lock(), and FEM_lock::unlock().

template<class T>
void CkVec< T >::insertAtEnd ( const T elt  )  [inline]

Definition at line 280 of file cklists.h.

Referenced by BgTimeLog::addBackwardDep(), LBDB::AddObj(), LBDB::AddOM(), ComlibManager::AtSync(), HybridBaseLB::createMigrateMsg(), CentralLB::createMigrateMsg(), RingMulticastStrategy::createObjectOnIntermediatePe(), MultiRingMulticast::createObjectOnIntermediatePe(), DirectMulticastStrategy::createObjectOnIntermediatePe(), RingMulticastStrategy::createObjectOnSrcPe(), ComlibSectionInfo::getLocalIndices(), ComlibArrayListener::getLocalIndices(), CkSemaPool::getNew(), ComlibArrayInfo::localBroadcast(), LBDB::NotifyMigrated(), ComlibArrayListener::registerStrategy(), taskGraphArray::requestData(), NodeMulticast::setDestinationArray(), CkMulticastMgr::setup(), WSLB::Strategy(), NeighborLB::Strategy(), and NeighborCommLB::Strategy().

template<class T>
void CkVec< T >::push_back ( const T elt  )  [inline]

Definition at line 283 of file cklists.h.

Referenced by MSA_Listeners::add(), IDXL_Side::add(), IDXL_Rec::add(), FEM_Sym_List::add(), CkMarshalledCLBStatsMessage::add(), CkRegisteredInfo< T >::add(), LBDBRegistry::addCompiletimeBalancer(), BgTimeLog::addEvent(), FEM_Partition::addGhostStencil(), FEM_Partition::addLayer(), IDXL_Side::addList(), CkArray::addListener(), CkArrayOptions::addListener(), BgTimeLog::addMsg(), LBDBRegistry::addRuntimeBalancer(), LBDB::AddStartLBFn(), IDXL_Chunk::addStatic(), addToAdaptAdj(), addToLists(), TraceArray::addTrace(), ampiParent::addWinStruct(), CkReductionMgr::adj(), ampi_beginFunc(), AMPI_Cart_create(), AMPI_Cart_sub(), AMPI_Graph_create(), AMPI_Intercomm_create(), ampiInit(), FEM_MUtil::buildChunkToNodeTable(), CkMemCheckPT::CkMemCheckPT(), CProxySection_TempoArray::ckNew(), CProxySection_BgNode::ckNew(), HybridBaseLB::collectCommData(), HbmLB::collectCommData(), HybridBaseLB::CollectInfo(), ParFUMShadowArray::collectLocalNodes(), threadCollideMgr::collisions(), ComboCentLB::ComboCentLB(), BaseLB::LDStats::computeNonlocalComm(), RefinerComm::create(), ampiParent::createInfo(), ampi::createWinInstance(), taskGraphSolver::dependsOn(), diffOp(), InfoStruct::dup(), ampiParent::dupInfo(), FEM_Adapt::edge_bisect_help(), FEM_AdaptL::edge_contraction_help(), FEM_Adapt::edge_flip_help(), CkReductionMgr::endArrayReduction(), FEM_chunk::exchangeGhostLists(), FEMchunk::exchangeGhostLists(), exclOp(), FEM_add_element(), FEM_add_node_local(), FEM_REFINE2D_Split(), FEM_remove_element(), fillLocalAdaptAdjacencies(), FEM_Userdata_list::find(), FEM_MUtil::findGhostSend(), getRoccomPconn(), inclOp(), CkNodeReductionMgr::init_BinaryTree(), CkNodeReductionMgr::init_BinomialTree(), ampi::intercommMerge(), intersectOp(), LBTopoVec::LBTopoVec(), FEM_lock::lock(), ParFUMShadowArray::lockRegion(), ParFUMShadowArray::lockRegionForRemote(), makeGhost(), ampiCommStruct::makeWorldIndices(), FEM_Entity_numberer::mark(), FEM_Partition::markGhostStencilLayer(), mCastEntry::mCastEntry(), HbmLB::Migrated(), CkNodeReductionMgr::modifyTree(), MulticastAgent::MulticastAgent(), FEM_Mesh::n2e_add(), FEM_Mesh::n2n_add(), ArmciVirtualProcessor::nbget(), ArmciVirtualProcessor::nbgets(), ArmciVirtualProcessor::nbput(), ArmciVirtualProcessor::nbputs(), FEM_Entity_numberer::nextUnoccupied(), ArmciVirtualProcessor::notify_wait(), HybridBaseLB::ObjMigrated(), HbmLB::ObjMigrated(), FEM_Sym_List::operator=(), CkMulticastMgr::prepareCookie(), HybridBaseLB::PropagateInfo(), BgTimeLog::pup(), IDXL_List::push_back(), LBTopoVec::push_back(), FEM_T_List< FEM_Mesh >::put(), ArmciVirtualProcessor::put(), ampiParent::putAttr(), ArmciVirtualProcessor::puts(), rangeExclOp(), rangeInclOp(), HbmLB::ReceiveMigrationDelta(), CkMulticastMgr::recvCookie(), CkMulticastMgr::recvRedMsg(), CkMulticastMgr::reduceFragment(), TraceProjections::regFunc(), ampiParent::registerAmpi(), threadCollideMgr::registerContributor(), FEM_MUtil::Replace_node_local(), replyAdjacencyRequests(), ArmciVirtualProcessor::sendNote(), IDXL_List::set(), FEM_Entity_Types< FEM_Elem >::set(), InfoStruct::set(), FEM_Node::setElemAdjacency(), femMeshModify::setFemMesh(), FEM_Node::setNodeAdjacency(), CkMulticastMgr::setSection(), CkMulticastMgr::setup(), ampi::splitPhase1(), IDXL_Chunk::storeToFreeIndex(), taskGraphAdd(), unionOp(), update_new_element_e2e(), vecIndex(), VectorStrategy(), LV3D0_ClientManager_toClient::whenEmptyCallback(), PhasebyArrayLB::work(), and OrbLB::work().

template<class T>
int CkVec< T >::size ( void   )  const [inline]

Definition at line 284 of file cklists.h.

Referenced by _processBufferedBocInits(), _processBufferedNodeBocInits(), IDXL_Rec::add(), FEM_Sym_List::add(), CkRegisteredInfo< T >::add(), addIDXLists(), LBDB::AddStartLBFn(), IDXL_Chunk::addStatic(), ampiParent::addWinStruct(), ArmciVirtualProcessor::allfence(), AMPI_Comm_compare(), AMPI_Comm_create(), AMPI_Graph_get(), AMPI_Graph_neighbors(), AMPI_Graph_neighbors_count(), AMPI_Testall(), AMPI_Testany(), AMPI_Testsome(), AMPI_Waitall(), AMPI_Waitany(), AMPI_Waitsome(), FEM_Sym_List::applyLoc(), FEM_Sym_List::applyVec(), CkMulticastMgr::ArraySectionSend(), ComlibManager::AtSync(), FEM_T_List< FEM_Mesh >::badIndex(), ampiParent::cartChildRegister(), ampi::cartCreatePhase1(), FEM_T_List< FEM_Mesh >::check(), ampiParent::checkComm(), LV3D0_ClientManager_toClient::checkEmpty(), CkArray::CkArray(), CkMemCheckPT::CkMemCheckPT(), CProxySection_TempoArray::ckNew(), CProxySection_BgNode::ckNew(), CkVec< CkZeroPtr< T, PUP_PTR > >::CkVec(), HybridBaseLB::CollectInfo(), ampi::commCreatePhase1(), compareVecOp(), BaseLB::LDStats::computeNonlocalComm(), splitter::consistencyCheck(), FEM_Entity::copyEntity(), FEM_Entity::copyShape(), ampiParent::createInfo(), ampiParent::createKeyval(), splitter::createMesh(), ampi::createWinInstance(), taskGraphArray::deleteElement(), ampiParent::deleteInfo(), InfoStruct::deletek(), CkNodeReductionMgr::DeleteNewChild(), IDXL_Chunk::destroy(), diffOp(), ampiParent::dupInfo(), FEM_Adapt::edge_bisect_help(), FEM_AdaptL::edge_contraction_help(), FEM_Adapt::edge_flip_help(), FEM_T_List< FEM_Mesh >::empty(), exclOp(), IDXL_List::exists(), FEM_lock::existsChunk(), FEM_add_node_local(), FEM_Get_ghost_list_length(), FEM_Get_roccom_pconn_size(), FEM_Ghost_Essential_attributes(), FEM_Interpolate::FEM_InterpolateCopyAttributes(), FEM_Interpolate::FEM_InterpolateElementCopy(), FEM_Interpolate::FEM_InterpolateNodeInElement(), FEM_Interpolate::FEM_InterpolateNodeOnEdge(), FEM_Interpolate::FEM_InterpolateNodeOnFace(), FEM_REFINE2D_Split(), FEM_Refine_Operation(), FEM_remove_element(), ArmciVirtualProcessor::fence(), fillLocalAdaptAdjacencies(), FEM_Userdata_list::find(), FEM_MUtil::findGhostSend(), IDXL_Side::findLocalList(), CkMarshalledCLBStatsMessage::free(), ampiParent::freeInfo(), ampiParent::freeKeyval(), IDXL_List::get(), FEM_Entity_Types< FEM_Elem >::get(), InfoStruct::get(), BulkAdapt::get_elemsToLock(), InfoStruct::get_nkeys(), InfoStruct::get_nthkey(), InfoStruct::get_valuelen(), ampiParent::getAttr(), FEM_Entity::getAttrs(), ampiParent::getCart(), CkMarshalledCLBStatsMessage::getCount(), femMeshModify::getfmLockN(), ampiParent::getGraph(), ampiParent::getGroup(), ampiCommStruct::getIndexForRemoteRank(), ampiCommStruct::getindices(), ampiCommStruct::getIndices(), ampiParent::getInfo(), ampiParent::getInfoNkeys(), ampiParent::getInfoNthkey(), ampiParent::getInfoValuelen(), ampiParent::getInter(), ampiParent::getIntra(), CkArrayOptions::getListeners(), IDXL_Side::getListN(), IDXL_Side::getMap(), ampiParent::getNextCart(), ampiParent::getNextGraph(), ampiParent::getNextGroup(), ampiParent::getNextInter(), ampiParent::getNextIntra(), ampiParent::getNextSplit(), getPosOp(), ampiCommStruct::getRankForIndex(), FEM_Partition::getRegions(), ampiParent::getRemoteSize(), getRoccomPconn(), IDXL_Rec::getShared(), memBuf::getSize(), ampiParent::getSplit(), ampiParent::graphChildRegister(), ampi::graphCreatePhase1(), ampiParent::groupChildRegister(), FEM_Entity_Types< FEM_Elem >::has(), FEM_Entity_Types< FEM_Elem >::hasNonEmpty(), FEM_Userdata_item::hasStored(), TraceProjections::idxRegistered(), ampiParent::interChildRegister(), ampi::intercommCreatePhase1(), ampi::intercommMerge(), ampi::intercommMergePhase1(), interpolateNode(), intersectOp(), ampiParent::intraChildRegister(), FEM_Adapt::isFixedNode(), femMeshModify::isFixedNodeRemote(), LBDBInit::LBDBInit(), ComlibArrayInfo::localBroadcast(), RectMulticastStrategy::localMulticast(), DirectMulticastStrategy::localMulticast(), ComlibArrayInfo::localMulticast(), FEM_lock::lock(), ParFUMShadowArray::lockRegion(), ParFUMShadowArray::lockReply(), IDXL_Chunk::lookup(), NumberedVec< CkVec< int > >::makeLonger(), FEM_Entity_numberer::mark(), HbmLB::MigrationDone(), MulticastAgent::my_preferred_procs(), InfoStruct::myfree(), ArmciVirtualProcessor::nbget(), ArmciVirtualProcessor::nbgets(), ArmciVirtualProcessor::nbput(), ArmciVirtualProcessor::nbputs(), FEM_Entity_numberer::nextUnoccupied(), ArmciVirtualProcessor::notify_wait(), LBDB::NotifyMigrated(), FEM_Sym_List::operator=(), ComlibLocalStats::operator=(), NumberedVec< CkVec< int > >::operator[](), CkRegisteredInfo< T >::operator[](), CkRegisteredInfo< T >::outOfBounds(), outputOp(), femMeshModify::packElemData(), FEM_MUtil::packEntData(), HybridBaseLB::PropagateInfo(), IDXL_Chunk::pup(), FEM_Entity_Types< FEM_Elem >::pup(), CkMarshalledCLBStatsMessage::pup(), IDXL_List::push_back(), FEM_T_List< FEM_Mesh >::put(), ArmciVirtualProcessor::put(), ampiParent::putAttr(), ArmciVirtualProcessor::puts(), rangeExclOp(), HybridBaseLB::ReceiveMigration(), HybridBaseLB::ReceiveVectorMigration(), NodeMulticast::recvHandler(), PropMap::registerArray(), threadCollideMgr::registerContributor(), threadCollideMgr::remoteCollisions(), CkArray::remoteDoneInserting(), removeFromAdaptAdj(), IDXL_Side::removeNode(), BaseLB::LDStats::removeObject(), replaceAdaptAdjOnEdge(), FEM_Userdata_item::restore(), searchAdjElemInList(), ArmciVirtualProcessor::sendNote(), IDXL_List::set(), FEM_Entity_Types< FEM_Elem >::set(), InfoStruct::set(), ampiParent::setInfo(), femMeshModify::setPointersAfterMigrate(), MSA_Listeners::signal(), MSA_Listeners::size(), IDXL_Side::size(), IDXL_List::size(), FEM_Entity_Types< FEM_Elem >::size(), FEM_Userdata_list::size(), FEM_T_List< FEM_Mesh >::size(), NumberedVec< CkVec< int > >::size(), IDXL_Side::sort2d(), IDXL_List::sort2d(), IDXL_Side::sort3d(), IDXL_List::sort3d(), sortNodeList(), ampiParent::splitChildRegister(), ampi::splitPhase1(), HybridBaseLB::StartCollectInfo(), FEM_Userdata_item::store(), IDXL_Chunk::storeToFreeIndex(), taskGraphArray::tryToSolve(), unionOp(), FEM_lock::unlock(), ParFUMShadowArray::unlockRegion(), ComlibArrayListener::unregisterStrategy(), IDXL_List::unset(), BulkAdapt::update_local_edge_adj(), FEM_MUtil::updateAttrs(), femMeshModify::updateNodeAttrs(), CkNodeReductionMgr::updateTree(), HybridBaseLB::LevelData::useMem(), HybridBaseLB::useMem(), HbmLB::LevelData::useMem(), vecIndex(), ArmciVirtualProcessor::waitall(), ArmciVirtualProcessor::waitproc(), OrbLB::work(), CkRegisteredInfo< T >::~CkRegisteredInfo(), FEM_Entity_Types< FEM_Elem >::~FEM_Entity_Types(), IDXL_Chunk::~IDXL_Chunk(), and MSA_Listeners::~MSA_Listeners().

template<class T>
int CkVec< T >::push_back_v ( const T elt  )  [inline]

Definition at line 287 of file cklists.h.

template<class T>
int CkVec< T >::pupbase ( PUP::er p  )  [inline]

Definition at line 292 of file cklists.h.

Referenced by pupCkVec().

template<class T>
void CkVec< T >::pup ( PUP::er p  )  [inline]

Reimplemented in CkPupPtrVec< T, PUP_PTR >, CkPupAblePtrVec< T >, CkPupPtrVec< CkVeckVec< int > >, CkPupPtrVec< InfoStruct >, CkPupPtrVec< arrInfo >, CkPupPtrVec< IDXL_List, CkPupAlwaysAllocatePtr< IDXL_List > >, CkPupPtrVec< T >, CkPupPtrVec< win_obj >, CkPupPtrVec< KeyvalPair >, CkPupPtrVec< FEM_Mesh >, CkPupPtrVec< CkVec< int >, CkPupAlwaysAllocatePtr< CkVec< int > > >, CkPupPtrVec< Armci_Note >, CkPupPtrVec< KeyvalNode >, CkPupPtrVec< ampiCommStruct >, CkPupPtrVec< WinStruct >, CkPupPtrVec< T, CkPupAlwaysAllocatePtr< T > >, CkPupPtrVec< Armci_Hdl >, CkPupAblePtrVec< CkArrayListener >, and CkPupAblePtrVec< FEM_Sym_Desc >.

Definition at line 302 of file cklists.h.

Referenced by BgTimeLog::pup().

template<class T>
void CkVec< T >::quickSort (  )  [inline]

Definition at line 307 of file cklists.h.

Referenced by replyAdjacencyRequests(), sortNodeList(), uniquify(), and UniqElemList< T >::uniquify().

template<class T>
void CkVec< T >::quickSort ( int  changeOverSize  )  [inline]

Definition at line 311 of file cklists.h.

template<class T>
void CkVec< T >::q_sort ( int  left,
int  right,
int  changeOverSize 
) [inline]

Definition at line 316 of file cklists.h.

Referenced by CkVec< CkZeroPtr< T, PUP_PTR > >::q_sort(), and CkVec< CkZeroPtr< T, PUP_PTR > >::quickSort().

template<class T>
void CkVec< T >::bubbleSort ( int  left,
int  right 
) [inline]

Definition at line 361 of file cklists.h.

Referenced by CkVec< CkZeroPtr< T, PUP_PTR > >::q_sort().


Field Documentation

template<class T>
T* CkVec< T >::block [private]

Definition at line 178 of file cklists.h.

Referenced by CkVec< CkZeroPtr< T, PUP_PTR > >::copyFrom().

template<class T>
int CkVec< T >::blklen [private]

Definition at line 179 of file cklists.h.

Referenced by CkVec< CkZeroPtr< T, PUP_PTR > >::capacity(), CkVec< CkZeroPtr< T, PUP_PTR > >::copyFrom(), CkVec< CkZeroPtr< T, PUP_PTR > >::freeBlock(), CkVec< CkZeroPtr< T, PUP_PTR > >::growAtLeast(), CkVec< CkZeroPtr< T, PUP_PTR > >::makeBlock(), and CkVec< CkZeroPtr< T, PUP_PTR > >::reserve().

template<class T>
int CkVec< T >::len [private]

Definition at line 180 of file cklists.h.

Referenced by CkVec< CkZeroPtr< T, PUP_PTR > >::copyFrom(), CkVec< CkZeroPtr< T, PUP_PTR > >::freeBlock(), CkVec< CkZeroPtr< T, PUP_PTR > >::insert(), CkVec< CkZeroPtr< T, PUP_PTR > >::length(), CkVec< CkZeroPtr< T, PUP_PTR > >::makeBlock(), CkVec< CkZeroPtr< T, PUP_PTR > >::operator[](), CkVec< CkZeroPtr< T, PUP_PTR > >::pupbase(), CkVec< CkZeroPtr< T, PUP_PTR > >::quickSort(), CkVec< CkZeroPtr< T, PUP_PTR > >::remove(), CkVec< CkZeroPtr< T, PUP_PTR > >::removeAll(), CkVec< CkZeroPtr< T, PUP_PTR > >::reserve(), CkVec< CkZeroPtr< T, PUP_PTR > >::resize(), and CkVec< CkZeroPtr< T, PUP_PTR > >::size().


The documentation for this class was generated from the following file:
Generated on Sun Jun 29 13:31:21 2008 for Charm++ by  doxygen 1.5.1