ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/brains/BlockSnapshotManager.cpp
(Generate patch)

Comparing branches/development/src/brains/BlockSnapshotManager.cpp (file contents):
Revision 1539 by chuckv, Fri Jul 9 23:08:25 2010 UTC vs.
Revision 1540 by gezelter, Mon Jan 17 21:34:36 2011 UTC

# Line 54 | Line 54 | namespace OpenMD {
54  
55        nAtoms_ = info->getNGlobalAtoms();
56        nRigidBodies_ = info->getNGlobalRigidBodies();
57 +      nCutoffGroups_ = info->getNCutoffGroups();
58  
59        RealType physMem = physmem_total();
60        RealType rssMem = residentMem();
# Line 218 | Line 219 | namespace OpenMD {
219    }
220  
221    Snapshot* BlockSnapshotManager::loadFrame(int frame){
222 <    Snapshot* snapshot = new Snapshot(nAtoms_, nRigidBodies_, getStorageLayout());
222 >    Snapshot* snapshot = new Snapshot(nAtoms_, nRigidBodies_, nCutoffGroups_, getStorageLayout());
223      snapshot->setID(frame);
224      
225      /** @todo fixed me */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines