sc::CartesianIter(3)

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

πŸ’– NAME πŸ’–

okay so bestie, sc::CartesianIter is the main character here: it gives the ordering of the Cartesian functions within a shell for the particular integrals specialization. That’s the whole assignment, fr fr. This is the sc::CartesianIter(3) page from MPQC, and yes we’re getting into every little detail πŸ’…

✨ SYNOPSIS ✨

#include <cartiter.h>

Inherited by MPQC::CartesianIterCCA, sc::CartesianIterCCA, sc::CartesianIterCints, and sc::CartesianIterV3.

🫢 Public Member Functions 🫢

  • CartesianIter (int l) β€” initializes an iterator for the given angular momentum. Slay.
  • virtual void start ()=0 β€” starts the iteration. Go off.
  • virtual void next ()=0 β€” moves to the next Cartesian function. Next!
  • virtual operator int ()=0 β€” returns nonzero if the iterator currently holds valid data. That’s the vibe check.
  • int n () β€” returns the number of Cartesian functions.
  • int a () β€” returns the exponent of x.
  • int b () β€” returns the exponent of y.
  • int c () β€” returns the exponent of z.
  • int l () β€” returns the angular momentum.
  • int l (int i) β€” returns a() if i==0, b() if i==1, and c() if i==2.
  • int bfn () β€” returns the number of the current basis function within the shell.

πŸ”’ Protected Attributes πŸ”’

  • int a_
  • int b_
  • int c_
  • int l_
  • int bfn_

that’s the protected lineup, bestie β€” no extra lore given πŸ’…

πŸ“ Detailed Description πŸ“

Same tea, just spilling it again: CartesianIter gives you the ordering of the Cartesian functions within a shell for the particular integrals specialization. Iconic, concise, and lowkey the whole point. No cap.

πŸ’– Member Function Documentation πŸ’–

int sc::CartesianIter::bfn () [inline]

Returns the number of the current basis function within the shell. This starts at 0 and sequentially increases as next() is called. Obsessed with a clean sequential glow-up ✨

🌸 Author 🌸

Generated automatically by Doxygen for MPQC from the source code. The robots wrote this one, and they ate πŸ€–πŸ’…


okay that’s the whole page, bestie β€” mwah πŸ’‹ Version 2.3.1, Sun Oct 4 2020, sc::CartesianIter(3) out 🫢✨

πŸ“¦ where this page comes from