#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 44 of file CollectionMgr.h. 00044 : seq(-10) { ; }
|
|
||||||||||||
|
Definition at line 60 of file CollectionMgr.h. References ResizeArray< Elem >::add(), AtomIDList, and ResizeArray< Elem >::size(). 00061 {
00062 int size = a.size();
00063 for( int i = 0; i < size; ++i )
00064 {
00065 aid.add(a[i]);
00066 if ( precisions & 2 ) data.add(d[i]);
00067 if ( precisions & 1 ) fdata.add(d[i]);
00068 }
00069 return ( ! --remaining );
00070 }
|
|
|
Definition at line 46 of file CollectionMgr.h. Referenced by CollectionMgr::submitPositions(), and CollectionMgr::submitVelocities(). 00046 { seq = -10; }
|
|
|
Definition at line 47 of file CollectionMgr.h. Referenced by CollectionMgr::CollectVectorSequence::submitData(). 00047 { return ( seq != -10 ); }
|
|
||||||||||||
|
Definition at line 49 of file CollectionMgr.h. References NAMD_bug(), PatchMap::numHomePatches(), and PatchMap::Object(). Referenced by CollectionMgr::CollectVectorSequence::submitData(). 00049 {
00050 if ( s == -10 ) NAMD_bug("seq == free in CollectionMgr");
00051 seq = s;
00052 precisions = p;
00053 remaining = PatchMap::Object()->numHomePatches();
00054 aid.resize(0);
00055 data.resize(0);
00056 fdata.resize(0);
00057 }
|
|
|
Definition at line 73 of file CollectionMgr.h. Referenced by CollectionMgr::submitPositions(), and CollectionMgr::submitVelocities(). |
|
|
Definition at line 75 of file CollectionMgr.h. Referenced by CollectionMgr::submitPositions(), and CollectionMgr::submitVelocities(). |
|
|
Definition at line 76 of file CollectionMgr.h. Referenced by CollectionMgr::submitPositions(). |
|
|
Definition at line 74 of file CollectionMgr.h. |
|
|
Definition at line 72 of file CollectionMgr.h. Referenced by CollectionMgr::CollectVectorSequence::submitData(), CollectionMgr::submitPositions(), and CollectionMgr::submitVelocities(). |
1.3.9.1