• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisión9fa2cd5a54d52dc80dc21e383f2a2ea3a397532d (tree)
Tiempo2011-02-05 20:31:50
AutorMikiya Fujii <mikiya.fujii@gmai...>
CommiterMikiya Fujii

Log Message

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

Cambiar Resumen

Diferencia incremental

--- a/src/cndo/Cndo2.h
+++ b/src/cndo/Cndo2.h
@@ -371,21 +371,21 @@ void Cndo2::DoesSCF(){
371371 break;
372372 }
373373 else{
374+ if(!isGuess){
375+ // damping
376+ this->DoesDamp(rmsDensity, this->orbitalElectronPopulation, oldOrbitalElectronPopulation, this->molecule);
374377
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+ }
389389 // calc. electron population in each atom.
390390 this->CalcAtomicElectronPopulation(this->atomicElectronPopulation,
391391 this->orbitalElectronPopulation,