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_; }
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
CartesianIter gives the ordering of the Cartesian functions within a shell for the particular integra...
Definition cartiter.h:35
CartesianIter(int l)
Initialize an iterator for the given angular momentum.
int l()
Returns the angular momentum.
Definition cartiter.h:64
Definition cartit_gamess.h:65
int bfn()
Return the current Cartesian basis function number.
Definition cartit_gamess.h:75
RedundantCartesianIter objects loop through all possible combinations of a given number of axes.
Definition cartiter.h:82
int l()
The angular momentum.
Definition cartiter.h:110
int a()
The current exponent of x.
Definition cartiter.h:153
int b()
The current exponent of y.
Definition cartiter.h:159
RedundantCartesianIter(int l)
Create a object for the given angular momentum.
Definition cartit_gamess.h:80
int bfn() const
Return the current Cartesian basis function number.
Definition cartit_gamess.h:97
void start(int aa, int bb, int cc)
Initialize the iterator.
Definition cartit_gamess.h:92
Like RedundantCartesianIter, except a, b, and c are fixed to a given value.
Definition cartiter.h:172
int a() const
The current exponent of x.
Definition cartiter.h:204
int b() const
The current exponent of y.
Definition cartiter.h:206
RedundantCartesianSubIter(int l)
Create a object for the given angular momentum.
virtual void start(int a, int b, int c)
Initialize the iterator.
int l() const
The angular momentum.
Definition cartiter.h:210
Contains all MPQC code up to version 3.
Definition mpqcin.h:14