• 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

Revisione150aa24892c9c40d451711b1f62c2ad3afd906f (tree)
Zeit2013-07-24 21:47:14
AutorMikiya Fujii <mikiya.fujii@gmai...>
CommiterMikiya Fujii

Log Message

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

Ändern Zusammenfassung

Diff

--- a/src/base/Parameters.cpp
+++ b/src/base/Parameters.cpp
@@ -361,15 +361,6 @@ bool Parameters::RequiresMullikenCIS() const{
361361 0<this->electronicStateIndecesMullikenCIS->size());
362362 }
363363
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-
373364 // methods for MD
374365 int Parameters::GetElectronicStateIndexMD() const{
375366 return this->electronicStateIndexMD;
--- a/src/base/Parameters.h
+++ b/src/base/Parameters.h
@@ -144,8 +144,8 @@ public:
144144 inline bool RequiresUnpairedPopCIS() const {return this->requiresUnpairedPopCIS;}
145145 inline void SetRequiresUnpairedPopCIS(bool requires) {this->requiresUnpairedPopCIS = requires;}
146146 // 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;}
149149 // MD
150150 int GetElectronicStateIndexMD() const;
151151 void SetElectronicStateIndexMD(int electronicStateIndex);