Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

sc::CartesianIter Class Reference

CartesianIter gives the ordering of the Cartesian functions within a shell for the particular integrals specialization. More...

#include <cartiter.h>

Inheritance diagram for sc::CartesianIter:

Inheritance graph
[legend]
List of all members.

Public Methods

 CartesianIter (int l)
 Initialize an iterator for the given angular momentum.

virtual ~CartesianIter ()
virtual void start ()=0
 Start the iteration.

virtual void next ()=0
 Move to the next Cartesian function.

virtual operator int ()=0
 Returns nonzero if the iterator currently hold valid data.

int n ()
 Returns the number of Cartesian functions.

int a ()
 Returns the exponent of x.

int b ()
 Returns the exponent of y.

int c ()
 Returns the exponent of z.

int l ()
 Returns the angular momentum.

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

int bfn ()
 Returns the number of the current basis function within the shell. More...


Protected Attributes

int a_
int b_
int c_
int l_
int bfn_

Detailed Description

CartesianIter gives the ordering of the Cartesian functions within a shell for the particular integrals specialization.


Member Function Documentation

int sc::CartesianIter::bfn   [inline]
 

Returns the number of the current basis function within the shell.

This starts at 0 and sequentially increases as next() is called.


The documentation for this class was generated from the following file:
Generated at Fri Jan 10 08:14:20 2003 for MPQC 2.1.3 using the documentation package Doxygen 1.2.14.