| 69 |  | public: | 
| 70 |  |  | 
| 71 |  | Snapshot(int nAtoms, int nRigidbodies) : atomData(nAtoms), rigidbodyData(nRigidbodies), | 
| 72 | < | currentTime_(0), orthoRhombic_(0), chi_(0.0), integralOfChiDt_(0.0), eta_(0.0), id_(-1) { | 
| 72 | > | currentTime_(0), orthoTolerance_(1e-6), orthoRhombic_(0), chi_(0.0), integralOfChiDt_(0.0), eta_(0.0), id_(-1) { | 
| 73 |  |  | 
| 74 |  | } | 
| 75 |  |  | 
| 76 |  | Snapshot(int nAtoms, int nRigidbodies, int storageLayout) | 
| 77 |  | : atomData(nAtoms, storageLayout), rigidbodyData(nRigidbodies, storageLayout), | 
| 78 | < | currentTime_(0), orthoRhombic_(0), chi_(0.0), integralOfChiDt_(0.0), eta_(0.0), id_(-1) { | 
| 78 | > | currentTime_(0), orthoTolerance_(1e-6), orthoRhombic_(0), chi_(0.0), integralOfChiDt_(0.0), eta_(0.0), id_(-1) { | 
| 79 |  |  | 
| 80 |  | } | 
| 81 |  |  | 
| 154 |  | integralOfChiDt_ = integralOfChiDt; | 
| 155 |  | } | 
| 156 |  |  | 
| 157 | + |  | 
| 158 | + | void setOrthoTolerance(RealType orthoTolerance) { | 
| 159 | + | orthoTolerance_ = orthoTolerance; | 
| 160 | + | } | 
| 161 | + |  | 
| 162 |  | Mat3x3d getEta() { | 
| 163 |  | return eta_; | 
| 164 |  | } | 
| 176 |  |  | 
| 177 |  | Mat3x3d hmat_; | 
| 178 |  | Mat3x3d invHmat_; | 
| 179 | + | RealType orthoTolerance_; | 
| 180 |  | int orthoRhombic_; | 
| 181 |  |  | 
| 182 |  | RealType chi_; |