修訂 | 52c3e5baa76f663e917feb81ead3e9553052bb35 (tree) |
---|---|
時間 | 2011-01-04 19:58:17 |
作者 | Mikiya Fujii <mikiya.fujii@gmai...> |
Commiter | Mikiya Fujii |
add: Theory-NONE is added.
git-svn-id: https://svn.sourceforge.jp/svnroot/molds/MolDS/trunk@27 1136aad2-a195-0410-b898-f5ea1d11b9d8
@@ -11,6 +11,7 @@ RENUMSTR_BEGIN( TheoryType, TheoryTypeStr ) | ||
11 | 11 | RENUMSTR( CNDO2, "CNDO/2" ) |
12 | 12 | RENUMSTR( INDO, "INDO" ) |
13 | 13 | RENUMSTR( ZINDOS, "ZINDO/S" ) |
14 | + RENUMSTR( NONE, "NONE" ) | |
14 | 15 | RENUMSTR( TheoryType_end, "TheoryType_end" ) |
15 | 16 | RENUMSTR_END() |
16 | 17 |
@@ -46,6 +46,7 @@ private: | ||
46 | 46 | string stringTheoryCNDO2; |
47 | 47 | string stringTheoryINDO; |
48 | 48 | string stringTheoryZINDOS; |
49 | + string stringTheoryNONE; | |
49 | 50 | string stringScf; |
50 | 51 | string stringScfEnd; |
51 | 52 | string stringScfMaxIter; |
@@ -91,6 +92,7 @@ InputParser::InputParser(){ | ||
91 | 92 | this->stringTheoryCNDO2 = "cndo/2"; |
92 | 93 | this->stringTheoryINDO = "indo"; |
93 | 94 | this->stringTheoryZINDOS = "zindo/s"; |
95 | + this->stringTheoryNONE = "none"; | |
94 | 96 | } |
95 | 97 | |
96 | 98 | InputParser::~InputParser(){ |
@@ -221,6 +223,11 @@ void InputParser::Parse(Molecule* molecule){ | ||
221 | 223 | else if(inputTerms[j].compare(this->stringTheoryZINDOS) == 0){ |
222 | 224 | Parameters::GetInstance()->SetCurrentTheory(ZINDOS); |
223 | 225 | } |
226 | + | |
227 | + // NONE | |
228 | + else if(inputTerms[j].compare(this->stringTheoryNONE) == 0){ | |
229 | + Parameters::GetInstance()->SetCurrentTheory(NONE); | |
230 | + } | |
224 | 231 | j++; |
225 | 232 | } |
226 | 233 | i = j; |
@@ -6,7 +6,8 @@ SCF_END | ||
6 | 6 | THEORY |
7 | 7 | //cndo/2 |
8 | 8 | //indo |
9 | - zindo/s | |
9 | + //zindo/s | |
10 | + none | |
10 | 11 | THEORY_END |
11 | 12 | |
12 | 13 | //metane |