• 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

Revisão61085940822cbfa8f97f9f7d14bfbbe12f714d9a (tree)
Hora2013-08-08 19:43:44
AutorKatsuhiko Nishimra <ktns.87@gmai...>
CommiterKatsuhiko Nishimra

Mensagem de Log

Use Blas::Dcopy in BFGS::SearchMinimum. #31856

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

Mudança Sumário

Diff

--- a/src/optimization/BFGS.cpp
+++ b/src/optimization/BFGS.cpp
@@ -141,9 +141,7 @@ void BFGS::SearchMinimum(boost::shared_ptr<ElectronicStructure> electronicStruct
141141
142142 // Store old Force data
143143 MallocerFreer::GetInstance()->Malloc(&vectorOldForce, dimension);
144- for(int i =0;i < dimension; i++){
145- vectorOldForce[i] = vectorForce[i];
146- }
144+ MolDS_wrappers::Blas::GetInstance()->Dcopy(dimension, vectorForce, vectorOldForce);
147145
148146 this->StoreMolecularGeometry(matrixOldCoordinates, molecule);
149147