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 #ifndef _chemistry_qc_mbpt_transform123inds_h
00029 #define _chemistry_qc_mbpt_transform123inds_h
00030
00031 #ifdef __GNUC__
00032 #pragma interface
00033 #endif
00034
00035 #include <util/misc/regtime.h>
00036 #include <util/group/memory.h>
00037 #include <util/group/thread.h>
00038 #include <chemistry/qc/basis/integral.h>
00039 #include <chemistry/qc/mbptr12/transform_tbint.h>
00040
00041 namespace sc {
00042
00043 #define PRINT_BIGGEST_INTS 0
00044
00045 class TwoBodyMOIntsTransform_123Inds: public Thread {
00046
00047 Ref<TwoBodyMOIntsTransform> tform_;
00048 Ref<TwoBodyInt> tbint_;
00049 Ref<ThreadLock> lock_;
00050 Ref<RegionTimer> timer_;
00051
00052 int mythread_;
00053 int nthread_;
00054 int ni_;
00055 int i_offset_;
00056
00057 double tol_;
00058 int debug_;
00059
00060 int aoint_computed_;
00061
00062 public:
00063 TwoBodyMOIntsTransform_123Inds(const Ref<TwoBodyMOIntsTransform>& tform,
00064 int mythread, int nthread, const Ref<ThreadLock>& lock, const Ref<TwoBodyInt> &tbint,
00065 double tol, int debug);
00066 ~TwoBodyMOIntsTransform_123Inds();
00067
00068 void set_i_offset(const int ioff) { i_offset_ = ioff; }
00069 void set_ni(const int nivalue) { ni_ = nivalue; }
00070
00071 void run();
00072 };
00073
00074 }
00075
00076 #endif
00077
00078
00079
00080
00081
00082
00083