28#ifndef _chemistry_qc_basis_cartit_h
29#define _chemistry_qc_basis_cartit_h
31#include <chemistry/qc/basis/cartiter.h>
75 return ((((
c+1)*
c)>>1)+
c-j);
87 void start(
int aa,
int bb,
int cc) {
96 bfn_ = ((((
c + 1) *
c) >> 1) +
c - j);
100 int bfn()
const {
return bfn_; }
Definition cartit_cca.h:35
void start()
Start the iteration.
Definition cartit_cca.h:40
void next()
Move to the next Cartesian function.
Definition cartit_cca.h:45
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_cca.h:63
int bfn()
Return the current Cartesian basis function number.
Definition cartit_cca.h:67
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.
int c()
The current exponent of z.
Definition cartiter.h:165
Definition cartit_cca.h:80
int bfn() const
Return the current Cartesian basis function number.
Definition cartit_cca.h:100
void start(int aa, int bb, int cc)
Initialize the iterator.
Definition cartit_cca.h:87
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 c() const
The current exponent of z.
Definition cartiter.h:208
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