--- trunk/OOPSE/libmdtools/ConstraintAlgorithm.hpp 2004/06/07 14:26:33 1252 +++ trunk/OOPSE/libmdtools/ConstraintAlgorithm.hpp 2004/06/09 16:16:33 1254 @@ -15,11 +15,12 @@ enum ConsAlgoStatus{ class SimInfo; enum ConsAlgoStatus{ - consPairHandlerFail = -3, - consElemHandlerFail = -2, - consFail = -1, - consSuccess = 0, - consAlready = 1}; + consExceedMaxIter = -4, //can not constrain the bond within maximum iteration + consPairHandlerFail = -3, //can not found call back functor for constraint pair + consElemHandlerFail = -2, //can not found callback functor for constraint element + consFail = -1, //Constraint Fail + consSuccess = 0, //constrain the pair by moving two elements + consAlready = 1}; //current pair is already constrained, do not need to move the elements //////////////////////////////////////////////////////////////////////////////// //Declaration of ConstraintAlgorithm