MADNESS
0.10.1
|
Represents multiple shells of contracted gaussians on a single center. More...
#include <molecularbasis.h>
Public Member Functions | |
AtomicBasis () | |
AtomicBasis (const std::vector< ContractedGaussianShell > &g) | |
double * | eval (double x, double y, double z, double *bf) const |
Evaluates the basis functions at point x, y, z relative to atomic center. More... | |
double | eval_guess_density (double x, double y, double z) const |
Evaluates the guess atomic density at point x, y, z relative to atomic center. More... | |
const Tensor< double > & | get_avec () const |
const Tensor< double > & | get_bvec () const |
const Tensor< double > & | get_dmat () const |
const ContractedGaussianShell & | get_shell_from_basis_function (int ibf, int &ibf_in_shell) const |
Return shell that contains basis function ibf and also return index of function in the shell. More... | |
const std::vector< ContractedGaussianShell > & | get_shells () const |
Returns a const reference to the shells. More... | |
bool | has_guess_info () const |
int | nbf () const |
Returns the number of basis functions on the center. More... | |
int | nshell () const |
Returns the number of shells on the center. More... | |
template<typename Archive > | |
void | serialize (Archive &ar) |
void | set_guess_info (const Tensor< double > &dmat, const Tensor< double > &avec, const Tensor< double > &bvec) |
Private Attributes | |
Tensor< double > | avec |
Tensor< double > | bvec |
Tensor< double > | dmat |
std::vector< ContractedGaussianShell > | g |
int | numbf |
double | rmaxsq |
Represents multiple shells of contracted gaussians on a single center.
|
inline |
|
inline |
|
inline |
Evaluates the basis functions at point x, y, z relative to atomic center.
The array bf[] must be large enough to hold nbf() values.
Returned is the incremented pointer.
References g, MADNESS_ASSERT, numbf, and rmaxsq.
Referenced by eval_guess_density().
|
inline |
Evaluates the guess atomic density at point x, y, z relative to atomic center.
References dmat, eval(), has_guess_info(), MADNESS_ASSERT, numbf, p(), madness::Tensor< T >::ptr(), rmaxsq, and sum.
|
inline |
References avec.
|
inline |
References bvec.
|
inline |
References dmat.
|
inline |
Return shell that contains basis function ibf and also return index of function in the shell.
References g, MADNESS_EXCEPTION, and nbf().
|
inline |
Returns a const reference to the shells.
References g.
|
inline |
References dmat, and madness::BaseTensor::size().
Referenced by eval_guess_density().
|
inline |
Returns the number of basis functions on the center.
References numbf.
Referenced by get_shell_from_basis_function().
|
inline |
Returns the number of shells on the center.
References g.
|
inline |
|
inline |
|
private |
Referenced by get_avec(), serialize(), and set_guess_info().
|
private |
Referenced by get_bvec(), serialize(), and set_guess_info().
|
private |
Referenced by eval_guess_density(), get_dmat(), has_guess_info(), serialize(), and set_guess_info().
|
private |
Referenced by AtomicBasis(), eval(), get_shell_from_basis_function(), get_shells(), nshell(), and serialize().
|
private |
Referenced by AtomicBasis(), eval(), eval_guess_density(), nbf(), and serialize().
|
private |
Referenced by AtomicBasis(), eval(), eval_guess_density(), and serialize().