リビジョン | 0fbc267e9e9e9340be255164711cc587d9ed0646 (tree) |
---|---|
日時 | 2014-01-12 16:11:25 |
作者 | Katsuhiko Nishimra <ktns.87@gmai...> |
コミッター | Katsuhiko Nishimra |
Use current force to check convergence. #32906
git-svn-id: https://svn.sourceforge.jp/svnroot/molds/trunk@1644 1136aad2-a195-0410-b898-f5ea1d11b9d8
@@ -185,6 +185,9 @@ void BFGS::SearchMinimum(boost::shared_ptr<ElectronicStructure> electronicStruct | ||
185 | 185 | |
186 | 186 | this->UpdateTrustRadius(trustRadius, approximateChange, lineSearchInitialEnergy, lineSearchCurrentEnergy); |
187 | 187 | |
188 | + matrixForce = electronicStructure->GetForce(elecState); | |
189 | + vectorForce = &matrixForce[0][0]; | |
190 | + | |
188 | 191 | // check convergence |
189 | 192 | if(this->SatisfiesConvergenceCriterion(matrixForce, |
190 | 193 | molecule, |
@@ -207,9 +210,6 @@ void BFGS::SearchMinimum(boost::shared_ptr<ElectronicStructure> electronicStruct | ||
207 | 210 | lineSearchCurrentEnergy = lineSearchInitialEnergy; |
208 | 211 | } |
209 | 212 | |
210 | - matrixForce = electronicStructure->GetForce(elecState); | |
211 | - vectorForce = &matrixForce[0][0]; | |
212 | - | |
213 | 213 | // Update Hessian |
214 | 214 | this->UpdateHessian(matrixHessian, dimension, vectorForce, vectorOldForce, &matrixDisplacement[0][0]); |
215 | 215 |
@@ -1,6 +1,6 @@ | ||
1 | 1 | |
2 | 2 | |
3 | - >>>>> Welcome to the MolDS world at 2013/2/12(Thu.) 4:55:3 <<<<< | |
3 | + >>>>> Welcome to the MolDS world at 2014/1/12(Sun.) 16:9:3 <<<<< | |
4 | 4 | |
5 | 5 | |
6 | 6 | ********** START: Parse input ********** |
@@ -45,6 +45,8 @@ | ||
45 | 45 | Rms gradient: 0.000300 |
46 | 46 | Initial trust radius: 0.300000 |
47 | 47 | Max size of the optimization step: 0.300000 |
48 | + Initial trust radius: 0.300000 | |
49 | + Max size of the optimization step: 0.300000 | |
48 | 50 | |
49 | 51 | Input terms: |
50 | 52 | theory | pm3/pddg | theory_end | scf | max_iter | 50 | rms_density | 0.000001 | damping_thresh | 1.0 | |
@@ -120,7 +122,7 @@ h | 1.7519 | -1.0401 | -0.1000 | geometry_end | | ||
120 | 122 | Mulliken charge(SCF): 0 6 H 1.000000e+00 9.775077e-02 |
121 | 123 | Mulliken charge(SCF): 0 7 H 1.000000e+00 1.088939e-01 |
122 | 124 | |
123 | - Elapsed time(omp) for the SCF = 0.101077[s]. | |
125 | + Elapsed time(omp) for the SCF = 0.150620[s]. | |
124 | 126 | ********** DONE: PM3/PDDG-SCF ********** |
125 | 127 | |
126 | 128 |
@@ -197,8 +199,8 @@ actual/expected energy change = 1.509575 | ||
197 | 199 | |
198 | 200 | ====== Optimization Logs ====== |
199 | 201 | Energy difference: -3.136514e-02 [a.u.] |
200 | - Max gradient: 1.235168e-01 [a.u.] | |
201 | - Rms gradient: 4.246652e-02 [a.u.] | |
202 | + Max gradient: 9.653856e-02 [a.u.] | |
203 | + Rms gradient: 2.687443e-02 [a.u.] | |
202 | 204 | |
203 | 205 | |
204 | 206 |
@@ -274,8 +276,8 @@ actual/expected energy change = 0.970080 | ||
274 | 276 | |
275 | 277 | ====== Optimization Logs ====== |
276 | 278 | Energy difference: -1.802074e-02 [a.u.] |
277 | - Max gradient: 9.653856e-02 [a.u.] | |
278 | - Rms gradient: 2.687443e-02 [a.u.] | |
279 | + Max gradient: 3.011362e-02 [a.u.] | |
280 | + Rms gradient: 1.379044e-02 [a.u.] | |
279 | 281 | |
280 | 282 | |
281 | 283 |
@@ -351,8 +353,8 @@ actual/expected energy change = 1.350483 | ||
351 | 353 | |
352 | 354 | ====== Optimization Logs ====== |
353 | 355 | Energy difference: -2.222913e-03 [a.u.] |
354 | - Max gradient: 3.011362e-02 [a.u.] | |
355 | - Rms gradient: 1.379044e-02 [a.u.] | |
356 | + Max gradient: 1.802741e-02 [a.u.] | |
357 | + Rms gradient: 9.797423e-03 [a.u.] | |
356 | 358 | |
357 | 359 | |
358 | 360 |
@@ -428,8 +430,8 @@ actual/expected energy change = 1.437281 | ||
428 | 430 | |
429 | 431 | ====== Optimization Logs ====== |
430 | 432 | Energy difference: -2.499199e-03 [a.u.] |
431 | - Max gradient: 1.802741e-02 [a.u.] | |
432 | - Rms gradient: 9.797423e-03 [a.u.] | |
433 | + Max gradient: 1.211386e-02 [a.u.] | |
434 | + Rms gradient: 6.016376e-03 [a.u.] | |
433 | 435 | |
434 | 436 | |
435 | 437 |
@@ -505,8 +507,8 @@ actual/expected energy change = 1.229143 | ||
505 | 507 | |
506 | 508 | ====== Optimization Logs ====== |
507 | 509 | Energy difference: -1.329674e-03 [a.u.] |
508 | - Max gradient: 1.211386e-02 [a.u.] | |
509 | - Rms gradient: 6.016376e-03 [a.u.] | |
510 | + Max gradient: 1.183922e-02 [a.u.] | |
511 | + Rms gradient: 5.151528e-03 [a.u.] | |
510 | 512 | |
511 | 513 | |
512 | 514 |
@@ -582,8 +584,8 @@ actual/expected energy change = 1.587160 | ||
582 | 584 | |
583 | 585 | ====== Optimization Logs ====== |
584 | 586 | Energy difference: -4.952496e-04 [a.u.] |
585 | - Max gradient: 1.183922e-02 [a.u.] | |
586 | - Rms gradient: 5.151528e-03 [a.u.] | |
587 | + Max gradient: 1.029066e-02 [a.u.] | |
588 | + Rms gradient: 4.923371e-03 [a.u.] | |
587 | 589 | |
588 | 590 | |
589 | 591 |
@@ -659,8 +661,8 @@ actual/expected energy change = 1.379916 | ||
659 | 661 | |
660 | 662 | ====== Optimization Logs ====== |
661 | 663 | Energy difference: -7.687431e-04 [a.u.] |
662 | - Max gradient: 1.029066e-02 [a.u.] | |
663 | - Rms gradient: 4.923371e-03 [a.u.] | |
664 | + Max gradient: 1.108484e-02 [a.u.] | |
665 | + Rms gradient: 4.301842e-03 [a.u.] | |
664 | 666 | |
665 | 667 | |
666 | 668 |
@@ -736,8 +738,8 @@ actual/expected energy change = 1.375035 | ||
736 | 738 | |
737 | 739 | ====== Optimization Logs ====== |
738 | 740 | Energy difference: -4.400268e-04 [a.u.] |
739 | - Max gradient: 1.108484e-02 [a.u.] | |
740 | - Rms gradient: 4.301842e-03 [a.u.] | |
741 | + Max gradient: 8.945952e-03 [a.u.] | |
742 | + Rms gradient: 3.004880e-03 [a.u.] | |
741 | 743 | |
742 | 744 | |
743 | 745 |
@@ -813,8 +815,8 @@ actual/expected energy change = 1.320710 | ||
813 | 815 | |
814 | 816 | ====== Optimization Logs ====== |
815 | 817 | Energy difference: -2.107817e-04 [a.u.] |
816 | - Max gradient: 8.945952e-03 [a.u.] | |
817 | - Rms gradient: 3.004880e-03 [a.u.] | |
818 | + Max gradient: 3.914513e-03 [a.u.] | |
819 | + Rms gradient: 1.806713e-03 [a.u.] | |
818 | 820 | |
819 | 821 | |
820 | 822 |
@@ -890,8 +892,8 @@ actual/expected energy change = 1.334492 | ||
890 | 892 | |
891 | 893 | ====== Optimization Logs ====== |
892 | 894 | Energy difference: -7.789505e-05 [a.u.] |
893 | - Max gradient: 3.914513e-03 [a.u.] | |
894 | - Rms gradient: 1.806713e-03 [a.u.] | |
895 | + Max gradient: 2.348107e-03 [a.u.] | |
896 | + Rms gradient: 1.224477e-03 [a.u.] | |
895 | 897 | |
896 | 898 | |
897 | 899 |
@@ -967,8 +969,8 @@ actual/expected energy change = 1.345586 | ||
967 | 969 | |
968 | 970 | ====== Optimization Logs ====== |
969 | 971 | Energy difference: -3.013499e-05 [a.u.] |
970 | - Max gradient: 2.348107e-03 [a.u.] | |
971 | - Rms gradient: 1.224477e-03 [a.u.] | |
972 | + Max gradient: 2.466850e-03 [a.u.] | |
973 | + Rms gradient: 9.633209e-04 [a.u.] | |
972 | 974 | |
973 | 975 | |
974 | 976 |
@@ -1044,8 +1046,8 @@ actual/expected energy change = 1.467251 | ||
1044 | 1046 | |
1045 | 1047 | ====== Optimization Logs ====== |
1046 | 1048 | Energy difference: -1.590690e-05 [a.u.] |
1047 | - Max gradient: 2.466850e-03 [a.u.] | |
1048 | - Rms gradient: 9.633209e-04 [a.u.] | |
1049 | + Max gradient: 2.510158e-03 [a.u.] | |
1050 | + Rms gradient: 8.512001e-04 [a.u.] | |
1049 | 1051 | |
1050 | 1052 | |
1051 | 1053 |
@@ -1121,8 +1123,8 @@ actual/expected energy change = 1.459857 | ||
1121 | 1123 | |
1122 | 1124 | ====== Optimization Logs ====== |
1123 | 1125 | Energy difference: -1.578546e-05 [a.u.] |
1124 | - Max gradient: 2.510158e-03 [a.u.] | |
1125 | - Rms gradient: 8.512001e-04 [a.u.] | |
1126 | + Max gradient: 2.162986e-03 [a.u.] | |
1127 | + Rms gradient: 8.142333e-04 [a.u.] | |
1126 | 1128 | |
1127 | 1129 | |
1128 | 1130 |
@@ -1198,8 +1200,8 @@ actual/expected energy change = 1.449004 | ||
1198 | 1200 | |
1199 | 1201 | ====== Optimization Logs ====== |
1200 | 1202 | Energy difference: -1.521316e-05 [a.u.] |
1201 | - Max gradient: 2.162986e-03 [a.u.] | |
1202 | - Rms gradient: 8.142333e-04 [a.u.] | |
1203 | + Max gradient: 1.710260e-03 [a.u.] | |
1204 | + Rms gradient: 7.745775e-04 [a.u.] | |
1203 | 1205 | |
1204 | 1206 | |
1205 | 1207 |
@@ -1275,8 +1277,8 @@ actual/expected energy change = 1.393714 | ||
1275 | 1277 | |
1276 | 1278 | ====== Optimization Logs ====== |
1277 | 1279 | Energy difference: -1.272556e-05 [a.u.] |
1278 | - Max gradient: 1.710260e-03 [a.u.] | |
1279 | - Rms gradient: 7.745775e-04 [a.u.] | |
1280 | + Max gradient: 1.492191e-03 [a.u.] | |
1281 | + Rms gradient: 6.115859e-04 [a.u.] | |
1280 | 1282 | |
1281 | 1283 | |
1282 | 1284 |
@@ -1352,8 +1354,8 @@ actual/expected energy change = 1.359431 | ||
1352 | 1354 | |
1353 | 1355 | ====== Optimization Logs ====== |
1354 | 1356 | Energy difference: -7.530672e-06 [a.u.] |
1355 | - Max gradient: 1.492191e-03 [a.u.] | |
1356 | - Rms gradient: 6.115859e-04 [a.u.] | |
1357 | + Max gradient: 1.182928e-03 [a.u.] | |
1358 | + Rms gradient: 3.801578e-04 [a.u.] | |
1357 | 1359 | |
1358 | 1360 | |
1359 | 1361 |
@@ -1429,8 +1431,8 @@ actual/expected energy change = 1.384690 | ||
1429 | 1431 | |
1430 | 1432 | ====== Optimization Logs ====== |
1431 | 1433 | Energy difference: -3.787475e-06 [a.u.] |
1432 | - Max gradient: 1.182928e-03 [a.u.] | |
1433 | - Rms gradient: 3.801578e-04 [a.u.] | |
1434 | + Max gradient: 6.399565e-04 [a.u.] | |
1435 | + Rms gradient: 2.601308e-04 [a.u.] | |
1434 | 1436 | |
1435 | 1437 | |
1436 | 1438 |
@@ -1506,8 +1508,8 @@ actual/expected energy change = 1.435986 | ||
1506 | 1508 | |
1507 | 1509 | ====== Optimization Logs ====== |
1508 | 1510 | Energy difference: -2.404721e-06 [a.u.] |
1509 | - Max gradient: 6.399565e-04 [a.u.] | |
1510 | - Rms gradient: 2.601308e-04 [a.u.] | |
1511 | + Max gradient: 5.021458e-04 [a.u.] | |
1512 | + Rms gradient: 2.523271e-04 [a.u.] | |
1511 | 1513 | |
1512 | 1514 | |
1513 | 1515 |
@@ -1583,8 +1585,8 @@ actual/expected energy change = 1.426738 | ||
1583 | 1585 | |
1584 | 1586 | ====== Optimization Logs ====== |
1585 | 1587 | Energy difference: -1.972818e-06 [a.u.] |
1586 | - Max gradient: 5.021458e-04 [a.u.] | |
1587 | - Rms gradient: 2.523271e-04 [a.u.] | |
1588 | + Max gradient: 5.193113e-04 [a.u.] | |
1589 | + Rms gradient: 2.500944e-04 [a.u.] | |
1588 | 1590 | |
1589 | 1591 | |
1590 | 1592 |
@@ -1660,8 +1662,8 @@ actual/expected energy change = 1.407551 | ||
1660 | 1662 | |
1661 | 1663 | ====== Optimization Logs ====== |
1662 | 1664 | Energy difference: -1.505934e-06 [a.u.] |
1663 | - Max gradient: 5.193113e-04 [a.u.] | |
1664 | - Rms gradient: 2.500944e-04 [a.u.] | |
1665 | + Max gradient: 4.522702e-04 [a.u.] | |
1666 | + Rms gradient: 2.104509e-04 [a.u.] | |
1665 | 1667 | |
1666 | 1668 | |
1667 | 1669 |
@@ -1737,83 +1739,6 @@ actual/expected energy change = 1.391970 | ||
1737 | 1739 | |
1738 | 1740 | ====== Optimization Logs ====== |
1739 | 1741 | Energy difference: -1.011309e-06 [a.u.] |
1740 | - Max gradient: 4.522702e-04 [a.u.] | |
1741 | - Rms gradient: 2.104509e-04 [a.u.] | |
1742 | - | |
1743 | - | |
1744 | - | |
1745 | -========== START: BFGS step 22 | |
1746 | - | |
1747 | -Lowest eigenvalue of the augmented Hessian = -0.000001 | |
1748 | -2nd lowest eigenvalue of the augmented Hessian = 0.043287 | |
1749 | -3rd lowest eigenvalue of the augmented Hessian = 0.089778 | |
1750 | -Calculated RFO step size = 0.002218 | |
1751 | -Trust radius is 0.300000 | |
1752 | - | i-th | atom type | x[a.u.] | y[a.u.] | z[a.u.] | | x[angst.] | y[angst.] | z[angst.] | | |
1753 | - Atom coordinates: 0 C 2.145595e-02 9.983076e-02 -9.199526e-02 1.135400e-02 5.282816e-02 -4.868179e-02 | |
1754 | - Atom coordinates: 1 C 2.873812e+00 2.387958e-02 -9.697962e-02 1.520756e+00 1.263653e-02 -5.131940e-02 | |
1755 | - Atom coordinates: 2 H -6.960428e-01 2.041507e+00 -9.268236e-02 -3.683300e-01 1.080319e+00 -4.904539e-02 | |
1756 | - Atom coordinates: 3 H -7.679994e-01 -8.436859e-01 -1.755560e+00 -4.064078e-01 -4.464593e-01 -9.290022e-01 | |
1757 | - Atom coordinates: 4 H -7.619906e-01 -8.421400e-01 1.575439e+00 -4.032281e-01 -4.456413e-01 8.336865e-01 | |
1758 | - Atom coordinates: 5 H 3.663427e+00 9.949986e-01 -1.744246e+00 1.938602e+00 5.265306e-01 -9.230152e-01 | |
1759 | - Atom coordinates: 6 H 3.668032e+00 9.317891e-01 1.584399e+00 1.941039e+00 4.930816e-01 8.384277e-01 | |
1760 | - Atom coordinates: 7 H 3.587673e+00 -1.918630e+00 -1.342655e-01 1.898515e+00 -1.015295e+00 -7.105023e-02 | |
1761 | - | |
1762 | - | x[a.u.] | y[a.u.] | z[a.u.] | | x[angst.] | y[angst.] | z[angst.] | | |
1763 | - Center of Mass: 1.447879e+00 6.161074e-02 -9.448714e-02 7.661844e-01 3.260300e-02 -5.000044e-02 | |
1764 | - | |
1765 | - | x[a.u.] | y[a.u.] | z[a.u.] | | x[angst.] | y[angst.] | z[angst.] | | |
1766 | - Center of Core: 1.447879e+00 6.161081e-02 -9.448714e-02 7.661843e-01 3.260303e-02 -5.000044e-02 | |
1767 | - | |
1768 | - | i-th | occ/unocc | e[a.u.] | e[eV] | | |
1769 | - Energy of MO: 0 occ -1.289005e+00 -3.507588e+01 | |
1770 | - Energy of MO: 1 occ -8.690247e-01 -2.364755e+01 | |
1771 | - Energy of MO: 2 occ -5.575282e-01 -1.517124e+01 | |
1772 | - Energy of MO: 3 occ -5.573856e-01 -1.516735e+01 | |
1773 | - Energy of MO: 4 occ -5.073051e-01 -1.380458e+01 | |
1774 | - Energy of MO: 5 occ -4.362141e-01 -1.187008e+01 | |
1775 | - Energy of MO: 6 occ -4.361427e-01 -1.186814e+01 | |
1776 | - Energy of MO: 7 unocc 1.366557e-01 3.718622e+00 | |
1777 | - Energy of MO: 8 unocc 1.573044e-01 4.280505e+00 | |
1778 | - Energy of MO: 9 unocc 1.638606e-01 4.458909e+00 | |
1779 | - Energy of MO: 10 unocc 1.639624e-01 4.461679e+00 | |
1780 | - Energy of MO: 11 unocc 1.844616e-01 5.019494e+00 | |
1781 | - Energy of MO: 12 unocc 1.934591e-01 5.264332e+00 | |
1782 | - Energy of MO: 13 unocc 1.935232e-01 5.266075e+00 | |
1783 | - | |
1784 | - | [a.u.] | [eV] | | |
1785 | - Electronic energy(SCF): -1.230266e+01 -3.347751e+02 | |
1786 | - Note that this electronic energy includes core-repulsions. | |
1787 | - | |
1788 | - | [a.u.] | [eV] | | |
1789 | - Core repulsion energy: 2.177680e+01 5.925818e+02 | |
1790 | - | |
1791 | - | x[a.u.] | y[a.u.] | z[a.u.] | magnitude[a.u.] | | x[debye] | y[debye] | z[debye] | magnitude[debye] | | |
1792 | - Total Dipole moment(SCF): -2.651745e-03 2.628576e-03 4.911031e-04 3.765945e-03 -6.740065e-03 6.681174e-03 1.248260e-03 9.572080e-03 | |
1793 | - | |
1794 | - | x[a.u.] | y[a.u.] | z[a.u.] | magnitude[a.u.] | | x[debye] | y[debye] | z[debye] | magnitude[debye] | | |
1795 | - Electronic Dipole moment(SCF): -6.524292e-03 6.499504e-03 4.863049e-04 9.222062e-03 -1.658310e-02 1.652009e-02 1.236064e-03 2.344015e-02 | |
1796 | - | |
1797 | - | x[a.u.] | y[a.u.] | z[a.u.] | magnitude[a.u.] | | x[debye] | y[debye] | z[debye] | magnitude[debye] | | |
1798 | - Core Dipole moment: 3.872547e-03 -3.870928e-03 4.798208e-06 5.475466e-03 9.843034e-03 -9.838921e-03 1.219583e-05 1.391725e-02 | |
1799 | - | |
1800 | - | k-th eigenstate | i-th atom | atom type | core charge[a.u.] | Mulliken charge[a.u.]| | |
1801 | - Mulliken charge(SCF): 0 0 C 4.000000e+00 -2.559578e-01 | |
1802 | - Mulliken charge(SCF): 0 1 C 4.000000e+00 -2.563503e-01 | |
1803 | - Mulliken charge(SCF): 0 2 H 1.000000e+00 8.559830e-02 | |
1804 | - Mulliken charge(SCF): 0 3 H 1.000000e+00 8.532453e-02 | |
1805 | - Mulliken charge(SCF): 0 4 H 1.000000e+00 8.538347e-02 | |
1806 | - Mulliken charge(SCF): 0 5 H 1.000000e+00 8.534452e-02 | |
1807 | - Mulliken charge(SCF): 0 6 H 1.000000e+00 8.531996e-02 | |
1808 | - Mulliken charge(SCF): 0 7 H 1.000000e+00 8.533725e-02 | |
1809 | - | |
1810 | - | |
1811 | -actual energy change = -6.340346e-07 | |
1812 | -expected energy change = -4.515859e-07 | |
1813 | -actual/expected energy change = 1.404018 | |
1814 | - | |
1815 | - ====== Optimization Logs ====== | |
1816 | - Energy difference: -6.340346e-07 [a.u.] | |
1817 | 1742 | Max gradient: 3.002884e-04 [a.u.] |
1818 | 1743 | Rms gradient: 1.551034e-04 [a.u.] |
1819 | 1744 |
@@ -1823,14 +1748,14 @@ actual/expected energy change = 1.404018 | ||
1823 | 1748 | |
1824 | 1749 | ********** DONE: Geometry optimization ********** |
1825 | 1750 | Summary for memory usage: |
1826 | - Max Heap: 0.220496[MB]. | |
1751 | + Max Heap: 0.440928[MB]. | |
1827 | 1752 | Current Heap(Leaked): 0.000000[MB]. |
1828 | 1753 | |
1829 | 1754 | |
1830 | 1755 | >>>>> The MolDS finished normally! <<<<< |
1831 | - >>>>> CPU time: 12.76[s]. <<<<< | |
1832 | - >>>>> Elapsed time: 13[s]. <<<<< | |
1833 | - >>>>> Elapsed time(OMP): 12.916[s]. <<<<< | |
1756 | + >>>>> CPU time: 5.2[s]. <<<<< | |
1757 | + >>>>> Elapsed time: 1[s]. <<<<< | |
1758 | + >>>>> Elapsed time(OMP): 1.15049[s]. <<<<< | |
1834 | 1759 | >>>>> See you. <<<<< |
1835 | 1760 | |
1836 | 1761 |