Revisão | 0fdc02fe9bb59e54c8b55536ebf189d87b618ef9 (tree) |
---|---|
Hora | 2012-12-03 19:05:10 |
Autor | Mikiya Fujii <mikiya.fujii@gmai...> |
Commiter | Mikiya Fujii |
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
@@ -1616,8 +1616,8 @@ void InputParser::OutputCisConditions() const{ | ||
1616 | 1616 | this->OutputLog(boost::format("%s%d\n") % this->messageCisMulliken.c_str() |
1617 | 1617 | % (*indeces)[i]); |
1618 | 1618 | } |
1619 | + this->OutputLog("\n"); | |
1619 | 1620 | } |
1620 | - this->OutputLog("\n"); | |
1621 | 1621 | |
1622 | 1622 | this->OutputLog("\n"); |
1623 | 1623 | } |
@@ -203,7 +203,7 @@ void Cndo2::SetMessages(){ | ||
203 | 203 | this->messageOcc = "occ"; |
204 | 204 | this->messageUnOcc = "unocc"; |
205 | 205 | 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"; | |
207 | 207 | this->messageElecEnergy = "\tElectronic energy(SCF):"; |
208 | 208 | this->messageNoteElecEnergy = "\tNote that this electronic energy includes core-repulsions.\n\n"; |
209 | 209 | this->messageNoteElecEnergyVdW = "\tNote that this electronic energy includes core-repulsions and vdW correction.\n\n"; |
@@ -1040,14 +1040,16 @@ void Cndo2::OutputSCFDipole() const{ | ||
1040 | 1040 | } |
1041 | 1041 | |
1042 | 1042 | void Cndo2::OutputSCFMulliken() const{ |
1043 | + int groundState = 0; | |
1043 | 1044 | this->OutputLog(this->messageMullikenAtomsTitle); |
1044 | 1045 | for(int a=0; a<this->molecule->GetNumberAtoms(); a++){ |
1045 | 1046 | 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])); | |
1051 | 1053 | } |
1052 | 1054 | this->OutputLog("\n"); |
1053 | 1055 | } |