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 #ifdef __GNUG__
00029 #pragma interface
00030 #endif
00031
00032 #ifndef _chemistry_cca_int_obintcca_h
00033 #define _chemistry_cca_int_obintcca_h
00034
00035 #include <vector>
00036 #include <sidl_cxx.hxx>
00037 #include <chemistry/qc/basis/obint.h>
00038 #include <Chemistry_QC_GaussianBasis_IntegralEvaluatorFactoryInterface.hxx>
00039 #include <Chemistry_QC_GaussianBasis_CompositeDescrInterface.hxx>
00040 #include <Chemistry_QC_GaussianBasis_DerivCentersInterface.hxx>
00041 #include <MPQC_GaussianBasisMolecular.hxx>
00042
00043 namespace sc {
00044
00045
00046
00049 class OneBodyIntCCA : public OneBodyInt {
00050
00051 private:
00052 Integral* integral_;
00053 Ref<GaussianBasisSet> bs1_, bs2_;
00054 Chemistry::QC::GaussianBasis::IntegralEvaluatorFactoryInterface eval_factory_;
00055 Chemistry::QC::GaussianBasis::CompositeDescrInterface cdesc_;
00056 bool reorder_;
00057 MPQC::GaussianBasisMolecular cca_bs1_, cca_bs2_;
00058 Chemistry::QC::GaussianBasis::IntegralEvaluator2Interface eval_;
00059 double* temp_buffer_;
00060 int n_segment_;
00061 std::string type_;
00062 sidl::array<double> sidl_buffer_;
00063
00064 protected:
00065
00066 public:
00067 OneBodyIntCCA( Integral* integral,
00068 const Ref<GaussianBasisSet>&,
00069 const Ref<GaussianBasisSet>&,
00070 Chemistry::QC::GaussianBasis::IntegralEvaluatorFactoryInterface,
00071 Chemistry::QC::GaussianBasis::CompositeDescrInterface,
00072 bool );
00073 ~OneBodyIntCCA();
00074 void compute_shell(int,int);
00075 bool cloneable();
00076 Ref<OneBodyInt> clone();
00077 };
00078
00080
00084 class OneBodyDerivIntCCA : public OneBodyDerivInt {
00085
00086 private:
00087 Integral* integral_;
00088 Ref<GaussianBasisSet> bs1_, bs2_;
00089 Chemistry::QC::GaussianBasis::IntegralEvaluatorFactoryInterface eval_factory_;
00090 Chemistry::QC::GaussianBasis::CompositeDescrInterface cdesc_;
00091 bool reorder_;
00092 MPQC::GaussianBasisMolecular cca_bs1_, cca_bs2_;
00093 double* buff_;
00094 double* temp_buffer_;
00095 Chemistry::QC::GaussianBasis::IntegralEvaluator2Interface eval_;
00096 Chemistry::QC::GaussianBasis::DerivCentersInterface cca_dc_;
00097 int n_segment_;
00098 std::string type_;
00099 sidl::array<double> sidl_buffer_;
00100
00101 public:
00102 OneBodyDerivIntCCA( Integral* integral,
00103 const Ref<GaussianBasisSet>&,
00104 const Ref<GaussianBasisSet>&,
00105 Chemistry::QC::GaussianBasis::IntegralEvaluatorFactoryInterface,
00106 Chemistry::QC::GaussianBasis::CompositeDescrInterface,
00107 bool );
00108 ~OneBodyDerivIntCCA();
00109 void compute_shell(int, int, DerivCenters&);
00110 void compute_shell(int, int, int);
00111 bool cloneable();
00112 Ref<OneBodyDerivInt> clone();
00113 };
00114
00115 }
00116
00117 #endif
00118
00119
00120
00121
00122