msm Namespace Reference


Classes

struct  PatchData
class  Array
class  PriorityQueue
struct  Ivec
class  IndexRange
class  GridFixed
class  Grid
struct  BlockIndex
struct  FoldFactor
struct  BlockSend
struct  PatchSend
struct  PatchDiagram
struct  BlockDiagram
struct  Map
struct  AtomCoord

Typedefs

typedef Array< AtomCoordAtomCoordArray
typedef Array< ForceForceArray
typedef Array< PatchData * > PatchPtrArray

Functions

template<class T>
void swap (Array< T > &s, Array< T > &t)


Typedef Documentation

typedef Array<AtomCoord> msm::AtomCoordArray

Definition at line 1254 of file MsmMap.h.

typedef Array<Force> msm::ForceArray

Definition at line 1255 of file MsmMap.h.

typedef Array<PatchData *> msm::PatchPtrArray

Definition at line 1257 of file MsmMap.h.


Function Documentation

template<class T>
void msm::swap ( Array< T > &  s,
Array< T > &  t 
)

Definition at line 319 of file MsmMap.h.

References msm::Array< T >::abuffer, msm::Array< T >::alen, and msm::Array< T >::amax.

Referenced by Controller::algorithm(), Controller::recvCheckpointReq(), and ComputePmeCUDADevice::spreadCharge().

00319                                       {
00320     T *tmpbuffer = s.abuffer;  s.abuffer = t.abuffer;  t.abuffer = tmpbuffer;
00321     tmpbuffer = 0;
00322     int tmpn = s.alen;  s.alen = t.alen;  t.alen = tmpn;
00323     tmpn = s.amax;  s.amax = t.amax;  t.amax = tmpn;
00324     tmpn = s.astate;  s.astate = t.astate;  t.astate = tmpn;
00325   }


Generated on Thu Nov 23 01:17:20 2017 for NAMD by  doxygen 1.4.7