28 #ifndef _chemistry_qc_libint2_cartitgamess_h
29 #define _chemistry_qc_libint2_cartitgamess_h
31 #include <chemistry/qc/basis/cartiter.h>
32 #include <cgshellinfo.h>
33 #include <chemistry/qc/libint2/macros_gamess.h>
39 static const int lmax = LIBINT2_CARTGAUSS_MAX_AM;
40 static ::libint2::CGShellInfo< ::libint2::CGShellOrderingData< ::libint2::CGShellOrdering_GAMESS,lmax> > ordering_data_;
49 ordering_data_.cartindex_to_ijk(l_, bfn_, a_, b_, c_);
54 if (bfn_ >= INT_NCART(l_))
57 ordering_data_.cartindex_to_ijk(l_, bfn_, a_, b_, c_);
67 static const int lmax = LIBINT2_CARTGAUSS_MAX_AM;
68 static ::libint2::CGShellInfo< ::libint2::CGShellOrderingData< ::libint2::CGShellOrdering_GAMESS,lmax> > ordering_data_;
76 return ordering_data_.cartindex(
l(),
a(),
b());
82 static const int lmax = LIBINT2_CARTGAUSS_MAX_AM;
83 static ::libint2::CGShellInfo< ::libint2::CGShellOrderingData< ::libint2::CGShellOrdering_GAMESS,lmax> > ordering_data_;
92 void start(
int aa,
int bb,
int cc) {
94 bfn_ = ordering_data_.cartindex(
l(),
a(),
b());
97 int bfn()
const {
return bfn_; }
RedundantCartesianIter(int l)
Create a object for the given angular momentum.
RedundantCartesianIter objects loop through all possible combinations of a given number of axes.
Definition: cartiter.h:82
virtual void start(int a, int b, int c)
Initialize the iterator.
RedundantCartesianSubIter(int l)
Create a object for the given angular momentum.
CartesianIter(int l)
Initialize an iterator for the given angular momentum.
int a()
The current exponent of x.
Definition: cartiter.h:153
CartesianIter gives the ordering of the Cartesian functions within a shell for the particular integra...
Definition: cartiter.h:35
int bfn()
Return the current Cartesian basis function number.
Definition: cartit_gamess.h:75
int l()
Returns the angular momentum.
Definition: cartiter.h:64
void start(int aa, int bb, int cc)
Initialize the iterator.
Definition: cartit_gamess.h:92
Definition: cartit_gamess.h:65
Like RedundantCartesianIter, except a, b, and c are fixed to a given value.
Definition: cartiter.h:172
int l() const
The angular momentum.
Definition: cartiter.h:210
int b()
The current exponent of y.
Definition: cartiter.h:159
int a() const
The current exponent of x.
Definition: cartiter.h:204
int bfn() const
Return the current Cartesian basis function number.
Definition: cartit_gamess.h:97
Definition: cartit_gamess.h:80
Definition: cartit_gamess.h:37
void next()
Move to the next Cartesian function.
Definition: cartit_gamess.h:52
void start()
Start the iteration.
Definition: cartit_gamess.h:47
int l()
The angular momentum.
Definition: cartiter.h:110
Contains all MPQC code up to version 3.
Definition: mpqcin.h:14
int b() const
The current exponent of y.
Definition: cartiter.h:206
Generated at Sun Jan 26 2020 23:23:58 for MPQC
3.0.0-alpha using the documentation package Doxygen
1.8.16.