• 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ón0fdc02fe9bb59e54c8b55536ebf189d87b618ef9 (tree)
Tiempo2012-12-03 19:05:10
AutorMikiya Fujii <mikiya.fujii@gmai...>
CommiterMikiya Fujii

Log Message

test suite is update for change of the output of the mulliken. #28605

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

Cambiar Resumen

Diferencia incremental

--- a/src/base/InputParser.cpp
+++ b/src/base/InputParser.cpp
@@ -1616,8 +1616,8 @@ void InputParser::OutputCisConditions() const{
16161616 this->OutputLog(boost::format("%s%d\n") % this->messageCisMulliken.c_str()
16171617 % (*indeces)[i]);
16181618 }
1619+ this->OutputLog("\n");
16191620 }
1620- this->OutputLog("\n");
16211621
16221622 this->OutputLog("\n");
16231623 }
--- a/src/cndo/Cndo2.cpp
+++ b/src/cndo/Cndo2.cpp
@@ -203,7 +203,7 @@ void Cndo2::SetMessages(){
203203 this->messageOcc = "occ";
204204 this->messageUnOcc = "unocc";
205205 this->messageMullikenAtoms = "\tMulliken charge:";
206- this->messageMullikenAtomsTitle = "\t\t\t\t| i-th | atom type | core charge[a.u.] | Mulliken charge[a.u.]| \n";
206+ this->messageMullikenAtomsTitle = "\t\t\t\t| k-th eigenstate | i-th atom | atom type | core charge[a.u.] | Mulliken charge[a.u.]| \n";
207207 this->messageElecEnergy = "\tElectronic energy(SCF):";
208208 this->messageNoteElecEnergy = "\tNote that this electronic energy includes core-repulsions.\n\n";
209209 this->messageNoteElecEnergyVdW = "\tNote that this electronic energy includes core-repulsions and vdW correction.\n\n";
@@ -1040,14 +1040,16 @@ void Cndo2::OutputSCFDipole() const{
10401040 }
10411041
10421042 void Cndo2::OutputSCFMulliken() const{
1043+ int groundState = 0;
10431044 this->OutputLog(this->messageMullikenAtomsTitle);
10441045 for(int a=0; a<this->molecule->GetNumberAtoms(); a++){
10451046 Atom* atom = this->molecule->GetAtom(a);
1046- this->OutputLog(boost::format("%s\t%d\t%s\t%e\t%e\n") % this->messageMullikenAtoms
1047- % a
1048- % AtomTypeStr(atom->GetAtomType())
1049- % atom->GetCoreCharge()
1050- % (atom->GetCoreCharge()-atomicElectronPopulation[a]));
1047+ this->OutputLog(boost::format("%s\t%d\t%d\t%s\t%e\t%e\n") % this->messageMullikenAtoms
1048+ % groundState
1049+ % a
1050+ % AtomTypeStr(atom->GetAtomType())
1051+ % atom->GetCoreCharge()
1052+ % (atom->GetCoreCharge()-atomicElectronPopulation[a]));
10511053 }
10521054 this->OutputLog("\n");
10531055 }