.TH "sc::SphericalTransform" 3 "Sun Oct 4 2020" "Version 2.3.1" "MPQC" \" -*- nroff -*- .ad l .nh .SH NAME sc::SphericalTransform \- This is a base class for a container for a sparse Cartesian to solid harmonic basis function transformation\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherited by \fBsc::ISphericalTransform\fP, \fBsc::SphericalTransformCCA\fP, \fBsc::SphericalTransformCints\fP, and \fBsc::SphericalTransformV3\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "void \fBadd\fP (int \fBa\fP, int \fBb\fP, int \fBc\fP, double \fBcoef\fP, int \fBpureindex\fP)" .br .RI "Adds another \fBSphericalTransformComponent\fP\&. " .ti -1c .RI "int \fBcartindex\fP (int i) const" .br .RI "Returns the Cartesian basis function index of component i\&. " .ti -1c .RI "int \fBpureindex\fP (int i) const" .br .RI "Returns the solid harmonic basis function index of component i\&. " .ti -1c .RI "double \fBcoef\fP (int i) const" .br .RI "Returns the transform coefficient of component i\&. " .ti -1c .RI "int \fBa\fP (int i) const" .br .RI "Returns the Cartesian basis function's x exponent of component i\&. " .ti -1c .RI "int \fBb\fP (int i) const" .br .RI "Returns the Cartesian basis function's y exponent of component i\&. " .ti -1c .RI "int \fBc\fP (int i) const" .br .RI "Returns the Cartesian basis function's z exponent of component i\&. " .ti -1c .RI "int \fBl\fP () const" .br .RI "Returns the angular momentum\&. " .ti -1c .RI "int \fBn\fP () const" .br .RI "Returns the number of components in the transformation\&. " .ti -1c .RI "virtual \fBSphericalTransformComponent\fP * \fBnew_components\fP ()=0" .br .RI "This must create \fBSphericalTransformComponent\fP's of the appropriate specialization\&. " .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "\fBSphericalTransform\fP (int \fBl\fP, int subl=\-1)" .br .RI "This constructs the \fBSphericalTransform\fP for the given Cartesian angular momentum l and solid harmonic angular momentum subl\&. " .ti -1c .RI "virtual void \fBinit\fP ()" .br .RI "This determines all of the components of the transformation\&. " .in -1c .SS "Protected Attributes" .in +1c .ti -1c .RI "int \fBn_\fP" .br .ti -1c .RI "int \fBl_\fP" .br .ti -1c .RI "int \fBsubl_\fP" .br .ti -1c .RI "\fBSphericalTransformComponent\fP * \fBcomponents_\fP" .br .in -1c .SH "Detailed Description" .PP This is a base class for a container for a sparse Cartesian to solid harmonic basis function transformation\&. .br .SH "Constructor & Destructor Documentation" .PP .SS "sc::SphericalTransform::SphericalTransform (int l, int subl = \fC\-1\fP)\fC [protected]\fP" .PP This constructs the \fBSphericalTransform\fP for the given Cartesian angular momentum l and solid harmonic angular momentum subl\&. Usually, l and subl will be the same\&. They would differ when the S component of a D Cartesian shell or the P component of an F Cartesian shell is desired, for example (see the natural atomic orbital code for an example of such use)\&. The init member must be called to complete initialization\&. .br .SH "Member Function Documentation" .PP .SS "virtual void sc::SphericalTransform::init ()\fC [protected]\fP, \fC [virtual]\fP" .PP This determines all of the components of the transformation\&. It should be possible to implement the \fBSphericalTransformComponent::init\fP specialization in such a way that the default \fBSphericalTransform::init\fP can be used\&. .br .PP Reimplemented in \fBsc::ISphericalTransform\fP\&. .SH "Author" .PP Generated automatically by Doxygen for MPQC from the source code\&.