sc::SpatialMOPairIter_eq(3)

πŸ“¦
version 2.3.1 Β· 5 versions
, in ubuntu jammy

πŸ’– 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 pair ij_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 index ij for alpha-alpha case.
  • int ij_ab () const β€” Returns compound index ij for alpha-beta case.
  • int ij_ba () const β€” Returns compound index ij for 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