• 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

Revision1531b73cc99dd7095858af1070dcd35ff898b75f (tree)
Zeit2010-11-28 11:17:35
AutorMikiya Fujii <mikiya.fujii@gmai...>
CommiterMikiya Fujii

Log Message

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

Ändern Zusammenfassung

Diff

--- /dev/null
+++ b/doc/refferences.txt
@@ -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+
--- a/src/MolDS.cpp
+++ b/src/MolDS.cpp
@@ -15,6 +15,7 @@
1515 #include"base/atoms/Hatom.h"
1616 #include"base/atoms/Catom.h"
1717 #include"base/atoms/Liatom.h"
18+#include"base/atoms/Satom.h"
1819 #include"base/MallocerFreer.h"
1920 #include"base/InputParser.h"
2021 #include"base/Utilities.h"
@@ -54,12 +55,10 @@ int main(){
5455 InputParser::GetInstance()->Parse(molecule);
5556
5657 // cndo2
57- /*
5858 MolDS_cndo::Cndo2* cndo2 = new MolDS_cndo::Cndo2();
5959 cndo2->SetMolecule(molecule);
6060 cndo2->DoesSCF();
6161 delete cndo2;
62- */
6362
6463 // indo
6564 MolDS_indo::Indo* indo = new MolDS_indo::Indo();
@@ -68,7 +67,6 @@ int main(){
6867 delete indo;
6968
7069
71-
7270 /*** test lapack ***
7371 {
7472 int size = 3;
--- a/src/base/InputParser.h
+++ b/src/base/InputParser.h
@@ -165,6 +165,9 @@ void InputParser::Parse(Molecule* molecule){
165165 else if(inputTerms[j] == "c"){
166166 molecule->GetAtomVect()->push_back(new Catom(x, y, z));
167167 }
168+ else if(inputTerms[j] == "s"){
169+ molecule->GetAtomVect()->push_back(new Satom(x, y, z));
170+ }
168171 j += 4;
169172 }
170173 i = j;
--- a/src/cndo/Cndo2.h
+++ b/src/cndo/Cndo2.h
@@ -659,7 +659,7 @@ void Cndo2::CalcOverlap(double** overlap, Molecule* molecule){
659659
660660 }
661661
662-// see J. Mol. Struc. (Theochem), 419, 19 (1997)
662+// see J. Mol. Struc. (Theochem), 419, 19 (1997) (ref. [BFB_1997])
663663 // we set gamma=0 always.
664664 void Cndo2::CalcRotatingMatrix(double** rotatingMatrix, Atom* atomA, Atom* atomB){
665665 MallocerFreer::GetInstance()->InitializeDoubleMatrix2d
@@ -677,7 +677,7 @@ void Cndo2::CalcRotatingMatrix(double** rotatingMatrix, Atom* atomA, Atom* atomB
677677 rotatingMatrix[s][s] = 1.0;
678678
679679 // 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])
681681 rotatingMatrix[py][py] = cos(alpha);
682682 rotatingMatrix[py][pz] = sin(alpha)*sin(beta);
683683 rotatingMatrix[py][px] = sin(alpha)*cos(beta);
@@ -691,7 +691,7 @@ void Cndo2::CalcRotatingMatrix(double** rotatingMatrix, Atom* atomA, Atom* atomB
691691 rotatingMatrix[px][px] = cos(alpha)*cos(beta);
692692
693693 // 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])
695695 double** dMatrix;
696696 dMatrix = MallocerFreer::GetInstance()->MallocDoubleMatrix2d
697697 (OrbitalType_end, OrbitalType_end);
--- a/src/input.in
+++ b/src/input.in
@@ -32,6 +32,13 @@ SCF_END
3232 // C 0.0 1.369664 0.673854
3333 //GEOMETRY_END
3434
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+
3542 // benzene
3643 //GEOMETRY
3744 // C -0.505391 0.552561 0.000000
@@ -113,40 +120,40 @@ SCF_END
113120 //GEOMETRY_END
114121 //
115122
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
150157
151158
152159