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

Comparing trunk/OOPSE-4/src/brains/Snapshot.cpp (file contents):
Revision 2969 by tim, Wed May 17 21:51:42 2006 UTC vs.
Revision 2970 by gezelter, Wed Aug 2 19:40:39 2006 UTC

# Line 54 | Line 54 | namespace oopse {
54   namespace oopse {
55  
56    void  Snapshot::setHmat(const Mat3x3d& m) {
57    const RealType orthoTolerance = NumericConstant::epsilon;
57      hmat_ = m;
58      invHmat_ = hmat_.inverse();
59      
# Line 70 | Line 69 | namespace oopse {
69      RealType smallDiag = fabs(hmat_(0, 0));
70      if(smallDiag > fabs(hmat_(1, 1))) smallDiag = fabs(hmat_(1, 1));
71      if(smallDiag > fabs(hmat_(2, 2))) smallDiag = fabs(hmat_(2, 2));    
72 <    RealType tol = smallDiag * orthoTolerance;
72 >    RealType tol = smallDiag * orthoTolerance_;
73  
74      orthoRhombic_ = 1;
75  
# Line 94 | Line 93 | namespace oopse {
93                   "\tThis is usually a good thing, but if you want the\n"
94                   "\tNon-Orthorhombic computations, make the orthoBoxTolerance\n"
95                   "\tvariable ( currently set to %G ) smaller.\n",
96 <                 orthoTolerance);
96 >                 orthoTolerance_);
97          painCave.severity = OOPSE_INFO;
98          simError();
99        }
# Line 106 | Line 105 | namespace oopse {
105                   "\tNPTf integration. If you want to live on the edge with\n"
106                   "\tthe Orthorhombic computations, make the orthoBoxTolerance\n"
107                   "\tvariable ( currently set to %G ) larger.\n",
108 <                 orthoTolerance);
108 >                 orthoTolerance_);
109          painCave.severity = OOPSE_WARNING;
110          simError();
111        }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines