• 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

Revision63a3add06fecfa3492dd88c4357b0a1db46ba6ae (tree)
Time2013-08-12 17:48:46
AuthorKatsuhiko Nishimra <ktns.87@gmai...>
CommiterKatsuhiko Nishimra

Log Message

Move OutputLog for Hill climbing. #31856

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

Change Summary

Incremental Difference

--- a/src/optimization/BFGS.cpp
+++ b/src/optimization/BFGS.cpp
@@ -191,6 +191,7 @@ void BFGS::SearchMinimum(boost::shared_ptr<ElectronicStructure> electronicStruct
191191 }
192192
193193 if(lineSearchCurrentEnergy > lineSearchInitialEnergy){
194+ this->OutputLog(this->messageHillClimbing);
194195 this->RollbackMolecularGeometry(molecule, matrixOldCoordinates);
195196 lineSearchCurrentEnergy = lineSearchInitialEnergy;
196197 }
@@ -543,7 +544,6 @@ void BFGS::RollbackMolecularGeometry(MolDS_base::Molecule& molecule,
543544 bool tempCanOutputLogs = molecule.CanOutputLogs();
544545 bool rollbackCanOutputLogs = true;
545546 molecule.SetCanOutputLogs(rollbackCanOutputLogs);
546- this->OutputLog(this->messageHillClimbing);
547547 for(int i=0;i<molecule.GetNumberAtoms();i++){
548548 const Atom* atom = molecule.GetAtom(i);
549549 double* xyz = atom->GetXyz();