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 1665 by gezelter, Tue Nov 22 20:38:56 2011 UTC vs.
Revision 1709 by gezelter, Tue May 15 13:04:08 2012 UTC

# Line 78 | Line 78 | namespace OpenMD{
78                                    chi_(0.0),
79                                    integralOfChiDt_(0.0),
80                                    eta_(0.0), id_(-1), hasCOM_(false),
81 <                                  hasVolume_(false), volume_(0.0) {
81 >                                  volume_(0.0), hasVolume_(false) {
82  
83      }
84  
# Line 89 | Line 89 | namespace OpenMD{
89                                    currentTime_(0), orthoTolerance_(1e-6),
90                                    orthoRhombic_(0), chi_(0.0),
91                                    integralOfChiDt_(0.0), eta_(0.0), id_(-1),
92 <                                  hasCOM_(false), hasVolume_(false),
93 <                                  volume_(0.0)  {
92 >                                  hasCOM_(false), volume_(0.0),
93 >                                  hasVolume_(false) {
94      }
95      
96      /** Returns the id of this Snapshot */
# Line 201 | Line 201 | namespace OpenMD{
201        eta_ = eta;
202      }
203  
204 +    Mat3x3d getTau() {
205 +      return tau_;
206 +    }
207 +        
208 +    void setTau(const Mat3x3d& tau) {
209 +      tau_ = tau;
210 +    }
211 +
212      bool hasCOM() {
213        return hasCOM_;
214      }
# Line 235 | Line 243 | namespace OpenMD{
243      int id_; /**< identification number of the snapshot */
244      bool hasCOM_;
245      bool hasVolume_;
246 <            
246 >    Mat3x3d tau_;
247    };
248  
249    typedef DataStorage (Snapshot::*DataStoragePointer);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines