--- trunk/OOPSE/libmdtools/ConstraintAlgorithm.cpp 2004/06/11 17:16:21 1268 +++ trunk/OOPSE/libmdtools/ConstraintAlgorithm.cpp 2004/06/21 18:52:21 1284 @@ -28,7 +28,7 @@ void ConstraintAlgorithm::doConstrain(){ } void ConstraintAlgorithm::doConstrain(){ - const int maxConsIteration = 300; + const int maxConsIteration = 1; bool done; int iteration; int maxIteration; @@ -64,11 +64,11 @@ void ConstraintAlgorithm::doConstrain(){ switch(exeStatus){ case consExceedMaxIter: - cerr << "ConstraintAlgorithm::doConstrain() Error: can not constrain the bond within maximum iteration" << endl; + //cerr << "ConstraintAlgorithm::doConstrain() Error: can not constrain the bond within maximum iteration" << endl; error = true; case consFail: - cerr << "ConstraintAlgorithm::doConstrain() Error: Constraint Fail" << endl; + //cerr << "ConstraintAlgorithm::doConstrain() Error: Constraint Fail" << endl; error = true; break; case consSuccess: