• 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

Revisionb1954b38788fc09db272f2513b60c53d3952ad17 (tree)
Time2013-09-01 22:55:26
AuthorMikiya Fujii <mikiya.fujii@gmai...>
CommiterMikiya Fujii

Log Message

CNDO2 is refactored. #31814

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

Change Summary

Incremental Difference

--- a/src/cndo/Cndo2.cpp
+++ b/src/cndo/Cndo2.cpp
@@ -1377,7 +1377,7 @@ void Cndo2::CalcFockMatrix(double** fockMatrix,
13771377 mPassingTimes) );
13781378
13791379 MallocerFreer::GetInstance()->Initialize<double>(fockMatrix, totalNumberAOs, totalNumberAOs);
1380- for(int A=0; A<totalNumberAtoms; A++){
1380+ for(int A=totalNumberAtoms-1; 0<=A; A--){
13811381 const Atom& atomA = *molecule.GetAtom(A);
13821382 int firstAOIndexA = atomA.GetFirstAOIndex();
13831383 int lastAOIndexA = atomA.GetLastAOIndex();
@@ -3918,7 +3918,7 @@ void Cndo2::CalcOverlapAOs(double** overlapAOs, const Molecule& molecule) const{
39183918 totalAONumber);
39193919
39203920 // This loop A is parallelized with MPI
3921- for(int A=0; A<totalAtomNumber; A++){
3921+ for(int A=totalAtomNumber-1; 0<=A; A--){
39223922 const Atom& atomA = *molecule.GetAtom(A);
39233923 int firstAOIndexA = atomA.GetFirstAOIndex();
39243924 int numValenceAOs = atomA.GetValenceSize();