Revision | 05baa4be9d2cbe7cf4eac8e864970988641bc3fe (tree) |
---|---|
Zeit | 2013-07-24 23:31:24 |
Autor | Mikiya Fujii <mikiya.fujii@gmai...> |
Commiter | Mikiya Fujii |
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
@@ -361,31 +361,6 @@ bool Parameters::RequiresMullikenCIS() const{ | ||
361 | 361 | 0<this->electronicStateIndecesMullikenCIS->size()); |
362 | 362 | } |
363 | 363 | |
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 | - | |
389 | 364 | // methods for MC |
390 | 365 | int Parameters::GetElectronicStateIndexMC() const{ |
391 | 366 | return this->electronicStateIndexMC; |
@@ -147,12 +147,12 @@ public: | ||
147 | 147 | double GetLimitHeapMemory() const {return this->limitHeapMemory;} |
148 | 148 | void SetLimitHeapMemory(double limitHeap){this->limitHeapMemory = limitHeap;} |
149 | 149 | // 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;} | |
156 | 156 | // MC |
157 | 157 | int GetElectronicStateIndexMC() const; |
158 | 158 | void SetElectronicStateIndexMC(int electronicStateIndex); |