Revision | e150aa24892c9c40d451711b1f62c2ad3afd906f (tree) |
---|---|
Zeit | 2013-07-24 21:47:14 |
Autor | Mikiya Fujii <mikiya.fujii@gmai...> |
Commiter | Mikiya Fujii |
Some methods for memory limit in Parameters-class is inlined #27279
git-svn-id: https://svn.sourceforge.jp/svnroot/molds/trunk@1422 1136aad2-a195-0410-b898-f5ea1d11b9d8
@@ -361,15 +361,6 @@ bool Parameters::RequiresMullikenCIS() const{ | ||
361 | 361 | 0<this->electronicStateIndecesMullikenCIS->size()); |
362 | 362 | } |
363 | 363 | |
364 | -// methods for Memory | |
365 | -double Parameters::GetLimitHeapMemory() const{ | |
366 | - return this->limitHeapMemory; | |
367 | -} | |
368 | - | |
369 | -void Parameters::SetLimitHeapMemory(double limitHeapMemory){ | |
370 | - this->limitHeapMemory = limitHeapMemory; | |
371 | -} | |
372 | - | |
373 | 364 | // methods for MD |
374 | 365 | int Parameters::GetElectronicStateIndexMD() const{ |
375 | 366 | return this->electronicStateIndexMD; |
@@ -144,8 +144,8 @@ public: | ||
144 | 144 | inline bool RequiresUnpairedPopCIS() const {return this->requiresUnpairedPopCIS;} |
145 | 145 | inline void SetRequiresUnpairedPopCIS(bool requires) {this->requiresUnpairedPopCIS = requires;} |
146 | 146 | // Memory |
147 | - double GetLimitHeapMemory() const; | |
148 | - void SetLimitHeapMemory(double limitHeap); | |
147 | + double GetLimitHeapMemory() const {return this->limitHeapMemory;} | |
148 | + void SetLimitHeapMemory(double limitHeap){this->limitHeapMemory = limitHeap;} | |
149 | 149 | // MD |
150 | 150 | int GetElectronicStateIndexMD() const; |
151 | 151 | void SetElectronicStateIndexMD(int electronicStateIndex); |