sc::TwoBodyTwoCenterDerivInt(3)
π sc::TwoBodyTwoCenterDerivInt π
okay so bestie, listen β this little icon is from the MPQC manual, and it's giving abstract base class energy. It's the blueprint for classes that compute two centers integrals involving two electrons. No cap, that's the whole vibe.
β¨ SYNOPSIS β¨
Like, first you gotta include the header, obviously:
#include <tbint.h>
And it Inherits sc::RefCount. Slay.
π«Ά Public Member Functions
int nbasis() constβ hands you the number of basis functions on center one. literally that.int nbasis1() constβ same thing, number of basis functions on center one. twin behavior fr fr.int nbasis2() constβ this one's different: number of basis functions on center two. πint nshell() constβ number of shells on center one. iconic.int nshell1() constβ number of shells on center one again. she said "consistency."int nshell2() constβ number of shells on center two. periodt.Ref<GaussianBasisSet> basis()β returns the basis set on center one. yes bestie, the whole thing.Ref<GaussianBasisSet> basis1()β basis set on center one. again. twins.Ref<GaussianBasisSet> basis2()β basis set on center two. main character center energy.const double * buffer() constβ okay so the computed shell integrals go into the buffer this returns. don't lose it. πvirtual void compute_shell(int, int, DerivCenters &)=0β give it the shell indices and it fills the integral buffer. pure virtual, so it's a "you do it" situation.virtual int log2_shell_bound(int=-1, int=-1)=0β returns log base 2 of the max magnitude of any integral in a shell block. the defaults are-1because mystery shells are valid. π¦
πΈ Protected Member Functions
TwoBodyTwoCenterDerivInt(Integral *integral, const Ref<GaussianBasisSet> &b1, const Ref<GaussianBasisSet> &b2)β constructor. you don't get to call it from outside, it's protected. humble.
π Protected Attributes
Integral * integral_β the integral pointer. she's private-ish.Ref<GaussianBasisSet> bs1_β basis set one. stored.Ref<GaussianBasisSet> bs2_β basis set two. also stored.double * buffer_β the buffer. put the integrals here bestie. π
π§ Detailed Description π§
This is an abstract base type for classes that compute two centers integrals involving two electrons. Like, it's the vibe, not the whole implementation. go off.
π Member Function Documentation π
virtual int sc::TwoBodyTwoCenterDerivInt::log2_shell_bound(int = -1, int = -1) [pure virtual]
Returns log base 2 of the maximum magnitude of any integral in a shell block. β¨
And here's the key detail, no cap: an index of -1 for any argument means any shell. like, "idk pick one," basically. π
π reminder:compute_shellandlog2_shell_boundare pure virtual β you cannot instantiate this directly, bestie. it's a base class, not a ready-to-wear look. π
π Author π
Generated automatically by Doxygen for MPQC from the source code. not me writing it by hand, that's a bot doing its thing. π€β¨
okay that's the whole page, and before you go: this is from MPQC version 2.3.1, dated Sun Oct 4 2020, and the manpage section is sc::TwoBodyTwoCenterDerivInt(3). mwah π go compute some two-center two-electron integrals, you absolute icon. ππ
π¦ where this page comes from
- ubuntu jammy: libsc-doc 2.3.1-21
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms