ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-3.0/src/brains/Snapshot.hpp
(Generate patch)

Comparing branches/new_design/OOPSE-3.0/src/brains/Snapshot.hpp (file contents):
Revision 1792 by tim, Mon Nov 22 20:55:52 2004 UTC vs.
Revision 1793 by tim, Mon Nov 29 18:00:33 2004 UTC

# Line 38 | Line 38
38  
39   #include "brains/DataStorage.hpp"
40   #include "brains/Stats.hpp"
41 <
41 > #include "UseTheForce/DarkSide/simulation_interface.h"
42   using namespace std;
43  
44   namespace oopse{
# Line 53 | Line 53 | namespace oopse{
53      class Snapshot {
54          public:
55              
56 <            Snapshot(int nAtoms, int nRigidbodies) : currentTime_(0), chi_(0), integralOfChiDt_(0), eta_(0) {
56 >            Snapshot(int nAtoms, int nRigidbodies) : currentTime_(0), chi_(0.0), integralOfChiDt_(0.0), eta_(0.0) {
57                  atomData.resize(nAtoms);
58                  rigidbodyData.resize(nRigidbodies);
59              }
# Line 101 | Line 101 | namespace oopse{
101                  setFortranBox(fortranHmat, fortranInvHmat, &orthoRhombic_);
102              }
103  
104 <            void getVolume() {
104 >            double getVolume() {
105                  return hmat_.determinant();
106              }
107  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines