Révision | 8c6e17922fb382e7ebce3b7c538f13d82af63df2 (tree) |
---|---|
l'heure | 2014-01-08 17:51:20 |
Auteur | Katsuhiko Nishimra <ktns.87@gmai...> |
Commiter | Katsuhiko Nishimra |
Swap DoDamp and DoDIIS #32869
DoDamp skews DIIS error vectors
git-svn-id: https://svn.sourceforge.jp/svnroot/molds/trunk@1623 1136aad2-a195-0410-b898-f5ea1d11b9d8
@@ -610,11 +610,6 @@ void Cndo2::DoSCF(bool requiresGuess){ | ||
610 | 610 | } |
611 | 611 | else{ |
612 | 612 | if(!isGuess){ |
613 | - this->DoDamp(rmsDensity, | |
614 | - hasAppliedDamping, | |
615 | - this->orbitalElectronPopulation, | |
616 | - oldOrbitalElectronPopulation, | |
617 | - *this->molecule); | |
618 | 613 | this->DoDIIS(this->orbitalElectronPopulation, |
619 | 614 | oldOrbitalElectronPopulation, |
620 | 615 | diisStoredDensityMatrix, |
@@ -627,6 +622,11 @@ void Cndo2::DoSCF(bool requiresGuess){ | ||
627 | 622 | Parameters::GetInstance()->GetDiisNumErrorVectSCF(), |
628 | 623 | *this->molecule, |
629 | 624 | iterationStep); |
625 | + this->DoDamp(rmsDensity, | |
626 | + hasAppliedDamping, | |
627 | + this->orbitalElectronPopulation, | |
628 | + oldOrbitalElectronPopulation, | |
629 | + *this->molecule); | |
630 | 630 | } |
631 | 631 | } |
632 | 632 |