• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

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

Commit MetaInfo

Revision3710c18de341338729a5ef1941ef201968dffc94 (tree)
Zeit2011-09-27 02:04:11
AutorMikiya Fujii <mikiya.fujii@gmai...>
CommiterMikiya Fujii

Log Message

a bug in cndo/Cndo2::GetOverlapElementByGTOExpansion is fixed.

git-svn-id: https://svn.sourceforge.jp/svnroot/molds/MolDS/trunk@138 1136aad2-a195-0410-b898-f5ea1d11b9d8

Ändern Zusammenfassung

Diff

--- a/src/cndo/Cndo2.h
+++ b/src/cndo/Cndo2.h
@@ -1197,8 +1197,8 @@ double Cndo2::GetOverlapElementByGTOExpansion(Atom* atomA, int valenceIndexA,
11971197 double gaussianExponentB = 0.0;
11981198
11991199 double temp = 0.0;
1200- for(int i=0; i<stonG; i++){
1201- for(int j=0; j<stonG; j++){
1200+ for(int i=0; i<=stonG; i++){
1201+ for(int j=0; j<=stonG; j++){
12021202 temp = GTOExpansionSTO::GetInstance()->GetCoefficient
12031203 (stonG, shellTypeA, valenceOrbitalA, i);
12041204 temp *= GTOExpansionSTO::GetInstance()->GetCoefficient