|
NAMD
|
#include <MigrateAtomsMsg.h>
Public Member Functions | |
| MigrateAtomsCombinedMsg (void) | |
| ~MigrateAtomsCombinedMsg (void) | |
| void | add (PatchID source, PatchID destination, MigrationList &m) |
| void | distribute (void) |
Static Public Member Functions | |
| static void * | pack (MigrateAtomsCombinedMsg *msg) |
| static MigrateAtomsCombinedMsg * | unpack (void *ptr) |
Public Attributes | |
| NodeID | fromNodeID |
| ResizeArray< PatchID > | srcPatchID |
| ResizeArray< PatchID > | destPatchID |
| ResizeArray< int > | numAtoms |
| int | totalAtoms |
| MigrationList | migrationList |
Definition at line 44 of file MigrateAtomsMsg.h.
| MigrateAtomsCombinedMsg::MigrateAtomsCombinedMsg | ( | void | ) |
|
inline |
Definition at line 55 of file MigrateAtomsMsg.h.
| void MigrateAtomsCombinedMsg::add | ( | PatchID | source, |
| PatchID | destination, | ||
| MigrationList & | m | ||
| ) |
Definition at line 40 of file MigrateAtomsMsg.C.
References ResizeArray< Elem >::add(), destPatchID, migrationList, numAtoms, ResizeArray< Elem >::size(), srcPatchID, and totalAtoms.
Referenced by PatchMgr::sendMigrationMsgs().
| void MigrateAtomsCombinedMsg::distribute | ( | void | ) |
Definition at line 54 of file MigrateAtomsMsg.C.
References DebugM, HomePatch::depositMigration(), MigrateAtomsMsg::destPatchID, destPatchID, MigrateAtomsMsg::fromNodeID, fromNodeID, PatchMap::homePatch(), MigrateAtomsMsg::migrationList, migrationList, NAMD_bug(), numAtoms, PatchMap::Object(), ResizeArray< Elem >::resize(), ResizeArray< Elem >::size(), MigrateAtomsMsg::srcPatchID, srcPatchID, and totalAtoms.
Referenced by PatchMgr::recvMigrateAtomsCombined().
|
static |
|
static |
| ResizeArray<PatchID> MigrateAtomsCombinedMsg::destPatchID |
Definition at line 49 of file MigrateAtomsMsg.h.
Referenced by add(), and distribute().
| NodeID MigrateAtomsCombinedMsg::fromNodeID |
Definition at line 47 of file MigrateAtomsMsg.h.
Referenced by distribute().
| MigrationList MigrateAtomsCombinedMsg::migrationList |
Definition at line 52 of file MigrateAtomsMsg.h.
Referenced by add(), and distribute().
| ResizeArray<int> MigrateAtomsCombinedMsg::numAtoms |
Definition at line 50 of file MigrateAtomsMsg.h.
Referenced by add(), and distribute().
| ResizeArray<PatchID> MigrateAtomsCombinedMsg::srcPatchID |
Definition at line 48 of file MigrateAtomsMsg.h.
Referenced by add(), distribute(), and PatchMgr::recvMigrateAtomsCombined().
| int MigrateAtomsCombinedMsg::totalAtoms |
Definition at line 51 of file MigrateAtomsMsg.h.
Referenced by add(), and distribute().
1.8.14