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 1723 by gezelter, Thu May 24 20:59:54 2012 UTC vs.
Revision 1744 by gezelter, Tue Jun 5 18:07:08 2012 UTC

# Line 124 | Line 124 | namespace OpenMD{
124        frameData.COMw = V3Zero;            
125        frameData.stressTensor = Mat3x3d(0.0);              
126        frameData.pressureTensor = Mat3x3d(0.0);  
127 <      frameData.systemDipole = V3Zero;            
128 <      frameData.conductiveHeatFlux = V3Zero;            
127 >      frameData.systemDipole = Vector3d(0.0);            
128 >      frameData.conductiveHeatFlux = Vector3d(0.0, 0.0, 0.0);
129      }
130  
131      Snapshot(int nAtoms, int nRigidbodies, int nCutoffGroups,
# Line 158 | Line 158 | namespace OpenMD{
158        frameData.stressTensor = Mat3x3d(0.0);              
159        frameData.pressureTensor = Mat3x3d(0.0);  
160        frameData.systemDipole = V3Zero;            
161 <      frameData.conductiveHeatFlux = V3Zero;            
161 >      frameData.conductiveHeatFlux = Vector3d(0.0, 0.0, 0.0);            
162      }
163      
164      /** Returns the id of this Snapshot */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines