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