sc::SpatialMOPairIter_eq(3)
π sc::SpatialMOPairIter_eq(3) β MPQC manual, bestie edition π
okay so welcome to the MPQC manual page for sc::SpatialMOPairIter_eq(3). this is the whole vibe, and yes, weβre keeping every detail. periodt. π
πΈ NAME πΈ
sc::SpatialMOPairIter_eq β SpatialMOPairIter_eq gives the ordering of same-spin and different-spin orbital pairs if both orbitals of the pairs are from the same space. slay. β¨
π¦ SYNOPSIS π¦
#include <pairiter.h>
Inherits sc::SpatialMOPairIter.
β¨ Public Member Functions β¨
SpatialMOPairIter_eq (const Ref< MOIndexSpace > &space1)β Initialize an iterator for the given MO spaces.void start (const int ij_offset=0)β Initialize the iterator assuming that iteration will start with pairij_offset.void next ()β Move to the next pair.operator int () constβ Returns nonzero if the iterator currently hold valid data.int nij_aa () constβ Returns the number of functions in alpha-alpha space.int nij_ab () constβ Returns the number of functions in alpha-beta space.int ij_aa () constβ Returns compound indexijfor alpha-alpha case.int ij_ab () constβ Returns compound indexijfor alpha-beta case.int ij_ba () constβ Returns compound indexijfor beta-alpha case.
π Additional Inherited Members π
yep, this section is here on the original page too. it doesnβt list extra members underneath it here, so weβre not gonna invent any. no cap. π«Ά
π¦ Detailed Description π¦
SpatialMOPairIter_eq gives the ordering of same-spin and different-spin orbital pairs if both orbitals of the pairs are from the same space.
It iterates over all i >= j combinations (total of (ni_+1)*(ni_+2)/2 pairs). iconic behavior, honestly. π
π Member Function Documentation π
π₯ int sc::SpatialMOPairIter_eq::ij_aa () const [inline], [virtual] π₯
Returns compound index ij for alpha-alpha case. The i == j combination doesnβt make sense, so ij_aa() will return -1 for such pairs. π
Implements sc::SpatialMOPairIter.
π Author π
Generated automatically by Doxygen for MPQC from the source code. so fancy, so automatic, so Doxygen. β¨
byeee bestie π Version 2.3.1 β Sun Oct 4 2020 β sc::SpatialMOPairIter_eq(3), from that MPQC source/version-and-date footer. mwah π«Ά
π¦ 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