ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/ConstraintAlgorithm.cpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/ConstraintAlgorithm.cpp (file contents):
Revision 1268 by tim, Fri Jun 11 17:16:21 2004 UTC vs.
Revision 1284 by tim, Mon Jun 21 18:52:21 2004 UTC

# Line 28 | Line 28 | void ConstraintAlgorithm::doConstrain(){
28   }
29  
30   void ConstraintAlgorithm::doConstrain(){
31 <  const int maxConsIteration = 300;
31 >  const int maxConsIteration = 1;
32    bool done;
33    int iteration;
34    int maxIteration;
# Line 64 | Line 64 | void ConstraintAlgorithm::doConstrain(){
64  
65        switch(exeStatus){
66          case consExceedMaxIter:
67 <          cerr << "ConstraintAlgorithm::doConstrain() Error: can not constrain the bond within maximum iteration" << endl;        
67 >          //cerr << "ConstraintAlgorithm::doConstrain() Error: can not constrain the bond within maximum iteration" << endl;        
68            error = true;
69            
70          case consFail:
71 <          cerr << "ConstraintAlgorithm::doConstrain() Error: Constraint Fail" << endl;        
71 >          //cerr << "ConstraintAlgorithm::doConstrain() Error: Constraint Fail" << endl;        
72            error = true;
73            break;
74          case consSuccess:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines