00001 #ifndef QMCHartreeFock_H
00002 #define QMCHartreeFock_H
00003
00004 #include "Array2D.h"
00005 #include "QMCPsiPotential.h"
00006 #include "IeeeMath.h"
00007 #include <math.h>
00008 #include <stdio.h>
00009
00010 class QMCHartreeFock
00011 {
00012 private:
00013
00014
00015 static int numalphas, numbetas, numelecs;
00016 static int sample, maxsamples, numsamples;
00017
00018
00019 static Array2D<double> elec_x, elec_y, elec_z, elec_weight;
00020
00021 QMCPsiPotential PsiPotential;
00022
00023 public:
00024 QMCHartreeFock();
00025 virtual ~QMCHartreeFock();
00026
00027 void Initialize(QMCInput* IN);
00028 void AddElectron(int elec,double weight,double x,double y,double z);
00029 void IncrementSample();
00030 double GetVEff(int elec, double x, double y, double z);
00031 };
00032
00033 #endif