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

Comparing trunk/src/brains/BlockSnapshotManager.hpp (file contents):
Revision 507 by gezelter, Fri Apr 15 22:04:00 2005 UTC vs.
Revision 1215 by xsun, Wed Jan 23 21:22:37 2008 UTC

# Line 62 | Line 62 | namespace oopse {
62          
63      virtual Snapshot* getSnapshot(int id) { return snapshots_[id]; }
64  
65 +
66      /** Returns number of snapshot blocks in this BlockSnapshotManager*/
67      int getNBlocks() {
68        return blocks_.size();
# Line 72 | Line 73 | namespace oopse {
73      }
74          
75      int getNActiveBlocks();
75        
76  
77 +    void needCOMprops(bool ncp);
78 +
79 +
80      bool isBlockActive(int block) {
81        return  findActiveBlock(block) != activeBlocks_.end() ? true : false;
82      }        

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines