• 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

Revision05baa4be9d2cbe7cf4eac8e864970988641bc3fe (tree)
Zeit2013-07-24 23:31:24
AutorMikiya Fujii <mikiya.fujii@gmai...>
CommiterMikiya Fujii

Log Message

Some methods for MD in Parameters-class is inlined #27279

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

Ändern Zusammenfassung

Diff

--- a/src/base/Parameters.cpp
+++ b/src/base/Parameters.cpp
@@ -361,31 +361,6 @@ bool Parameters::RequiresMullikenCIS() const{
361361 0<this->electronicStateIndecesMullikenCIS->size());
362362 }
363363
364-// methods for MD
365-int Parameters::GetElectronicStateIndexMD() const{
366- return this->electronicStateIndexMD;
367-}
368-
369-void Parameters::SetElectronicStateIndexMD(int electronicStateIndex){
370- this->electronicStateIndexMD = electronicStateIndex;
371-}
372-
373-int Parameters::GetTotalStepsMD() const{
374- return this->totalStepsMD;
375-}
376-
377-void Parameters::SetTotalStepsMD(int totalSteps){
378- this->totalStepsMD = totalSteps;
379-}
380-
381-double Parameters::GetTimeWidthMD() const{
382- return this->timeWidthMD;
383-}
384-
385-void Parameters::SetTimeWidthMD(double timeWidth){
386- this->timeWidthMD = timeWidth;
387-}
388-
389364 // methods for MC
390365 int Parameters::GetElectronicStateIndexMC() const{
391366 return this->electronicStateIndexMC;
--- a/src/base/Parameters.h
+++ b/src/base/Parameters.h
@@ -147,12 +147,12 @@ public:
147147 double GetLimitHeapMemory() const {return this->limitHeapMemory;}
148148 void SetLimitHeapMemory(double limitHeap){this->limitHeapMemory = limitHeap;}
149149 // MD
150- int GetElectronicStateIndexMD() const;
151- void SetElectronicStateIndexMD(int electronicStateIndex);
152- int GetTotalStepsMD() const;
153- void SetTotalStepsMD(int totalSteps);
154- double GetTimeWidthMD() const;
155- void SetTimeWidthMD(double timeWidth);
150+ int GetElectronicStateIndexMD() const {return this->electronicStateIndexMD;}
151+ void SetElectronicStateIndexMD(int index){this->electronicStateIndexMD = index;}
152+ int GetTotalStepsMD() const {return this->totalStepsMD;}
153+ void SetTotalStepsMD(int steps) {this->totalStepsMD = steps;}
154+ double GetTimeWidthMD() const {return this->timeWidthMD;}
155+ void SetTimeWidthMD(double dt) {this->timeWidthMD = dt;}
156156 // MC
157157 int GetElectronicStateIndexMC() const;
158158 void SetElectronicStateIndexMC(int electronicStateIndex);