Changeset ac79b2
- Timestamp:
- Aug 2, 2017, 8:27:30 PM (8 years ago)
- Branches:
- ForceAnnealing_with_BondGraph_continued
- Children:
- 8bfb58
- Parents:
- ef59aa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Dynamics/ForceAnnealing.hpp
ref59aa rac79b2 435 435 LOG(4, "DEBUG: current position is " << currentPosition); 436 436 LOG(4, "DEBUG: difference in position is " << PositionDifference); 437 LOG(4, "DEBUG: bondvector is " << BondVector); 438 const double projected_PositionDifference = PositionDifference.ScalarProduct(BondVector); 439 LOG(4, "DEBUG: difference in position projected onto bondvector is " 440 << projected_PositionDifference); 437 441 LOG(4, "DEBUG: abs. difference in forces is " << bondforcedifference); 438 LOG(4, "DEBUG: bondvector is " << BondVector);439 442 440 443 // calculate step width 441 444 double stepwidth = 442 fabs( PositionDifference.ScalarProduct(BondVector))/bondforcedifference;445 fabs(projected_PositionDifference)/bondforcedifference; 443 446 if (fabs(stepwidth) < 1e-10) { 444 447 // dont' warn in first step, deltat usage normal
Note:
See TracChangeset
for help on using the changeset viewer.