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

Comparing branches/development/src/brains/Snapshot.hpp (file contents):
Revision 1540 by gezelter, Mon Jan 17 21:34:36 2011 UTC vs.
Revision 1550 by gezelter, Wed Apr 27 21:49:59 2011 UTC

# Line 54 | Line 54
54  
55   #include "brains/DataStorage.hpp"
56   #include "brains/Stats.hpp"
57 #include "UseTheForce/DarkSide/simulation_interface.h"
57  
59
58   namespace OpenMD{
59  
60    /**
# Line 118 | Line 116 | namespace OpenMD{
116        return rigidbodyData.getSize();
117      }
118  
119 +    /** Returns the number of rigid bodies */
120 +    int getNumberOfCutoffGroups() {
121 +      return cgData.getSize();
122 +    }
123 +
124      /** Returns the H-Matrix */
125      Mat3x3d getHmat() {
126        return hmat_;
# Line 237 | Line 240 | namespace OpenMD{
240      DataStorage atomData;
241      DataStorage rigidbodyData;
242      DataStorage cgData;
243 +    Stats statData;
244  
245   #ifdef IS_MPI
246      DataStorage atomIData;
# Line 244 | Line 248 | namespace OpenMD{
248      DataStorage cgIData;
249      DataStorage cgJData;
250   #endif
251 <    
248 <    Stats statData;
251 >  
252              
253    private:
254      RealType currentTime_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines