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

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

# Line 49 | Line 49 | namespace OpenMD {
49  
50        int nAtoms = info_->getNAtoms();
51        int nRigidBodies = info_->getNRigidBodies();
52 <    
52 >      int nCutoffGroups = info_->getNCutoffGroups();
53 >      
54        //allocate memory for snapshots
55 <      previousSnapshot_ = new Snapshot(nAtoms, nRigidBodies, storageLayout);
56 <      currentSnapshot_ = new Snapshot(nAtoms, nRigidBodies, storageLayout);
55 >      previousSnapshot_ = new Snapshot(nAtoms, nRigidBodies, nCutoffGroups, storageLayout);
56 >      currentSnapshot_ = new Snapshot(nAtoms, nRigidBodies, nCutoffGroups, storageLayout);
57      }
58  
59    SimSnapshotManager::~SimSnapshotManager(){

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines