• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Révisioned93b4eb6bd81c78730752913959d15ec9387394 (tree)
l'heure2013-07-24 20:57:52
AuteurMikiya Fujii <mikiya.fujii@gmai...>
CommiterMikiya Fujii

Message de Log

HoleDensityLogger is inlined. #27279

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

Change Summary

Modification

--- a/src/base/loggers/HoleDensityLogger.cpp
+++ b/src/base/loggers/HoleDensityLogger.cpp
@@ -108,12 +108,4 @@ string HoleDensityLogger::GetFileName(int elecStateIndex, int digit) const{
108108 return fileName.str();
109109 }
110110
111-double const* HoleDensityLogger::GetFrameLength() const{
112- return Parameters::GetInstance()->GetFrameLengthHolePlot();
113-}
114-
115-int const* HoleDensityLogger::GetGridNumber() const{
116- return Parameters::GetInstance()->GetGridNumberHolePlot();
117-}
118-
119111 }
--- a/src/base/loggers/HoleDensityLogger.h
+++ b/src/base/loggers/HoleDensityLogger.h
@@ -37,8 +37,8 @@ protected:
3737 int iy,
3838 int iz) const;
3939 std::string GetFileName(int elecStateIndex, int digit) const;
40- double const* GetFrameLength() const;
41- int const* GetGridNumber() const;
40+ double const* GetFrameLength() const{return MolDS_base::Parameters::GetInstance()->GetFrameLengthHolePlot();}
41+ int const* GetGridNumber() const{return MolDS_base::Parameters::GetInstance()->GetGridNumberHolePlot();}
4242 private:
4343 HoleDensityLogger();
4444 };