psi::BasisSet Class Reference
[libmints: Integral library]

Basis set container class. More...

#include <basisset.h>

List of all members.

Public Member Functions

 BasisSet (const BasisSet &)
void print (char *id, FILE *outfile) const
 Print out the basis set.
int num_prims () const
int num_shells () const
int num_ao () const
int num_bf () const
int max_am () const
GaussianShellshell (int si) const
 Return si'th gaussian shell.
int first_bf (int si) const
 Return index of the first basis function from si'th shell.
int first_ao (int si) const
 Return index of the first Cartesian Gaussian function from si'th shell.
int center (int si) const
 Return index of the center on which si'th shell is centered.
void set_center (int ci, PSI_FLOAT[3])
 Set the coordinate of center ci to O.
PSI_FLOAT get_center (int ci, int i)
 Get i-th coordinate of center ci.
 BasisSet (shared_ptr< psi::Chkpt > chkpt, std::string basiskey="")
 BasisSet (const BasisSet &)
 ~BasisSet ()
 Destructor.
int nprimitive () const
int max_nprimitive () const
int nshell () const
int nao () const
int nbf () const
int max_am () const
bool has_puream () const
shared_ptr< Moleculemolecule () const
int max_stability_index () const
 Maximum stabilizer index.
int shell_to_function (int i) const
int shell_to_basis_function (int i) const
shared_ptr< GaussianShellshell (int si) const
SOTransformShellso_transform (int i)
SphericalTransformspherical_transform (int am)
void print (FILE *out=outfile) const
 Print the basis set.
const shared_ptr< SimpleMatrixuso_to_ao () const
const shared_ptr< SimpleMatrixuso_to_bf () const

Static Public Member Functions

static shared_ptr< BasisSetzero_basis_set ()


Detailed Description

Basis set container class.

Reads the basis set from a checkpoint file object. Also reads the molecule from the checkpoint file storing the information in an internal Molecule class which can be accessed using molecule().


Constructor & Destructor Documentation

BasisSet::BasisSet ( shared_ptr< psi::Chkpt chkpt,
std::string  basiskey = "" 
)

Constructor, reads in the basis set from the checkpoint file using basiskey

Parameters:
chkpt Checkpoint library object that contains the basis set information.
basiskey To load the default basis set leave this parameter empty. If an RI-basis is wanted pass "DF"

psi::BasisSet::BasisSet ( const BasisSet  ) 

Copy constructor, currently errors if used.


Member Function Documentation

int psi::BasisSet::nprimitive (  )  const [inline]

Number of primitives.

Returns:
The total number of primitives in all contractions.

int psi::BasisSet::max_nprimitive (  )  const [inline]

Maximum number of primitives in a shell. Examines each shell and find the shell with the maximum number of primitives returns that number of primitives.

Returns:
Maximum number of primitives.

int psi::BasisSet::nshell (  )  const [inline]

Number of shells.

Returns:
Number of shells.

int psi::BasisSet::nao (  )  const [inline]

Number of atomic orbitals (Cartesian).

Returns:
The number of atomic orbitals (Cartesian orbitals).

int psi::BasisSet::nbf (  )  const [inline]

Number of basis functions (Spherical).

Returns:
The number of basis functions (Spherical).

int psi::BasisSet::max_am (  )  const [inline]

Maximum angular momentum used in the basis set.

Returns:
Maximum angular momentum.

bool psi::BasisSet::has_puream (  )  const [inline]

Spherical harmonics?

Returns:
true if using spherical harmonics

shared_ptr<Molecule> psi::BasisSet::molecule (  )  const [inline]

Molecule this basis is for.

Returns:
Shared pointer to the molecule for this basis set.

int psi::BasisSet::shell_to_function ( int  i  )  const [inline]

Given a shell what is its first AO function

Parameters:
i Shell number
Returns:
The function number for the first function for the i'th shell.

int psi::BasisSet::shell_to_basis_function ( int  i  )  const [inline]

Given a shell what is its first basis function (spherical) function

Parameters:
i Shell number
Returns:
The function number for the first function for the i'th shell.

shared_ptr<GaussianShell> psi::BasisSet::shell ( int  si  )  const

Return the si'th Gaussian shell

Parameters:
i Shell number
Returns:
A shared pointer to the GaussianShell object for the i'th shell.

SOTransformShell* psi::BasisSet::so_transform ( int  i  )  [inline]

Returns i'th shell's transform object.

Parameters:
i Shell number
Returns:
A SOTransformShell object that details how to transform from AO to SO.

SphericalTransform& psi::BasisSet::spherical_transform ( int  am  )  [inline]

Returns the transformation object for a given angular momentum. Used in ERIs.

Parameters:
am Angular momentum
Returns:
A SphericalTransform object that details how to transfrom from AO to BF.

const shared_ptr<SimpleMatrix> psi::BasisSet::uso_to_ao (  )  const [inline]

Returns the uso2ao_ matrix.

Returns:
The transformation matrix for USO to AO.

const shared_ptr<SimpleMatrix> psi::BasisSet::uso_to_bf (  )  const [inline]

Returns the uso2bf_ matrix.

Returns:
The transformation matrix for USO to BF.

shared_ptr< BasisSet > BasisSet::zero_basis_set (  )  [static]

Returns an empty basis set object.

Returns a BasisSet object that actually has a single s-function at the origin with an exponent of 0.0 and contraction of 1.0.

Returns:
A new empty BasisSet object.


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

Generated on Mon Dec 21 14:14:46 2009 for PSI by  doxygen 1.5.6