• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

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

Commit MetaInfo

Révision797e548630e2f31cedb223bdab66fa1ca448b061 (tree)
l'heure2014-01-17 13:05:04
AuteurMikiya Fujii <mikiya.fujii@gmai...>
CommiterMikiya Fujii

Message de Log

Refactoring: Add commnets for d-orbital.

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

Change Summary

Modification

--- a/src/mndo/Mndo.cpp
+++ b/src/mndo/Mndo.cpp
@@ -3554,6 +3554,7 @@ void Mndo::CalcTwoElecsTwoAtomCores(double****** twoElecsTwoAtomCores,
35543554 throw MolDSException(this->errorMessageCalcTwoElecsTwoAtomCoresNullMatrix);
35553555 }
35563556 #endif
3557+ OrbitalType twoElecLimit = dxy;
35573558 int totalNumberAtoms = molecule.GetAtomVect().size();
35583559 MallocerFreer::GetInstance()->Initialize<double>(twoElecsTwoAtomCores,
35593560 totalNumberAtoms,
@@ -3623,7 +3624,6 @@ void Mndo::CalcTwoElecsTwoAtomCores(double****** twoElecsTwoAtomCores,
36233624 if(errorStream.str().empty()){
36243625 if(a<totalNumberAtoms-1){
36253626 int b = a+1;
3626- OrbitalType twoElecLimit = dxy;
36273627 int numBuff = (twoElecLimit+1)*twoElecLimit/2;
36283628 int num = (totalNumberAtoms-b)*numBuff*numBuff;
36293629 asyncCommunicator.SetBroadcastedMessage(&this->twoElecsTwoAtomCoresMpiBuff[a][b][0][0], num, calcRank);
@@ -3674,6 +3674,7 @@ void Mndo::CalcTwoElecsAtomEpcCores(double****** twoElecsAtomEpcCores,
36743674 #endif
36753675 int totalNumberAtoms = molecule.GetAtomVect().size();
36763676 int totalNumberEpcs = molecule.GetEpcVect().size();
3677+ OrbitalType twoElecLimit = dxy;
36773678 MallocerFreer::GetInstance()->Initialize<double>(twoElecsAtomEpcCores,
36783679 totalNumberAtoms,
36793680 totalNumberEpcs,
@@ -3745,7 +3746,6 @@ void Mndo::CalcTwoElecsAtomEpcCores(double****** twoElecsAtomEpcCores,
37453746 if(errorStream.str().empty()){
37463747 if(a<totalNumberAtoms-1){
37473748 int b = 0;
3748- OrbitalType twoElecLimit = dxy;
37493749 int numBuff = (twoElecLimit+1)*twoElecLimit/2;
37503750 int num = totalNumberEpcs*numBuff*numBuff;
37513751 asyncCommunicator.SetBroadcastedMessage(&this->twoElecsAtomEpcCoresMpiBuff[a][b][0][0], num, calcRank);
@@ -4726,6 +4726,7 @@ void Mndo::RotateDiatomicTwoElecsTwoCores2ndDerivativesToSpaceFrame(
47264726 // See Apendix in [DT_1977]
47274727 // Orbital mu and nu belong atom A,
47284728 // orbital lambda and sigma belong atomB.
4729+// d-orbital can not be calculated.
47294730 double Mndo::GetNddoRepulsionIntegral(const Atom& atomA,
47304731 OrbitalType mu,
47314732 OrbitalType nu,
--- a/src/zindo/ZindoS.cpp
+++ b/src/zindo/ZindoS.cpp
@@ -610,6 +610,7 @@ double ZindoS::GetNishimotoMatagaTwoEleInt(const Atom& atomA, OrbitalType orbita
610610 gammaAA = atomA.GetZindoF0ss();
611611 }
612612 /*
613+ // ToDo: d-orbitals.
613614 else if(orbitalA == dxy ||
614615 orbitalA == dyz ||
615616 orbitalA == dzz ||
@@ -634,6 +635,7 @@ double ZindoS::GetNishimotoMatagaTwoEleInt(const Atom& atomA, OrbitalType orbita
634635 gammaBB = atomB.GetZindoF0ss();
635636 }
636637 /*
638+ // ToDo: d-orbitals.
637639 else if(orbitalB == dxy ||
638640 orbitalB == dyz ||
639641 orbitalB == dzz ||
@@ -684,6 +686,7 @@ double ZindoS::GetNishimotoMatagaTwoEleInt1stDerivative(const Atom& atomA,
684686 gammaAA = atomA.GetZindoF0ss();
685687 }
686688 /*
689+ // ToDo: d-orbitals.
687690 else if(orbitalA == dxy ||
688691 orbitalA == dyz ||
689692 orbitalA == dzz ||
@@ -708,6 +711,7 @@ double ZindoS::GetNishimotoMatagaTwoEleInt1stDerivative(const Atom& atomA,
708711 gammaBB = atomB.GetZindoF0ss();
709712 }
710713 /*
714+ // ToDo: d-orbitals.
711715 else if(orbitalB == dxy ||
712716 orbitalB == dyz ||
713717 orbitalB == dzz ||