// // BAGEL - Brilliantly Advanced General Electronic Structure Library // Filename: reloverlap_london.h // Copyright (C) 2014 Toru Shiozaki // // Author: Ryan D. Reynolds // Maintainer: Shiozaki group // // This file is part of the BAGEL package. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program 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 General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see . // #ifndef __SRC_LONDON_RELOVERLAP_LONDON_H #define __SRC_LONDON_RELOVERLAP_LONDON_H #include #include #include namespace bagel { class RelOverlap_London : public ZMatrix { protected: const std::shared_ptr mol_; const std::shared_ptr kinetic_; const std::shared_ptr overlap_; void compute_(); public: RelOverlap_London(const std::shared_ptr mol) : ZMatrix(mol->nbasis()*4, mol->nbasis()*4), mol_(mol), kinetic_(std::make_shared(mol)), overlap_(std::make_shared(mol)) { compute_(); } std::shared_ptr tildex(const double thresh) const; void inverse() override; }; } #endif