// // cints.h // // Copyright (C) 2001 Edward Valeev // // Author: Edward Valeev // Maintainer: EV // // This file is part of the SC Toolkit. // // The SC Toolkit is free software; you can redistribute it and/or modify // it under the terms of the GNU Library General Public License as published by // the Free Software Foundation; either version 2, or (at your option) // any later version. // // The SC Toolkit is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Library General Public License for more details. // // You should have received a copy of the GNU Library General Public License // along with the SC Toolkit; see the file COPYING.LIB. If not, write to // the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. // // The U.S. Government is granted a limited license as per AL 91-7. // // these provide integrals using the CINTS/libint routines #ifndef _chemistry_qc_cints_cints_h #define _chemistry_qc_cints_cints_h #include namespace sc { class SphericalTransformCints; class ISphericalTransformCints; /** IntegralCints computes integrals between Gaussian basis functions. */ class IntegralCints : public Integral { private: int maxl_; SphericalTransformCints ***st_; ISphericalTransformCints ***ist_; void free_transforms(); void initialize_transforms(); // Check if fully general contractions are present in any of the basis sets void check_fullgencon() const; public: IntegralCints(const Ref &b1=0, const Ref &b2=0, const Ref &b3=0, const Ref &b4=0); IntegralCints(StateIn&); IntegralCints(const Ref&); ~IntegralCints(); void save_data_state(StateOut&); Integral* clone(); size_t storage_required_eri(const Ref &b1, const Ref &b2 = 0, const Ref &b3 = 0, const Ref &b4 = 0); size_t storage_required_grt(const Ref &b1, const Ref &b2 = 0, const Ref &b3 = 0, const Ref &b4 = 0); CartesianIter * new_cartesian_iter(int); RedundantCartesianIter * new_redundant_cartesian_iter(int); RedundantCartesianSubIter * new_redundant_cartesian_sub_iter(int); SphericalTransformIter * new_spherical_transform_iter(int l, int inv=0, int subl=-1); const SphericalTransform * spherical_transform(int l, int inv=0, int subl=-1); Ref overlap(); Ref kinetic(); Ref point_charge(const Ref& =0); Ref nuclear(); Ref hcore(); Ref efield_dot_vector(const Ref& =0); Ref dipole(const Ref& =0); Ref quadrupole(const Ref& =0); Ref overlap_deriv(); Ref kinetic_deriv(); Ref nuclear_deriv(); Ref hcore_deriv(); Ref electron_repulsion(); Ref grt(); Ref electron_repulsion_deriv(); void set_basis(const Ref &b1, const Ref &b2 = 0, const Ref &b3 = 0, const Ref &b4 = 0); }; } #endif // Local Variables: // mode: c++ // c-file-style: "CLJ" // End: