Révision | ec8ff0071aba9c9f51bdbabeb0a4845335bcbb1c (tree) |
---|---|
l'heure | 2012-07-05 05:20:13 |
Auteur | Katsuhiko Nishimra <ktns.87@gmai...> |
Commiter | Katsuhiko Nishimra |
typo fix: roop -> loop #28772
git-svn-id: https://svn.sourceforge.jp/svnroot/molds/trunk@866 1136aad2-a195-0410-b898-f5ea1d11b9d8
@@ -688,7 +688,7 @@ int InputParser::ParseConditionsCIS(vector<string>* inputTerms, int parseIndex) | ||
688 | 688 | } |
689 | 689 | parseIndex++; |
690 | 690 | } |
691 | - // max iterations for the Davidson roop | |
691 | + // max iterations for the Davidson loop | |
692 | 692 | if((*inputTerms)[parseIndex].compare(this->stringCISMaxIter) == 0){ |
693 | 693 | int maxIter = atoi((*inputTerms)[parseIndex+1].c_str()); |
694 | 694 | Parameters::GetInstance()->SetMaxIterationsCIS(maxIter); |
@@ -111,7 +111,7 @@ void MC::DoMC(int totalSteps, int elecState, double temperature, double stepWidt | ||
111 | 111 | this->OutputLog(this->messageinitialConditionMC); |
112 | 112 | this->OutputMolecule(*currentES, *this->molecule, elecState); |
113 | 113 | |
114 | - // Monte Carlo roop | |
114 | + // Monte Carlo loop | |
115 | 115 | for(int s=0; s<totalSteps; s++){ |
116 | 116 | this->OutputLog((boost::format("%s%d\n\n") % this->messageStartStepMC.c_str() % (s+1) ).str()); |
117 | 117 | // create trial molecule |
@@ -93,7 +93,7 @@ void ConjugateGradient::SearchMinimum(boost::shared_ptr<ElectronicStructure> ele | ||
93 | 93 | } |
94 | 94 | } |
95 | 95 | |
96 | - // conugate gradient roop | |
96 | + // conugate gradient loop | |
97 | 97 | for(int s=0; s<totalSteps; s++){ |
98 | 98 | this->OutputLog((boost::format("%s%d\n\n") % this->messageStartConjugateGradientStep.c_str() % (s+1)).str()); |
99 | 99 | lineSearchInitialEnergy = lineSearchCurrentEnergy; |
@@ -177,7 +177,7 @@ void RPMD::DoRPMD(const Molecule& refferenceMolecule){ | ||
177 | 177 | temperature); |
178 | 178 | this->OutputLog(this->messageEndInitialRPMD); |
179 | 179 | |
180 | - // time step roop | |
180 | + // time step loop | |
181 | 181 | for(int s=0; s<totalSteps; s++){ |
182 | 182 | this->OutputLog((boost::format("%s%d\n") % this->messageStartStepRPMD.c_str() % (s+1)).str()); |
183 | 183 | // update momenta |
@@ -102,7 +102,7 @@ void ZindoS::SetMessages(){ | ||
102 | 102 | this->errorMessageCalcCISMatrix |
103 | 103 | = "Error in zindo::ZindoS::CalcCISMatrix: Non available orbital is contained.\n"; |
104 | 104 | this->errorMessageDavidsonNotConverged = "Error in zindo::ZindoS::DoCISDavidson: Davidson did not met convergence criterion. \n"; |
105 | - this->errorMessageDavidsonMaxIter = "Davidson roop reaches max_iter="; | |
105 | + this->errorMessageDavidsonMaxIter = "Davidson loop reaches max_iter="; | |
106 | 106 | this->errorMessageDavidsonMaxDim = "Dimension of the expansion vectors reaches max_dim="; |
107 | 107 | this->errorMessageCalcForceNotGroundState |
108 | 108 | = "Error in zindo::ZindoS::CalcForce: Only ground state is enable in ZindoS."; |
@@ -1430,7 +1430,7 @@ void ZindoS::DoCISDavidson(){ | ||
1430 | 1430 | interactionMatrixDimension = 0; |
1431 | 1431 | reachMaxDim = false; |
1432 | 1432 | goToDirectCIS = false; |
1433 | - // Davidson roop | |
1433 | + // Davidson loop | |
1434 | 1434 | for(int k=0; k<maxIter; k++){ |
1435 | 1435 | this->OutputLog((boost::format("%s%d\n") % this->messageNumIterCIS.c_str() % k ).str()); |
1436 | 1436 | // calculate dimension of the interaction matrix |
@@ -1540,7 +1540,7 @@ void ZindoS::DoCISDavidson(){ | ||
1540 | 1540 | interactionMatrixDimension, |
1541 | 1541 | &interactionEigenEnergies); |
1542 | 1542 | |
1543 | - // stop the Davidson roop | |
1543 | + // stop the Davidson loop | |
1544 | 1544 | if(allConverged){ |
1545 | 1545 | this->OutputLog(this->messageDavidsonConverge); |
1546 | 1546 | break; |
@@ -1564,7 +1564,7 @@ void ZindoS::DoCISDavidson(){ | ||
1564 | 1564 | throw MolDSException(ss.str()); |
1565 | 1565 | } |
1566 | 1566 | |
1567 | - }// end Davidson roop | |
1567 | + }// end Davidson loop | |
1568 | 1568 | } |
1569 | 1569 | catch(MolDSException ex){ |
1570 | 1570 | this->FreeDavidsonCISTemporaryMtrices(&expansionVectors, |