Révision | 797e548630e2f31cedb223bdab66fa1ca448b061 (tree) |
---|---|
l'heure | 2014-01-17 13:05:04 |
Auteur | Mikiya Fujii <mikiya.fujii@gmai...> |
Commiter | Mikiya Fujii |
Refactoring: Add commnets for d-orbital.
git-svn-id: https://svn.sourceforge.jp/svnroot/molds/trunk@1652 1136aad2-a195-0410-b898-f5ea1d11b9d8
@@ -3554,6 +3554,7 @@ void Mndo::CalcTwoElecsTwoAtomCores(double****** twoElecsTwoAtomCores, | ||
3554 | 3554 | throw MolDSException(this->errorMessageCalcTwoElecsTwoAtomCoresNullMatrix); |
3555 | 3555 | } |
3556 | 3556 | #endif |
3557 | + OrbitalType twoElecLimit = dxy; | |
3557 | 3558 | int totalNumberAtoms = molecule.GetAtomVect().size(); |
3558 | 3559 | MallocerFreer::GetInstance()->Initialize<double>(twoElecsTwoAtomCores, |
3559 | 3560 | totalNumberAtoms, |
@@ -3623,7 +3624,6 @@ void Mndo::CalcTwoElecsTwoAtomCores(double****** twoElecsTwoAtomCores, | ||
3623 | 3624 | if(errorStream.str().empty()){ |
3624 | 3625 | if(a<totalNumberAtoms-1){ |
3625 | 3626 | int b = a+1; |
3626 | - OrbitalType twoElecLimit = dxy; | |
3627 | 3627 | int numBuff = (twoElecLimit+1)*twoElecLimit/2; |
3628 | 3628 | int num = (totalNumberAtoms-b)*numBuff*numBuff; |
3629 | 3629 | asyncCommunicator.SetBroadcastedMessage(&this->twoElecsTwoAtomCoresMpiBuff[a][b][0][0], num, calcRank); |
@@ -3674,6 +3674,7 @@ void Mndo::CalcTwoElecsAtomEpcCores(double****** twoElecsAtomEpcCores, | ||
3674 | 3674 | #endif |
3675 | 3675 | int totalNumberAtoms = molecule.GetAtomVect().size(); |
3676 | 3676 | int totalNumberEpcs = molecule.GetEpcVect().size(); |
3677 | + OrbitalType twoElecLimit = dxy; | |
3677 | 3678 | MallocerFreer::GetInstance()->Initialize<double>(twoElecsAtomEpcCores, |
3678 | 3679 | totalNumberAtoms, |
3679 | 3680 | totalNumberEpcs, |
@@ -3745,7 +3746,6 @@ void Mndo::CalcTwoElecsAtomEpcCores(double****** twoElecsAtomEpcCores, | ||
3745 | 3746 | if(errorStream.str().empty()){ |
3746 | 3747 | if(a<totalNumberAtoms-1){ |
3747 | 3748 | int b = 0; |
3748 | - OrbitalType twoElecLimit = dxy; | |
3749 | 3749 | int numBuff = (twoElecLimit+1)*twoElecLimit/2; |
3750 | 3750 | int num = totalNumberEpcs*numBuff*numBuff; |
3751 | 3751 | asyncCommunicator.SetBroadcastedMessage(&this->twoElecsAtomEpcCoresMpiBuff[a][b][0][0], num, calcRank); |
@@ -4726,6 +4726,7 @@ void Mndo::RotateDiatomicTwoElecsTwoCores2ndDerivativesToSpaceFrame( | ||
4726 | 4726 | // See Apendix in [DT_1977] |
4727 | 4727 | // Orbital mu and nu belong atom A, |
4728 | 4728 | // orbital lambda and sigma belong atomB. |
4729 | +// d-orbital can not be calculated. | |
4729 | 4730 | double Mndo::GetNddoRepulsionIntegral(const Atom& atomA, |
4730 | 4731 | OrbitalType mu, |
4731 | 4732 | OrbitalType nu, |
@@ -610,6 +610,7 @@ double ZindoS::GetNishimotoMatagaTwoEleInt(const Atom& atomA, OrbitalType orbita | ||
610 | 610 | gammaAA = atomA.GetZindoF0ss(); |
611 | 611 | } |
612 | 612 | /* |
613 | + // ToDo: d-orbitals. | |
613 | 614 | else if(orbitalA == dxy || |
614 | 615 | orbitalA == dyz || |
615 | 616 | orbitalA == dzz || |
@@ -634,6 +635,7 @@ double ZindoS::GetNishimotoMatagaTwoEleInt(const Atom& atomA, OrbitalType orbita | ||
634 | 635 | gammaBB = atomB.GetZindoF0ss(); |
635 | 636 | } |
636 | 637 | /* |
638 | + // ToDo: d-orbitals. | |
637 | 639 | else if(orbitalB == dxy || |
638 | 640 | orbitalB == dyz || |
639 | 641 | orbitalB == dzz || |
@@ -684,6 +686,7 @@ double ZindoS::GetNishimotoMatagaTwoEleInt1stDerivative(const Atom& atomA, | ||
684 | 686 | gammaAA = atomA.GetZindoF0ss(); |
685 | 687 | } |
686 | 688 | /* |
689 | + // ToDo: d-orbitals. | |
687 | 690 | else if(orbitalA == dxy || |
688 | 691 | orbitalA == dyz || |
689 | 692 | orbitalA == dzz || |
@@ -708,6 +711,7 @@ double ZindoS::GetNishimotoMatagaTwoEleInt1stDerivative(const Atom& atomA, | ||
708 | 711 | gammaBB = atomB.GetZindoF0ss(); |
709 | 712 | } |
710 | 713 | /* |
714 | + // ToDo: d-orbitals. | |
711 | 715 | else if(orbitalB == dxy || |
712 | 716 | orbitalB == dyz || |
713 | 717 | orbitalB == dzz || |