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

Comparing branches/new_design/OOPSE-4/src/brains/Snapshot.hpp (file contents):
Revision 1868 by tim, Fri Dec 3 22:36:06 2004 UTC vs.
Revision 1869 by tim, Wed Dec 8 20:37:47 2004 UTC

# Line 53 | Line 53 | namespace oopse{
53          public:
54              
55              Snapshot(int nAtoms, int nRigidbodies) : atomData(nAtoms), rigidbodyData(nRigidbodies),
56 <                currentTime_(0), chi_(0.0), integralOfChiDt_(0.0), eta_(0.0) {
56 >                currentTime_(0), chi_(0.0), integralOfChiDt_(0.0), eta_(0.0), orthoRhombic_(0) {
57  
58              }
59  
# Line 88 | Line 88 | namespace oopse{
88              }
89  
90              /** Sets the H-Matrix */
91 <            void setHmat(const Mat3x3d& m) {
92 <                hmat_ = m;
93 <                invHmat_ = hmat_.inverse();
94 <                
95 <                //notify fortran Hmat is changed
96 <                double fortranHmat[9];
97 <                double fortranInvHmat[9];
98 <                hmat_.getArray(fortranHmat);
99 <                invHmat_.getArray(fortranInvHmat);
100 <                setFortranBox(fortranHmat, fortranInvHmat, &orthoRhombic_);
101 <            }
102 <
91 >            void setHmat(const Mat3x3d& m);
92 >            
93              double getVolume() {
94                  return hmat_.determinant();
95              }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines