NAMD
|
#include <ResizeArrayRaw.h>
Public Member Functions | |
SortedArray (void) | |
SortedArray (int s) | |
SortedArray (SortedArray< Elem > &sa) | |
SortedArray (SortableResizeArray< Elem > &ra) | |
SortedArray< Elem > & | operator= (SortedArray< Elem > &sa) |
SortedArray< Elem > & | operator= (SortableResizeArray< Elem > &ra) |
int | load (const Elem &elem) |
int | add (const Elem &elem) |
void | del (const Elem &elem) |
void | sort (void) |
int | bsearch (const Elem &elem) |
int | insert (const Elem &elem) |
int | index (const Elem &elem) |
Elem * | find (const Elem &elem) |
![]() | |
SortableResizeArray (void) | |
SortableResizeArray (int size) | |
SortableResizeArray (ResizeArray< Elem > &ra) | |
SortableResizeArray (SortableResizeArray< Elem > &ra) | |
SortableResizeArray (const ResizeArray< Elem > *ra) | |
SortableResizeArray (const SortableResizeArray< Elem > *ra) | |
SortableResizeArray (Elem **const r, int numElem, int maxElem) | |
SortableResizeArray< Elem > & | operator= (SortableResizeArray< Elem > &sa) |
~SortableResizeArray (void) | |
void | init (void) |
void | sort (void) |
void | sort (int bot, int top) |
void | uniq (void) |
int | bsearch (const Elem &elem) const |
![]() | |
iterator | begin (void) |
iterator | end (void) |
const_iterator | const_begin (void) const |
const_iterator | const_end (void) const |
ResizeArray (void) | |
ResizeArray (int s) | |
void | copy (ResizeArray< Elem > &ra) |
void | swap (ResizeArray< Elem > &ra) |
bool | shared () const |
ResizeArray (Elem **array, int arraySize, int allocSize=0) | |
~ResizeArray (void) | |
void | resize (int i) |
void | reserve (int i) |
void | clear () |
void | setall (const Elem &elem) |
int | add (const Elem &elem) |
void | del (int index, int num=1) |
int | insert (const Elem &elem, int index) |
Elem & | item (int i) |
Elem & | operator[] (int index) |
const Elem & | operator[] (int index) const |
int | size (void) const |
int | find (const Elem &e) const |
Protected Attributes | |
int | isSorted |
![]() | |
ResizeArrayRaw< Elem > | rep |
Additional Inherited Members | |
![]() | |
typedef Elem * | iterator |
typedef const Elem * | const_iterator |
Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved.
Definition at line 30 of file ResizeArrayRaw.h.
|
inline |
Definition at line 20 of file SortedArray.h.
|
inline |
Definition at line 24 of file SortedArray.h.
|
inline |
Definition at line 28 of file SortedArray.h.
|
inline |
Definition at line 33 of file SortedArray.h.
|
inline |
Definition at line 55 of file SortedArray.h.
Referenced by ComputeQM::initialize(), ComputeQMMgr::recvForce(), Patch::registerDEdaSumDeposit(), Patch::registerForceDeposit(), Patch::registerPositionPickup(), and Patch::registerPsiSumDeposit().
|
inline |
Definition at line 68 of file SortedArray.h.
Referenced by SortedArray< PatchElem >::del(), and SortedArray< PatchElem >::index().
|
inline |
Definition at line 59 of file SortedArray.h.
Referenced by PatchMgr::sendMovePatches(), PatchMgr::sendOneHomePatch(), Patch::unregisterDEdaSumDeposit(), Patch::unregisterForceDeposit(), Patch::unregisterPositionPickup(), and Patch::unregisterPsiSumDeposit().
|
inline |
Definition at line 94 of file SortedArray.h.
Referenced by ComputeQM::doWork(), PatchMgr::homePatch(), Molecule::prepare_qm(), ComputeQM::processFullQM(), HomePatch::qmSwapAtoms(), ComputeQMMgr::recvPntChrg(), and PatchMgr::~PatchMgr().
|
inline |
Definition at line 75 of file SortedArray.h.
|
inline |
Definition at line 81 of file SortedArray.h.
Referenced by SortedArray< PatchElem >::add(), lssDistSort::lssDistSort(), lssDistSort::operator=(), Molecule::prepare_qm(), and ComputeQMMgr::procQMRes().
|
inline |
Definition at line 50 of file SortedArray.h.
Referenced by PatchMgr::createHomePatch(), PatchMgr::movePatch(), ComputeQM::processFullQM(), and ComputeQMMgr::recvPntChrg().
|
inline |
Definition at line 38 of file SortedArray.h.
Referenced by UniqueSortedArray< PatchElem >::operator=().
|
inline |
Definition at line 44 of file SortedArray.h.
|
inline |
Definition at line 66 of file SortedArray.h.
Referenced by SortedArray< PatchElem >::bsearch(), lssDistSort::lssDistSort(), SortedArray< PatchElem >::operator=(), lssDistSort::operator=(), ComputeQM::processFullQM(), ComputeQMMgr::procQMRes(), ComputeQMMgr::recvPntChrg(), Patch::registerPositionPickup(), SortedArray< PatchElem >::SortedArray(), and Patch::unregisterPositionPickup().
|
protected |
Definition at line 16 of file SortedArray.h.
Referenced by SortedArray< PatchElem >::bsearch(), SortedArray< PatchElem >::load(), SortedArray< PatchElem >::operator=(), SortedArray< PatchElem >::sort(), and SortedArray< PatchElem >::SortedArray().