sc::PointInputData(3)
π sc::PointInputData β the little data bucket every point in space gets π
ok so bestie, welcome to sc::PointInputData, which lives in the MPQC manual, section 3. The whole vibe of this one is: it's a struct that contains data needed at each point by a DenFunctional. That's it, that's the job. It's giving "humble little container with main character energy." β¨
To use it you #include <functional.h> β yes, that's the header, write it down π«Ά
πΈ SYNOPSIS πΈ
π¦ Classes
struct SpinDataβ a nested struct hanging out insidePointInputData. She's part of the family.
β Public Types
Two anonymous enums, both just re-exporting constants from BatchElectronDensity so you don't have to type the long names. Icons only, no cap π
enum { X = BatchElectronDensity::X, Y = BatchElectronDensity::Y,
Z = BatchElectronDensity::Z }
enum { XX = BatchElectronDensity::XX, YX = BatchElectronDensity::YX,
YY = BatchElectronDensity::YY, ZX = BatchElectronDensity::ZX,
ZY = BatchElectronDensity::ZY, ZZ = BatchElectronDensity::ZZ }
So X, Y, Z are literally just BatchElectronDensity::X, BatchElectronDensity::Y, BatchElectronDensity::Z β and the six second-derivative ones XX, YX, YY, ZX, ZY, ZZ map straight onto their BatchElectronDensity counterparts. Same values, shorter spelling, we love convenience π
π Public Member Functions
void compute_derived (int spin_polarized, int need_gradient, int need_hessian)β the method that fills in the derived quantities. You tell it whether you'respin_polarized, whether youneed_gradient, and whether youneed_hessian. Three int flags, three little yes/nos πPointInputData (const SCVector3 &r_)β the constructor, takes a reference to anSCVector3namedr_. That's the point in space, bestie π
π Public Attributes
SpinData aβ spin data numero uno.SpinData bβ spin data numero dos. Two spins, two structs, balanced as all things should be βοΈdouble gamma_abβ adoublecalledgamma_ab. It's there. It's a double. Slay.const SCVector3 & rβ a reference to aconst SCVector3calledr. Note the&and theconst, they are not decorative, they're the whole point π
β¨ Detailed Description β¨
Contains data needed at each point by a DenFunctional.
That's the entire description and honestly? Iconic. Short, sweet, does exactly what it says on the tin. Every point gets one of these little bundles of density goodness π«
π Author π
Generated automatically by Doxygen for MPQC from the source code. So no human to thank here β the robots did this one, and honestly they ate π€π
ngl bestie, remember: r is a reference and it's const β don't go trying to reassign it, that's not the vibe and the compiler will absolutely call you out π
π and that's the whole page! brought to you by MPQC version 2.3.1, dated Sun Oct 4 2020 β mwah, go compute some functionals bestie π§ββοΈ
π¦ 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