Revision | 9fa2cd5a54d52dc80dc21e383f2a2ea3a397532d (tree) |
---|---|
Zeit | 2011-02-05 20:31:50 |
Autor | Mikiya Fujii <mikiya.fujii@gmai...> |
Commiter | Mikiya Fujii |
diss and damping are not applied to guess.
git-svn-id: https://svn.sourceforge.jp/svnroot/molds/MolDS/trunk@86 1136aad2-a195-0410-b898-f5ea1d11b9d8
@@ -371,21 +371,21 @@ void Cndo2::DoesSCF(){ | ||
371 | 371 | break; |
372 | 372 | } |
373 | 373 | else{ |
374 | + if(!isGuess){ | |
375 | + // damping | |
376 | + this->DoesDamp(rmsDensity, this->orbitalElectronPopulation, oldOrbitalElectronPopulation, this->molecule); | |
374 | 377 | |
375 | - // damping | |
376 | - this->DoesDamp(rmsDensity, this->orbitalElectronPopulation, oldOrbitalElectronPopulation, this->molecule); | |
377 | - | |
378 | - // diis | |
379 | - this->DoesDIIS(this->orbitalElectronPopulation, | |
380 | - oldOrbitalElectronPopulation, | |
381 | - diisStoredDensityMatrix, | |
382 | - diisStoredErrorVect, | |
383 | - diisErrorProducts, | |
384 | - diisErrorCoefficients, | |
385 | - diisNumErrorVect, | |
386 | - this->molecule, | |
387 | - i); | |
388 | - | |
378 | + // diis | |
379 | + this->DoesDIIS(this->orbitalElectronPopulation, | |
380 | + oldOrbitalElectronPopulation, | |
381 | + diisStoredDensityMatrix, | |
382 | + diisStoredErrorVect, | |
383 | + diisErrorProducts, | |
384 | + diisErrorCoefficients, | |
385 | + diisNumErrorVect, | |
386 | + this->molecule, | |
387 | + i); | |
388 | + } | |
389 | 389 | // calc. electron population in each atom. |
390 | 390 | this->CalcAtomicElectronPopulation(this->atomicElectronPopulation, |
391 | 391 | this->orbitalElectronPopulation, |