• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

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

Commit MetaInfo

修訂52c3e5baa76f663e917feb81ead3e9553052bb35 (tree)
時間2011-01-04 19:58:17
作者Mikiya Fujii <mikiya.fujii@gmai...>
CommiterMikiya Fujii

Log Message

add: Theory-NONE is added.

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

Change Summary

差異

--- a/src/base/Enums.h
+++ b/src/base/Enums.h
@@ -11,6 +11,7 @@ RENUMSTR_BEGIN( TheoryType, TheoryTypeStr )
1111 RENUMSTR( CNDO2, "CNDO/2" )
1212 RENUMSTR( INDO, "INDO" )
1313 RENUMSTR( ZINDOS, "ZINDO/S" )
14+ RENUMSTR( NONE, "NONE" )
1415 RENUMSTR( TheoryType_end, "TheoryType_end" )
1516 RENUMSTR_END()
1617
--- a/src/base/InputParser.h
+++ b/src/base/InputParser.h
@@ -46,6 +46,7 @@ private:
4646 string stringTheoryCNDO2;
4747 string stringTheoryINDO;
4848 string stringTheoryZINDOS;
49+ string stringTheoryNONE;
4950 string stringScf;
5051 string stringScfEnd;
5152 string stringScfMaxIter;
@@ -91,6 +92,7 @@ InputParser::InputParser(){
9192 this->stringTheoryCNDO2 = "cndo/2";
9293 this->stringTheoryINDO = "indo";
9394 this->stringTheoryZINDOS = "zindo/s";
95+ this->stringTheoryNONE = "none";
9496 }
9597
9698 InputParser::~InputParser(){
@@ -221,6 +223,11 @@ void InputParser::Parse(Molecule* molecule){
221223 else if(inputTerms[j].compare(this->stringTheoryZINDOS) == 0){
222224 Parameters::GetInstance()->SetCurrentTheory(ZINDOS);
223225 }
226+
227+ // NONE
228+ else if(inputTerms[j].compare(this->stringTheoryNONE) == 0){
229+ Parameters::GetInstance()->SetCurrentTheory(NONE);
230+ }
224231 j++;
225232 }
226233 i = j;
--- a/src/input.in
+++ b/src/input.in
@@ -6,7 +6,8 @@ SCF_END
66 THEORY
77 //cndo/2
88 //indo
9- zindo/s
9+ //zindo/s
10+ none
1011 THEORY_END
1112
1213 //metane