Nullfeldaufspaltung von Benzol und Naphthalin im ... - ScienceUp.de
Nullfeldaufspaltung von Benzol und Naphthalin im ... - ScienceUp.de
Nullfeldaufspaltung von Benzol und Naphthalin im ... - ScienceUp.de
Erfolgreiche ePaper selbst erstellen
Machen Sie aus Ihren PDF Publikationen ein blätterbares Flipbook mit unserer einzigartigen Google optimierten e-Paper Software.
A Quelltexte <strong>de</strong>r C++-Programm 143<br />
#inclu<strong>de</strong> "global.hpp"<br />
#inclu<strong>de</strong> "konstanten.hpp"<br />
#inclu<strong>de</strong> "fehler.hpp" //Fehlerbehandlung<br />
#inclu<strong>de</strong> "fstream.h"<br />
#inclu<strong>de</strong> "stdlib.h"<br />
#inclu<strong>de</strong> "math.h"<br />
#inclu<strong>de</strong> "string.h"<br />
/*-------------------------------------------------------*/<br />
void SC_Orb_Lesen(double SCOrb[M][N]); //SCOrb aus MRFILE<br />
void Int_Lesen(double Int[MM][MM][MM][MM]);<br />
//Int aus INTFILEBIN<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 />
void Save_SCInt(double SCInt[N][N][N][N]);<br />
/*-------------------------------------------------------*/<br />
int main()<br />
{<br />
double SCOrb[M][N];<br />
//Matrix <strong>de</strong>r SC-Orbitale in <strong>de</strong>r CGTO-Basis,<br />
double P[4] = {0.068999, 0.316424, 0.744308, 1.0};<br />
//Kontraktionskoeff. <strong>de</strong>r CGTOs bzgl. <strong>de</strong>r PGTOs<br />
double Int[MM][MM][MM][MM];<br />
//D-Integrale bzgl. <strong>de</strong>r PGTOs, berechnet mit integral.C<br />
double SCInt[N][N][N][N];<br />
SC_Orb_Lesen(SCOrb); //SCOrb aus SCORBFILEBIN<br />
Int_Lesen(Int); //Int aus INTFILEBIN<br />
Calc_SCInt(SCInt, P, Int, SCOrb);<br />
Save_SCInt(SCInt);<br />
return 0;<br />
};<br />
/*-------------------------------------------------------*/<br />
void SC_Orb_Lesen(double SCOrb[M][N]) //SCOrb=Koef.matrix<br />
//<strong>de</strong>r SC-Orbitale bzgl. <strong>de</strong>r CGTOs, aus SCORBFILEBIN<br />
{<br />
ifstream fin;<br />
unsigned long int size;