• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

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

Commit MetaInfo

修订版0fa851dfdbb7666784cba5622e0582b6da9c8f66 (tree)
时间2013-07-25 00:46:00
作者Mikiya Fujii <mikiya.fujii@gmai...>
CommiterMikiya Fujii

Log Message

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

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

更改概述

差异

--- a/src/base/Parameters.cpp
+++ b/src/base/Parameters.cpp
@@ -361,47 +361,6 @@ bool Parameters::RequiresMullikenCIS() const{
361361 0<this->electronicStateIndecesMullikenCIS->size());
362362 }
363363
364-// methods for MC
365-int Parameters::GetElectronicStateIndexMC() const{
366- return this->electronicStateIndexMC;
367-}
368-
369-void Parameters::SetElectronicStateIndexMC(int electronicStateIndex){
370- this->electronicStateIndexMC = electronicStateIndex;
371-}
372-
373-int Parameters::GetTotalStepsMC() const{
374- return this->totalStepsMC;
375-}
376-
377-void Parameters::SetTotalStepsMC(int totalSteps){
378- this->totalStepsMC = totalSteps;
379-}
380-
381-double Parameters::GetTemperatureMC() const{
382- return this->temperatureMC;
383-}
384-
385-void Parameters::SetTemperatureMC(double temperature){
386- this->temperatureMC = temperature;
387-}
388-
389-double Parameters::GetStepWidthMC() const{
390- return this->stepWidthMC;
391-}
392-
393-void Parameters::SetStepWidthMC(double stepWidth){
394- this->stepWidthMC = stepWidth;
395-}
396-
397-unsigned long Parameters::GetSeedMC() const{
398- return this->seedMC;
399-}
400-
401-void Parameters::SetSeedMC(unsigned long seed){
402- this->seedMC = seed;
403-}
404-
405364 // methods for RPMD
406365 int Parameters::GetElectronicStateIndexRPMD() const{
407366 return this->electronicStateIndexRPMD;
--- a/src/base/Parameters.h
+++ b/src/base/Parameters.h
@@ -154,16 +154,16 @@ public:
154154 double GetTimeWidthMD() const {return this->timeWidthMD;}
155155 void SetTimeWidthMD(double dt) {this->timeWidthMD = dt;}
156156 // MC
157- int GetElectronicStateIndexMC() const;
158- void SetElectronicStateIndexMC(int electronicStateIndex);
159- int GetTotalStepsMC() const;
160- void SetTotalStepsMC(int totalSteps);
161- double GetTemperatureMC() const;
162- void SetTemperatureMC(double temperature);
163- double GetStepWidthMC() const;
164- void SetStepWidthMC(double stepWidth);
165- unsigned long GetSeedMC() const;
166- void SetSeedMC(unsigned long seed);
157+ int GetElectronicStateIndexMC() const{return this->electronicStateIndexMC;}
158+ void SetElectronicStateIndexMC(int i) {this->electronicStateIndexMC = i;}
159+ int GetTotalStepsMC() const {return this->totalStepsMC;}
160+ void SetTotalStepsMC(int steps) {this->totalStepsMC = steps;}
161+ double GetTemperatureMC() const {return this->temperatureMC;}
162+ void SetTemperatureMC(double t) {this->temperatureMC = t;}
163+ double GetStepWidthMC() const {return this->stepWidthMC;}
164+ void SetStepWidthMC(double dr) {this->stepWidthMC = dr;}
165+ unsigned long GetSeedMC() const {return this->seedMC;}
166+ void SetSeedMC(unsigned long seed) {this->seedMC = seed;}
167167 // RPMD
168168 int GetElectronicStateIndexRPMD() const;
169169 void SetElectronicStateIndexRPMD(int electronicStateIndex);