• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

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

Commit MetaInfo

Revisionb4ea85001d12530da25def2e7a1df6b31c1853b6 (tree)
Zeit2013-07-24 21:05:41
AutorMikiya Fujii <mikiya.fujii@gmai...>
CommiterMikiya Fujii

Log Message

ParticleDensityLogger is inlined. #27279

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

Ändern Zusammenfassung

Diff

--- a/src/base/loggers/ParticleDensityLogger.cpp
+++ b/src/base/loggers/ParticleDensityLogger.cpp
@@ -108,12 +108,4 @@ string ParticleDensityLogger::GetFileName(int elecStateIndex, int digit) const{
108108 return fileName.str();
109109 }
110110
111-double const* ParticleDensityLogger::GetFrameLength() const{
112- return Parameters::GetInstance()->GetFrameLengthParticlePlot();
113-}
114-
115-int const* ParticleDensityLogger::GetGridNumber() const{
116- return Parameters::GetInstance()->GetGridNumberParticlePlot();
117-}
118-
119111 }
--- a/src/base/loggers/ParticleDensityLogger.h
+++ b/src/base/loggers/ParticleDensityLogger.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()->GetFrameLengthParticlePlot();}
41+ int const* GetGridNumber() const{return MolDS_base::Parameters::GetInstance()->GetGridNumberParticlePlot();}
4242 private:
4343 ParticleDensityLogger();
4444 };