MPQC
2.3.1
|
OneBodyInt is an abstract base class for objects that compute integrals between two basis functions. More...
#include <obint.h>
Public Member Functions | |
int | nbasis () const |
Returns the number of basis functions on center one. | |
int | nbasis1 () const |
Returns the number of basis functions on the center one. | |
int | nbasis2 () const |
Returns the number of basis functions on the center two. | |
int | nshell () const |
Return the number of shells on center one. | |
int | nshell1 () const |
Return the number of shells on the center one. | |
int | nshell2 () const |
Return the number of shells on the center two. | |
Ref< GaussianBasisSet > | basis () |
Return the basis set on center one. | |
Ref< GaussianBasisSet > | basis1 () |
Return the basis set on the center one. | |
Ref< GaussianBasisSet > | basis2 () |
Return the basis set on the center two. | |
const double * | buffer () const |
Returns the buffer where the integrals are placed. | |
virtual void | compute_shell (int, int)=0 |
Computes the integrals between basis functions in the given shell pair. | |
virtual void | reinitialize () |
This is called for one body integrals that take data to let them know that the data they reference has changed. | |
virtual bool | cloneable () |
Return true if the clone member can be called. More... | |
virtual Ref< OneBodyInt > | clone () |
Returns a clone of this. More... | |
Integral * | integral () const |
Public Member Functions inherited from sc::RefCount | |
int | lock_ptr () const |
Lock this object. | |
int | unlock_ptr () const |
Unlock this object. | |
void | use_locks (bool inVal) |
start and stop using locks on this object | |
refcount_t | nreference () const |
Return the reference count. | |
refcount_t | reference () |
Increment the reference count and return the new count. | |
refcount_t | dereference () |
Decrement the reference count and return the new count. | |
int | managed () const |
void | unmanage () |
Turn off the reference counting mechanism for this object. More... | |
int | managed () const |
Return 1 if the object is managed. Otherwise return 0. | |
Public Member Functions inherited from sc::Identity | |
Identifier | identifier () |
Return the Identifier for this argument. More... | |
Protected Member Functions | |
OneBodyInt (Integral *integral, const Ref< GaussianBasisSet > &b1, const Ref< GaussianBasisSet > &b2=0) | |
Protected Member Functions inherited from sc::RefCount | |
RefCount (const RefCount &) | |
RefCount & | operator= (const RefCount &) |
Protected Attributes | |
Integral * | integral_ |
Ref< GaussianBasisSet > | bs1_ |
Ref< GaussianBasisSet > | bs2_ |
double * | buffer_ |
OneBodyInt is an abstract base class for objects that compute integrals between two basis functions.
|
virtual |
Returns a clone of this.
The default implementation throws an exception.
Reimplemented in sc::OneBodyIntCCA, sc::OneBodyIntCints, and sc::OneBodyIntV3.
|
virtual |
Return true if the clone member can be called.
The default implementation returns false.
Reimplemented in sc::OneBodyIntCCA, sc::OneBodyIntCints, and sc::OneBodyIntV3.