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

Comparing branches/development/src/brains/SimInfo.hpp (file contents):
Revision 1808 by gezelter, Mon Oct 22 20:42:10 2012 UTC vs.
Revision 1838 by gezelter, Tue Jan 22 16:20:11 2013 UTC

# Line 270 | Line 270 | namespace OpenMD{
270      SnapshotManager* getSnapshotManager() {
271        return sman_;
272      }
273 <
273 >    /** Returns the storage layout (computed by SimCreator) */
274 >    int getStorageLayout() {
275 >      return storageLayout_;
276 >    }
277 >    /** Sets the storage layout (computed by SimCreator) */
278 >    void setStorageLayout(int sl) {
279 >      storageLayout_ = sl;
280 >    }
281 >    
282      /** Sets the snapshot manager. */
283      void setSnapshotManager(SnapshotManager* sman);
284          
# Line 604 | Line 612 | namespace OpenMD{
612  
613      PropertyMap properties_;       /**< Generic Properties can be added */
614      SnapshotManager* sman_;        /**< SnapshotManager (handles particle positions, etc.) */
615 +    int storageLayout_;            /**< Bits to tell how much data to store on each object */
616  
617      /**
618       * The reason to have a local index manager is that when molecule
# Line 623 | Line 632 | namespace OpenMD{
632      string dumpFileName_;
633      string statFileName_;
634      string restFileName_;
626        
635  
636      bool topologyDone_;  /** flag to indicate whether the topology has
637                               been scanned and all the relevant

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines