Psi4
Public Member Functions | Private Member Functions | Private Attributes | List of all members
psi::RedundantCartesianSubIter Class Reference

#include <cartesianiter.h>

Public Member Functions

 RedundantCartesianSubIter (int l)
 Create a object for the given angular momentum. More...
 
virtual ~RedundantCartesianSubIter ()
 
virtual int bfn ()
 Return the current Cartesian basis function number. More...
 
void start (int a, int b, int c)
 
void next ()
 Move to the next combination of axes. More...
 
 operator int () const
 Returns nonzero if the iterator currently hold valid data. More...
 
int a () const
 The current exponent of x. More...
 
int b () const
 The current exponent of y. More...
 
int c () const
 The current exponent of z. More...
 
int l () const
 The angular momentum. More...
 
int l (int i)
 Returns a() if i==0, b() if i==1, and c() if i==2. More...
 
int axis (int i)
 Return the i'th axis. More...
 

Private Member Functions

int valid ()
 

Private Attributes

int done_
 
int l_
 
int e_ [3]
 
int * axis_
 
int * zloc_
 
int * yloc_
 

Detailed Description

Like RedundantCartesianIter, except a, b, and c are fixed to a given value.

Constructor & Destructor Documentation

RedundantCartesianSubIter::RedundantCartesianSubIter ( int  l)

Create a object for the given angular momentum.

RedundantCartesianSubIter::~RedundantCartesianSubIter ( )
virtual

Member Function Documentation

int psi::RedundantCartesianSubIter::a ( ) const
inline

The current exponent of x.

int psi::RedundantCartesianSubIter::axis ( int  i)
inline

Return the i'th axis.

int psi::RedundantCartesianSubIter::b ( ) const
inline

The current exponent of y.

int RedundantCartesianSubIter::bfn ( )
virtual

Return the current Cartesian basis function number.

int psi::RedundantCartesianSubIter::c ( ) const
inline

The current exponent of z.

int psi::RedundantCartesianSubIter::l ( ) const
inline

The angular momentum.

int psi::RedundantCartesianSubIter::l ( int  i)
inline

Returns a() if i==0, b() if i==1, and c() if i==2.

void RedundantCartesianSubIter::next ( )

Move to the next combination of axes.

psi::RedundantCartesianSubIter::operator int ( ) const
inline

Returns nonzero if the iterator currently hold valid data.

void RedundantCartesianSubIter::start ( int  a,
int  b,
int  c 
)

Initialize the iterator. The constraints on a, b, and c are given as arguments.

int RedundantCartesianSubIter::valid ( )
private

Member Data Documentation

int* psi::RedundantCartesianSubIter::axis_
private
int psi::RedundantCartesianSubIter::done_
private
int psi::RedundantCartesianSubIter::e_[3]
private
int psi::RedundantCartesianSubIter::l_
private
int* psi::RedundantCartesianSubIter::yloc_
private
int* psi::RedundantCartesianSubIter::zloc_
private

The documentation for this class was generated from the following files: