Nullfeldaufspaltung von Benzol und Naphthalin im ... - ScienceUp.de
Nullfeldaufspaltung von Benzol und Naphthalin im ... - ScienceUp.de Nullfeldaufspaltung von Benzol und Naphthalin im ... - ScienceUp.de
144 char fileName[50]; A Quelltexte der C++-Programme size = M * N * SIZEOFDOUBLE; strcpy(fileName, VERZEICHNIS); strcat(fileName, SCORBFILEBIN); fin.open(fileName); //auf Sun,SP2: binary=default, //auf Sp2 Angabe verboten if (!fin) DateiZugriffFehler(fileName,"lesen"); fin.read((char*)*SCOrb, size); fin.close(); } //void SC_Orb_Lesen() /*------------------------------------------------------*/ void Int_Lesen(double Int[MM][MM][MM][MM]) //Int aus INTFILEBIN { ifstream fin; unsigned long int size; char fileName[50]; size = MM * MM * MM * MM * SIZEOFDOUBLE; strcpy(fileName, VERZEICHNIS); strcat(fileName, INTFILEBIN); fin.open(fileName); //auf Sun,SP2: binary=default, //auf Sp2 Angabe verboten if (!fin) DateiZugriffFehler(fileName, "lesen"); fin.read((char*)***Int, size); fin.close(); } //Int_Lesen() /*-------------------------------------------------------*/ void Calc_SCInt(double SCInt[N][N][N][N], double P[4], double Int[MM][MM][MM][MM], double SCOrb[M][N]) { USHORT i, j, k, l, m, n, o, p, a, b, c, d; USHORT koefmStart, koefmEnde, gmStart; USHORT koefnStart, koefnEnde, gnStart; USHORT koefoStart, koefoEnde, goStart; USHORT koefpStart, koefpEnde, gpStart;
A Quelltexte der C++-Programm 145 double term1, term2; USHORT fehlerTest = true, abfrage = false; Fehler FehlerBehandlung(fehlerTest, abfrage); for (i = 0; i < N; i++) { for (j = 0; j < N; j++) { if (i != j) { for (k = 0; k < N; k++) { for (l = 0; l < N; l++) { if (k != l) { term1 = 0; for (m = 0; m < M; m++) { if ( (m%2) == 0) { koefmStart = 0; koefmEnde = 3; gmStart = 2 * m; } else { koefmStart = 3; koefmEnde = 4; gmStart = 2 * m - 2; } for (n = 0; n < M; n++) { if ( (n%2) == 0) { koefnStart = 0; koefnEnde = 3; gnStart = 2 * n; } else { koefnStart = 3; koefnEnde = 4; gnStart = 2 * n - 2; } for (o = 0; o < M; o++) { if ( (o%2) == 0) { koefoStart = 0; koefoEnde = 3; goStart = 2 * o; } else { koefoStart = 3; koefoEnde = 4; goStart = 2 * o - 2;
- Seite 102 und 103: 94 6. Spin-Korrelationsfunktion: Te
- Seite 104 und 105: 96 7. Spin-Korrelationsfunktion : T
- Seite 106 und 107: 98 7. Spin-Korrelationsfunktion : T
- Seite 108 und 109: 100 7. Spin-Korrelationsfunktion :
- Seite 110 und 111: 102 7. Spin-Korrelationsfunktion :
- Seite 112 und 113: 104 7. Spin-Korrelationsfunktion :
- Seite 114 und 115: 106 7. Spin-Korrelationsfunktion :
- Seite 116 und 117: 108 7. Spin-Korrelationsfunktion :
- Seite 118 und 119: 110 Die Ergebnisse sind in Tabelle
- Seite 120 und 121: 112 7. Spin-Korrelationsfunktion :
- Seite 122 und 123: 114 7.3.2 Der Einfluß der Spinbasi
- Seite 124 und 125: 116 7. Spin-Korrelationsfunktion :
- Seite 126 und 127: 118 7. Spin-Korrelationsfunktion :
- Seite 128 und 129: 120 7. Spin-Korrelationsfunktion :
- Seite 130 und 131: 122 7. Spin-Korrelationsfunktion :
- Seite 132 und 133: 124 8. Zusammenfassung tors für di
- Seite 134 und 135: 126 Ausblick 8. Zusammenfassung Fü
- Seite 136 und 137: 128 A Quelltexte der C++-Programme
- Seite 138 und 139: 130 A Quelltexte der C++-Programme
- Seite 140 und 141: 132 A Quelltexte der C++-Programme
- Seite 142 und 143: 134 A Quelltexte der C++-Programme
- Seite 144 und 145: 136 A Quelltexte der C++-Programme
- Seite 146 und 147: 138 A Quelltexte der C++-Programme
- Seite 148 und 149: 140 Programm 2: naphkoord.hpp /*nap
- Seite 150 und 151: 142 } A Quelltexte der C++-Programm
- Seite 154 und 155: 146 A Quelltexte der C++-Programme
- Seite 156 und 157: 148 #include "new.hpp" #include "gl
- Seite 158 und 159: 150 A Quelltexte der C++-Programme
- Seite 160 und 161: 152 #include "new.hpp" #include "fs
- Seite 162 und 163: 154 int ndig, dec, sign; A Quelltex
- Seite 164 und 165: 156 A Quelltexte der C++-Programme
- Seite 166 und 167: 158 A Quelltexte der C++-Programme
- Seite 168 und 169: 160 A Quelltexte der C++-Programme
- Seite 170 und 171: 162 B Spin-Korrelationsfunktion von
- Seite 172 und 173: 164 B Spin-Korrelationsfunktion von
- Seite 174 und 175: 166 B Spin-Korrelationsfunktion von
- Seite 176 und 177: 168 B Spin-Korrelationsfunktion von
- Seite 178 und 179: 170 B Spin-Korrelationsfunktion von
- Seite 180 und 181: 172 LITERATURVERZEICHNIS [Bräu 81]
- Seite 182 und 183: 174 LITERATURVERZEICHNIS of Beirut,
- Seite 184 und 185: 176 LITERATURVERZEICHNIS [Rai 98] M
- Seite 186: 178 LITERATURVERZEICHNIS
144<br />
char fileName[50];<br />
A Quelltexte <strong>de</strong>r C++-Programme<br />
size = M * N * SIZEOFDOUBLE;<br />
strcpy(fileName, VERZEICHNIS);<br />
strcat(fileName, SCORBFILEBIN);<br />
fin.open(fileName); //auf Sun,SP2: binary=<strong>de</strong>fault,<br />
//auf Sp2 Angabe verboten<br />
if (!fin)<br />
DateiZugriffFehler(fileName,"lesen");<br />
fin.read((char*)*SCOrb, size);<br />
fin.close();<br />
} //void SC_Orb_Lesen()<br />
/*------------------------------------------------------*/<br />
void Int_Lesen(double Int[MM][MM][MM][MM])<br />
//Int aus INTFILEBIN<br />
{<br />
ifstream fin;<br />
unsigned long int size;<br />
char fileName[50];<br />
size = MM * MM * MM * MM * SIZEOFDOUBLE;<br />
strcpy(fileName, VERZEICHNIS);<br />
strcat(fileName, INTFILEBIN);<br />
fin.open(fileName); //auf Sun,SP2: binary=<strong>de</strong>fault,<br />
//auf Sp2 Angabe verboten<br />
if (!fin)<br />
DateiZugriffFehler(fileName, "lesen");<br />
fin.read((char*)***Int, size);<br />
fin.close();<br />
} //Int_Lesen()<br />
/*-------------------------------------------------------*/<br />
void Calc_SCInt(double SCInt[N][N][N][N], double P[4],<br />
double Int[MM][MM][MM][MM], double SCOrb[M][N])<br />
{<br />
USHORT i, j, k, l, m, n, o, p, a, b, c, d;<br />
USHORT koefmStart, koefmEn<strong>de</strong>, gmStart;<br />
USHORT koefnStart, koefnEn<strong>de</strong>, gnStart;<br />
USHORT koefoStart, koefoEn<strong>de</strong>, goStart;<br />
USHORT koefpStart, koefpEn<strong>de</strong>, gpStart;