#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 | |
| void * | pack (MigrateAtomsCombinedMsg *msg) |
| MigrateAtomsCombinedMsg * | unpack (void *ptr) |
Public Attributes | |
| NodeID | fromNodeID |
| ResizeArray< PatchID > | srcPatchID |
| ResizeArray< PatchID > | destPatchID |
| ResizeArray< int > | numAtoms |
| int | totalAtoms |
| MigrationList | migrationList |
|
|
|
|
|
Definition at line 56 of file MigrateAtomsMsg.h. 00056 { };
|
|
||||||||||||||||
|
Definition at line 47 of file MigrateAtomsMsg.C. References ResizeArray< Elem >::add(), migrationList, MigrationList, numAtoms, ResizeArray< Elem >::size(), and totalAtoms. Referenced by PatchMgr::sendMigrationMsgs(). 00048 {
00049 srcPatchID.add(source);
00050 destPatchID.add(destination);
00051 int n = m.size();
00052 numAtoms.add(n);
00053 totalAtoms += n;
00054 for ( int i = 0; i < n; ++i )
00055 {
00056 migrationList.add(m[i]);
00057 }
00058 }
|
|
|
|
|
|
|
|
|
|
Definition at line 50 of file MigrateAtomsMsg.h. |
|
|
Definition at line 48 of file MigrateAtomsMsg.h. |
|
|
Definition at line 53 of file MigrateAtomsMsg.h. Referenced by add(), and distribute(). |
|
|
Definition at line 51 of file MigrateAtomsMsg.h. Referenced by add(), and distribute(). |
|
|
Definition at line 49 of file MigrateAtomsMsg.h. Referenced by PatchMgr::recvMigrateAtomsCombined(). |
|
|
Definition at line 52 of file MigrateAtomsMsg.h. Referenced by add(). |
1.3.9.1