sc::OneBodyInt(3)
π sc::OneBodyInt(3) β the MPQC one π
okay so bestie, welcome to sc::OneBodyInt, a page from the MPQC manual (that's the manual name, folding it in here so you have it π«Ά). It's an abstract base class for objects that compute integrals between two basis functions. That's the whole vibe. It doesn't do the math itself β it's the main character energy parent class that other integral classes inherit their whole personality from. β¨
πΈ NAME πΈ
sc::OneBodyInt β an abstract base class for objects that compute integrals between two basis functions.
β¨ SYNOPSIS β¨
#include <obint.h>
Inherits from sc::RefCount. π§¬
Inherited by sc::DipoleIntV3, sc::EfieldDotVectorIntV3, sc::OneBodyIntCCA, sc::OneBodyIntCints, sc::OneBodyIntV3, and sc::PointChargeIntV3. The whole friend group fr fr π
π 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. Pure virtual, so the subclasses HAVE to do this one. no skipping πvirtual void reinitialize()β This is called for one body integrals that take data to let them know that the data they reference has changed. Like a lil "hey bestie, heads up, things moved" text π±virtual bool cloneable()β Returntrueif the clone member can be called.virtual Ref<OneBodyInt> clone()β Returns a clone of this.Integral * integral() constβ returns the integral pointer, iconic, no notes.
π§ Protected Member Functions
OneBodyInt(Integral *integral, const Ref<GaussianBasisSet> &b1, const Ref<GaussianBasisSet> &b2=0)β the constructor, catch it. Note theb2=0default, so center two is optional β¨
π Protected Attributes
Integral * integral_β the integral pointer, living its lifeRef<GaussianBasisSet> bs1_β basis set on center oneRef<GaussianBasisSet> bs2_β basis set on center twodouble * buffer_β the buffer, where the integrals go
π¦ Detailed Description π¦
OneBodyInt is an abstract base class for objects that compute integrals between two basis functions. Periodt. It's the blueprint, not the building β the actual integral computation gets delegated to whoever inherits it π
π₯ Member Function Documentation π₯
π virtual Ref<OneBodyInt> sc::OneBodyInt::clone() [virtual]
Returns a clone of this. The default implementation throws an exception β so like, if you call it without a subclass that actually implements it, it's not gonna slay, it's gonna crash. π
Reimplemented in sc::OneBodyIntCCA, sc::OneBodyIntCints, and sc::OneBodyIntV3.
π virtual bool sc::OneBodyInt::cloneable() [virtual]
Return true if the clone member can be called. The default implementation returns false β so by default, bestie, cloning is not on the menu π
Reimplemented in sc::OneBodyIntCCA, sc::OneBodyIntCints, and sc::OneBodyIntV3.
π Author π
Generated automatically by Doxygen for MPQC from the source code. (not me writing it by hand, the robots did that part π€β¨)
π tiny little note, bestie:clone()throwing by default andcloneable()returningfalseby default is the whole "look before you leap" situation β check that vibe check first, iykyk.
πΈ okay that's the whole page, thank you for coming to my TED talk πΈ
Signed, sealed, delivered with Version 2.3.1 energy, dated Sun Oct 4 2020 β the source/version + date sign-off you asked for, served cute πππ¦
π¦ 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