Révision | 0fa851dfdbb7666784cba5622e0582b6da9c8f66 (tree) |
---|---|
l'heure | 2013-07-25 00:46:00 |
Auteur | Mikiya Fujii <mikiya.fujii@gmai...> |
Commiter | Mikiya Fujii |
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
@@ -361,47 +361,6 @@ bool Parameters::RequiresMullikenCIS() const{ | ||
361 | 361 | 0<this->electronicStateIndecesMullikenCIS->size()); |
362 | 362 | } |
363 | 363 | |
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 | - | |
405 | 364 | // methods for RPMD |
406 | 365 | int Parameters::GetElectronicStateIndexRPMD() const{ |
407 | 366 | return this->electronicStateIndexRPMD; |
@@ -154,16 +154,16 @@ public: | ||
154 | 154 | double GetTimeWidthMD() const {return this->timeWidthMD;} |
155 | 155 | void SetTimeWidthMD(double dt) {this->timeWidthMD = dt;} |
156 | 156 | // 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;} | |
167 | 167 | // RPMD |
168 | 168 | int GetElectronicStateIndexRPMD() const; |
169 | 169 | void SetElectronicStateIndexRPMD(int electronicStateIndex); |