#include <CollectionMgr.h>
Public Member Functions | |
| CollectVectorInstance (void) | |
| void | free () |
| int | notfree () |
| void | reset (int s, int p) |
| int | append (AtomIDList &a, ResizeArray< Vector > &d) |
Public Attributes | |
| int | seq |
| AtomIDList | aid |
| int | precisions |
| ResizeArray< Vector > | data |
| ResizeArray< FloatVector > | fdata |
|
|
Definition at line 47 of file CollectionMgr.h. 00047 : seq(-10) { ; }
|
|
||||||||||||
|
Definition at line 69 of file CollectionMgr.h. References AtomIDList. 00071 {
00072 int size = a.size();
00073 for( int i = 0; i < size; ++i )
00074 {
00075 aid.add(a[i]);
00076 #ifdef MEM_OPT_VERSION
00077 outRank.add(oRank[i]);
00078 #endif
00079 if ( precisions & 2 ) data.add(d[i]);
00080 if ( precisions & 1 ) fdata.add(d[i]);
00081 }
00082 return ( ! --remaining );
00083 }
|
|
|
Definition at line 49 of file CollectionMgr.h. Referenced by CollectionMgr::submitForces(), CollectionMgr::submitPositions(), and CollectionMgr::submitVelocities(). 00049 { seq = -10; }
|
|
|
Definition at line 50 of file CollectionMgr.h. Referenced by CollectionMgr::CollectVectorSequence::submitData(). 00050 { return ( seq != -10 ); }
|
|
||||||||||||
|
Definition at line 52 of file CollectionMgr.h. References NAMD_bug(), PatchMap::numHomePatches(), and PatchMap::Object(). Referenced by CollectionMgr::CollectVectorSequence::submitData(). 00052 {
00053 if ( s == -10 ) NAMD_bug("seq == free in CollectionMgr");
00054 seq = s;
00055 precisions = p;
00056 remaining = PatchMap::Object()->numHomePatches();
00057 aid.resize(0);
00058 #ifdef MEM_OPT_VERSION
00059 outRank.resize(0);
00060 #endif
00061 data.resize(0);
00062 fdata.resize(0);
00063 }
|
|
|
Definition at line 86 of file CollectionMgr.h. Referenced by CollectionMgr::submitForces(), CollectionMgr::submitPositions(), and CollectionMgr::submitVelocities(). |
|
|
Definition at line 92 of file CollectionMgr.h. Referenced by CollectionMgr::submitForces(), CollectionMgr::submitPositions(), and CollectionMgr::submitVelocities(). |
|
|
Definition at line 93 of file CollectionMgr.h. Referenced by CollectionMgr::submitPositions(). |
|
|
Definition at line 91 of file CollectionMgr.h. |
|
|
Definition at line 85 of file CollectionMgr.h. Referenced by CollectionMgr::CollectVectorSequence::submitData(), CollectionMgr::submitForces(), CollectionMgr::submitPositions(), and CollectionMgr::submitVelocities(). |
1.3.9.1