csgrade12.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef _chemistry_qc_mbpt_csgrade12_h
00030 #define _chemistry_qc_mbpt_csgrade12_h
00031
00032 #ifdef __GNUC__
00033 #pragma interface
00034 #endif
00035
00036 #include <util/misc/regtime.h>
00037 #include <util/group/memory.h>
00038 #include <util/group/thread.h>
00039 #include <chemistry/qc/basis/integral.h>
00040
00041 namespace sc {
00042
00043 #define PRINT_BIGGEST_INTS 0
00044
00045 class CSGradErep12Qtr: public Thread {
00046 private:
00047 Ref<MessageGrp> msg;
00048 Ref<MemoryGrp> mem;
00049 Ref<TwoBodyInt> tbint;
00050 Ref<GaussianBasisSet> basis;
00051 Ref<ThreadLock> lock;
00052 Ref<RegionTimer> timer;
00053 int mythread;
00054 int nthread;
00055 int ni;
00056 int nocc;
00057 int i_offset;
00058 int aoint_computed;
00059 int me;
00060 int nproc;
00061 double tol;
00062 double **scf_vector;
00063 int debug;
00064 int dynamic_;
00065 int usep4_;
00066 public:
00067 CSGradErep12Qtr(int mythread_a, int nthread_a,
00068 int me_a, int nproc_a,
00069 const Ref<MemoryGrp> &mem_a,
00070 const Ref<MessageGrp> &msg_a,
00071 const Ref<ThreadLock> &lock_a,
00072 const Ref<GaussianBasisSet> &basis_a,
00073 const Ref<TwoBodyInt> &tbint_a,
00074 int nocc_a,
00075 double **scf_vector_a,
00076 double tol_a, int debug_a,
00077 int dynamic_a, int usep4);
00078 ~CSGradErep12Qtr();
00079
00080 void set_i_offset(int ioff) { i_offset = ioff; }
00081 void set_ni(int nivalue) { ni = nivalue; }
00082
00083 void run();
00084 };
00085
00086 }
00087
00088 #endif
00089
00090
00091
00092
00093
00094
00095
Generated at Thu Jul 29 19:53:50 2004 for MPQC
2.2.1 using the documentation package Doxygen
1.3.7.