LIBINT 2.7.2
r12kg12_11_11.h
1/*
2 * Copyright (C) 2004-2021 Edward F. Valeev
3 *
4 * This file is part of Libint.
5 *
6 * Libint is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * Libint is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with Libint. If not, see <http://www.gnu.org/licenses/>.
18 *
19 */
20
21#ifndef _libint2_src_bin_libint_r12kg121111_h_
22#define _libint2_src_bin_libint_r12kg121111_h_
23
24#include <integral.h>
25#include <integral_11_11.h>
26
27namespace libint2 {
28
29 template <>
30 inline bool
31 GenIntegralSet_11_11<CGF,R12kG12,mType>::this_precomputed() const
32 {
33 if (parent_type::bra_.member(0,0).zero() && parent_type::bra_.member(1,0).zero() &&
34 parent_type::ket_.member(0,0).zero() && parent_type::ket_.member(1,0).zero())
35 return true;
36 else
37 return false;
38 }
39
40template <>
41inline bool
43{
44 if (parent_type::bra_.member(0,0).zero() && parent_type::bra_.member(1,0).zero() &&
45 parent_type::ket_.member(0,0).zero() && parent_type::ket_.member(1,0).zero())
46 return true;
47 else
48 return false;
49}
50};
51
52#endif
53
bool auto_unroll() const
Implements GenIntegralSet::auto_unroll()
Definition: integral_11_11.impl.h:35
Defaults definitions for various parameters assumed by Libint.
Definition: algebra.cc:24