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

Comparing trunk/src/brains/BlockSnapshotManager.hpp (file contents):
Revision 1105 by gezelter, Fri Dec 29 21:51:42 2006 UTC vs.
Revision 1249 by gezelter, Mon Jun 2 02:42:50 2008 UTC

# Line 60 | Line 60 | namespace oopse {
60      BlockSnapshotManager(SimInfo* info, const std::string& filename, int storageLayout, int blockCapacity = 2);
61      ~BlockSnapshotManager();
62          
63 <    virtual Snapshot* getSnapshot(int id) { return snapshots_[id]; }
63 >    virtual Snapshot* getSnapshot(int id);
64  
65 +
66      /** Returns number of snapshot blocks in this BlockSnapshotManager*/
67      int getNBlocks() {
68        return blocks_.size();
69      }
70  
70    void needCOMprops(bool ncp) {
71      reader_->setNeedCOMprops(ncp);
72    }
73
71      SnapshotBlock getSnapshotBlock(int block) {
72        return blocks_.at(block);
73      }
74          
75      int getNActiveBlocks();
79        
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