28 #ifndef _chemistry_qc_libint2_shellpairs_h
29 #define _chemistry_qc_libint2_shellpairs_h
31 #include <util/ref/ref.h>
32 #include <chemistry/qc/basis/basis.h>
33 #include <chemistry/qc/libint2/primpairs.h>
37 class ShellPairsLibint2;
42 unsigned int prim1_offset_;
43 unsigned int prim2_offset_;
50 void init(
const unsigned int s1,
51 const unsigned int s2) {
52 prim1_offset_ = prim_pairs_.shell_to_prim1_[s1];
53 prim2_offset_ = prim_pairs_.shell_to_prim2_[s2];
56 prim_pair_t* prim_pair(
unsigned int p1,
unsigned int p2)
const {
return prim_pairs_.prim_pair(p1+prim1_offset_,p2+prim2_offset_); };
57 double prim_pair_P(
unsigned int p1,
unsigned int p2,
unsigned int xyz)
const {
return prim_pairs_.P(p1+prim1_offset_,p2+prim2_offset_,xyz); };
58 double prim_pair_gamma(
unsigned int p1,
unsigned int p2)
const {
return prim_pairs_.gamma(p1+prim1_offset_,p2+prim2_offset_); };
59 double prim_pair_ovlp(
unsigned int p1,
unsigned int p2)
const {
return prim_pairs_.ovlp(p1+prim1_offset_,p2+prim2_offset_); }
91 shell_pair_->
init(si, sj);
void init(const unsigned int s1, const unsigned int s2)
after calling, this object refers to pair {s1,s2}
Definition: shellpairs.h:50
void save_data_state(StateOut &)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR ...
A template class that maintains references counts.
Definition: ref.h:361
ShellPairLibint2 is an interface to PrimPairsLibint2.
Definition: shellpairs.h:40
ShellPairsLibint2 contains primitive pair data for all shell pairs formed from a pair of basis sets.
Definition: shellpairs.h:64
PrimPairsLibint2 contains primitive pair data.
Definition: primpairs.h:45
SpinCase1 other(SpinCase1 S)
given 1-spin return the other 1-spin
Definition: stateout.h:71
Definition: primpairs.h:36
ShellPairsLibint2(const Ref< GaussianBasisSet > &bs1, const Ref< GaussianBasisSet > &bs2)
Constructs shell pair data from a pair of basis sets.
Base class for objects that can save/restore state.
Definition: state.h:45
Contains all MPQC code up to version 3.
Definition: mpqcin.h:14
Generated at Sun Jan 26 2020 23:23:58 for MPQC
3.0.0-alpha using the documentation package Doxygen
1.8.16.