sc::TwoBodyIntV3(3)
π sc::TwoBodyIntV3(3) β the MPQC glow-up β¨
okay so bestie, welcome to sc::TwoBodyIntV3 from the MPQC manual (manual name's right there in the corner, we're being casual about it π). This one's literally the class that implements electron repulsion integrals in the IntV3 library. she's giving quantum chemistry main character energy and honestly? obsessed.
πΈ NAME πΈ
sc::TwoBodyIntV3 β this implements electron repulsion integrals in the IntV3 library. that's the whole vibe. no cap.
β¨ SYNOPSIS β¨
#include <tbintv3.h>
Inherits sc::TwoBodyInt. yes she's part of the family tree π«Ά
π Public Member Functions
TwoBodyIntV3(Integral *integral, const Ref<GaussianBasisSet> &b1, const Ref<GaussianBasisSet> &b2, const Ref<GaussianBasisSet> &b3, const Ref<GaussianBasisSet> &b4, size_t storage)β the constructor, she takes anIntegral *plus fourRef<GaussianBasisSet>besties (b1,b2,b3,b4) and asize_t storage. icon behavior.int log2_shell_bound(int, int, int, int)β returns log base 2 of the maximum magnitude of any integral in a shell block that came fromcompute_shell. like, how big can it possibly get, logβ edition π₯void compute_shell(int, int, int, int)β you hand her four shell indices and she computes the integrals and drops them into the buffer. slay.size_t storage_used()β tells you how much storage is being used. she keeps receipts πvoid set_integral_storage(size_t storage)β this storage is used to cache computed integrals, so it's the lil memory closet for all the math she's already done π§
π¦ Protected Attributes
Ref<Int2eV3> int2ev3_β the protected attribute, kept on the down-low. iykyk.
π Additional Inherited Members
she's got extra inherited members too, from her parent sc::TwoBodyInt. nepotism but make it computational π
π Detailed Description π
This implements electron repulsion integrals in the IntV3 library. (yes it's the same sentence as NAME, that's just how the page do β fr fr consistent.)
π Member Function Documentation π
void sc::TwoBodyIntV3::compute_shell(int, int, int, int) [virtual]
Given four shell indices, integrals will be computed and placed in the buffer. and listen β the first two indices correspond to electron 1, and the second two indices correspond to electron 2. two electrons, four indices, no confusion, periodt β‘
Implements sc::TwoBodyInt.
int sc::TwoBodyIntV3::log2_shell_bound(int, int, int, int) [virtual]
Return log base 2 of the maximum magnitude of any integral in a shell block obtained from compute_shell. cute extra detail: an index of -1 for any argument indicates any shell. so -1 is giving wildcard energy and we respect it πβ¨
Implements sc::TwoBodyInt.
β Author β
Generated automatically by Doxygen for MPQC from the source code. (the robots wrote it, we just made it cute π)
and that's the page!! she's Version 2.3.1, dated Sun Oct 4 2020, and the source-of-truth footer says MPQC β so big shoutout to MPQC and to sc::TwoBodyIntV3(3) for being iconic. mwah π bye 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