Revision | 1531b73cc99dd7095858af1070dcd35ff898b75f (tree) |
---|---|
Zeit | 2010-11-28 11:17:35 |
Autor | Mikiya Fujii <mikiya.fujii@gmai...> |
Commiter | Mikiya Fujii |
refferences are added. Some modification for Sulfer is also added.
git-svn-id: https://svn.sourceforge.jp/svnroot/molds/MolDS/trunk@7 1136aad2-a195-0410-b898-f5ea1d11b9d8
@@ -0,0 +1,9 @@ | ||
1 | +[PSS_1965] J. A. Pople, D. P. Santry, and G. A. Segal, J. Chem. Phys., 43, S129 (1965) | |
2 | +[PS_1965] J. A. Pople and G. A. Segal, J. Chem. Phys., 43, S136 (1965) | |
3 | +[PS_1966] J. A. Pople and G. A. Segal, J. Chem. Phys., 44, 3289 (1966) | |
4 | +[PB_1970] J. A. Pople and D. L. Beveridge, "Approximate Molecular Orbital Theory", ISBN-13:978-0070505124 (1970) | |
5 | +[BFB_1997] M. A. Blanco, M. Fl{\'o}rez, and M. Bermejo, J. Mol. Struct. 419, 19 (1997) | |
6 | + | |
7 | + | |
8 | + | |
9 | + |
@@ -15,6 +15,7 @@ | ||
15 | 15 | #include"base/atoms/Hatom.h" |
16 | 16 | #include"base/atoms/Catom.h" |
17 | 17 | #include"base/atoms/Liatom.h" |
18 | +#include"base/atoms/Satom.h" | |
18 | 19 | #include"base/MallocerFreer.h" |
19 | 20 | #include"base/InputParser.h" |
20 | 21 | #include"base/Utilities.h" |
@@ -54,12 +55,10 @@ int main(){ | ||
54 | 55 | InputParser::GetInstance()->Parse(molecule); |
55 | 56 | |
56 | 57 | // cndo2 |
57 | - /* | |
58 | 58 | MolDS_cndo::Cndo2* cndo2 = new MolDS_cndo::Cndo2(); |
59 | 59 | cndo2->SetMolecule(molecule); |
60 | 60 | cndo2->DoesSCF(); |
61 | 61 | delete cndo2; |
62 | - */ | |
63 | 62 | |
64 | 63 | // indo |
65 | 64 | MolDS_indo::Indo* indo = new MolDS_indo::Indo(); |
@@ -68,7 +67,6 @@ int main(){ | ||
68 | 67 | delete indo; |
69 | 68 | |
70 | 69 | |
71 | - | |
72 | 70 | /*** test lapack *** |
73 | 71 | { |
74 | 72 | int size = 3; |
@@ -165,6 +165,9 @@ void InputParser::Parse(Molecule* molecule){ | ||
165 | 165 | else if(inputTerms[j] == "c"){ |
166 | 166 | molecule->GetAtomVect()->push_back(new Catom(x, y, z)); |
167 | 167 | } |
168 | + else if(inputTerms[j] == "s"){ | |
169 | + molecule->GetAtomVect()->push_back(new Satom(x, y, z)); | |
170 | + } | |
168 | 171 | j += 4; |
169 | 172 | } |
170 | 173 | i = j; |
@@ -659,7 +659,7 @@ void Cndo2::CalcOverlap(double** overlap, Molecule* molecule){ | ||
659 | 659 | |
660 | 660 | } |
661 | 661 | |
662 | -// see J. Mol. Struc. (Theochem), 419, 19 (1997) | |
662 | +// see J. Mol. Struc. (Theochem), 419, 19 (1997) (ref. [BFB_1997]) | |
663 | 663 | // we set gamma=0 always. |
664 | 664 | void Cndo2::CalcRotatingMatrix(double** rotatingMatrix, Atom* atomA, Atom* atomB){ |
665 | 665 | MallocerFreer::GetInstance()->InitializeDoubleMatrix2d |
@@ -677,7 +677,7 @@ void Cndo2::CalcRotatingMatrix(double** rotatingMatrix, Atom* atomA, Atom* atomB | ||
677 | 677 | rotatingMatrix[s][s] = 1.0; |
678 | 678 | |
679 | 679 | // rotating matrix for p-function |
680 | - // dMatrix is (53) with gamma=0 in J. Mol. Strct. 419, 19(1997) | |
680 | + // dMatrix is (53) with gamma=0 in J. Mol. Strct. 419, 19(1997) (ref. [BFB_1997]) | |
681 | 681 | rotatingMatrix[py][py] = cos(alpha); |
682 | 682 | rotatingMatrix[py][pz] = sin(alpha)*sin(beta); |
683 | 683 | rotatingMatrix[py][px] = sin(alpha)*cos(beta); |
@@ -691,7 +691,7 @@ void Cndo2::CalcRotatingMatrix(double** rotatingMatrix, Atom* atomA, Atom* atomB | ||
691 | 691 | rotatingMatrix[px][px] = cos(alpha)*cos(beta); |
692 | 692 | |
693 | 693 | // rotating matrix for d-function |
694 | - // dMatrix is (37) in J. Mol. Strct. 419, 19(1997) | |
694 | + // dMatrix is (37) in J. Mol. Strct. 419, 19(1997) (ref. [BFB_1997]) | |
695 | 695 | double** dMatrix; |
696 | 696 | dMatrix = MallocerFreer::GetInstance()->MallocDoubleMatrix2d |
697 | 697 | (OrbitalType_end, OrbitalType_end); |
@@ -32,6 +32,13 @@ SCF_END | ||
32 | 32 | // C 0.0 1.369664 0.673854 |
33 | 33 | //GEOMETRY_END |
34 | 34 | |
35 | +// sh2 | |
36 | +GEOMETRY | |
37 | + S -0.559299 0.471698 0.000000 | |
38 | + H 0.750701 0.471698 0.000000 | |
39 | + H -0.996586 1.706558 0.000000 | |
40 | +GEOMETRY_END | |
41 | + | |
35 | 42 | // benzene |
36 | 43 | //GEOMETRY |
37 | 44 | // C -0.505391 0.552561 0.000000 |
@@ -113,40 +120,40 @@ SCF_END | ||
113 | 120 | //GEOMETRY_END |
114 | 121 | // |
115 | 122 | |
116 | -GEOMETRY | |
117 | - C -3.402965 0.646900 0.000000 | |
118 | - C -2.007805 0.646900 0.000000 | |
119 | - C -1.310267 1.854651 0.000000 | |
120 | - C -2.007921 3.063160 -0.001199 | |
121 | - C -3.402746 3.063082 -0.001678 | |
122 | - C -4.100347 1.854876 -0.000682 | |
123 | - H -3.952724 -0.305417 0.000450 | |
124 | - H -1.458297 -0.305613 0.001315 | |
125 | - H -1.457721 4.015303 -0.001258 | |
126 | - H -3.952868 4.015363 -0.002631 | |
127 | - H -5.199951 1.855059 -0.000862 | |
128 | - C 0.229733 1.854763 0.000888 | |
129 | - C 0.927166 3.063092 0.000888 | |
130 | - C 0.927326 0.646909 0.001803 | |
131 | - C 2.321878 3.063471 0.001121 | |
132 | - H 0.376905 4.015169 -0.000612 | |
133 | - C 2.322463 0.647116 0.003033 | |
134 | - H 0.377798 -0.305534 0.001984 | |
135 | - C 3.019797 1.855115 0.002554 | |
136 | - H 2.871672 4.015848 0.000487 | |
137 | - H 2.872217 -0.305378 0.004170 | |
138 | - C 4.559797 1.855884 0.002894 | |
139 | - C 5.257921 0.647955 0.004326 | |
140 | - C 5.256700 3.064136 0.001659 | |
141 | - C 6.652633 0.648374 0.005205 | |
142 | - H 4.708203 -0.304436 0.006077 | |
143 | - C 6.651838 3.064727 0.001542 | |
144 | - H 4.706627 4.016264 0.000350 | |
145 | - C 7.349861 1.857127 0.003453 | |
146 | - H 7.202970 -0.303688 0.006968 | |
147 | - H 7.201047 4.017534 0.000153 | |
148 | - H 8.449541 1.857208 0.004087 | |
149 | -GEOMETRY_END | |
123 | +//GEOMETRY | |
124 | +// C -3.402965 0.646900 0.000000 | |
125 | +// C -2.007805 0.646900 0.000000 | |
126 | +// C -1.310267 1.854651 0.000000 | |
127 | +// C -2.007921 3.063160 -0.001199 | |
128 | +// C -3.402746 3.063082 -0.001678 | |
129 | +// C -4.100347 1.854876 -0.000682 | |
130 | +// H -3.952724 -0.305417 0.000450 | |
131 | +// H -1.458297 -0.305613 0.001315 | |
132 | +// H -1.457721 4.015303 -0.001258 | |
133 | +// H -3.952868 4.015363 -0.002631 | |
134 | +// H -5.199951 1.855059 -0.000862 | |
135 | +// C 0.229733 1.854763 0.000888 | |
136 | +// C 0.927166 3.063092 0.000888 | |
137 | +// C 0.927326 0.646909 0.001803 | |
138 | +// C 2.321878 3.063471 0.001121 | |
139 | +// H 0.376905 4.015169 -0.000612 | |
140 | +// C 2.322463 0.647116 0.003033 | |
141 | +// H 0.377798 -0.305534 0.001984 | |
142 | +// C 3.019797 1.855115 0.002554 | |
143 | +// H 2.871672 4.015848 0.000487 | |
144 | +// H 2.872217 -0.305378 0.004170 | |
145 | +// C 4.559797 1.855884 0.002894 | |
146 | +// C 5.257921 0.647955 0.004326 | |
147 | +// C 5.256700 3.064136 0.001659 | |
148 | +// C 6.652633 0.648374 0.005205 | |
149 | +// H 4.708203 -0.304436 0.006077 | |
150 | +// C 6.651838 3.064727 0.001542 | |
151 | +// H 4.706627 4.016264 0.000350 | |
152 | +// C 7.349861 1.857127 0.003453 | |
153 | +// H 7.202970 -0.303688 0.006968 | |
154 | +// H 7.201047 4.017534 0.000153 | |
155 | +// H 8.449541 1.857208 0.004087 | |
156 | +//GEOMETRY_END | |
150 | 157 | |
151 | 158 | |
152 | 159 |