sc::SCElementOp2(3)

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

πŸ¦‹ sc::SCElementOp2(3) β€” MPQC manual page, bestie edition πŸ’…

okay so welcome to the MPQC glow-up of sc::SCElementOp2(3). This is the page for the class that’s basically SCElementOp’s sibling, except it handles pairs of blocks at the same time. yes bestie, pairs. πŸ’–


✨ NAME ✨

sc::SCElementOp2 β€” it’s basically SCElementOp’s twin, except that pairs of blocks are treated simultaneously. That’s the whole vibe. 🫢

🌸 SYNOPSIS 🌸

#include <elemop.h>

Inherits: sc::SavableState.

Inherited by: sc::BlockedSCElementOp2, sc::SCDestructiveElementProduct, sc::SCElementScalarProduct, and sc::SCFEnergy.

🧚 Public Member Functions 🧚

here’s the whole function roster, signatures copied exactly so nobody gets spicy in the comments:

  • SCElementOp2 (StateIn &s)
  • virtual int has_collect ()
  • virtual void defer_collect (int)
  • virtual int has_side_effects ()
  • virtual int has_side_effects_in_arg ()
  • virtual void collect (const Ref< MessageGrp > &)
  • virtual void process (SCMatrixBlockIter &, SCMatrixBlockIter &)=0
  • void process_base (SCMatrixBlock *, SCMatrixBlock *)
  • virtual void process_spec_rect (SCMatrixRectBlock *, SCMatrixRectBlock *)
  • virtual void process_spec_ltri (SCMatrixLTriBlock *, SCMatrixLTriBlock *)
  • virtual void process_spec_diag (SCMatrixDiagBlock *, SCMatrixDiagBlock *)
  • virtual void process_spec_vsimp (SCVectorSimpleBlock *, SCVectorSimpleBlock *)

🫢 Additional Inherited Members 🫢

✨ There are additional inherited members too β€” this page just doesn’t list them out right here. ✨

πŸ’œ Detailed Description πŸ’œ

Okay so real talk: the SCElementOp2 class is super similar to the SCElementOp class, except it treats pairs of blocks simultaneously. It’s giving β€œtwo blocks, one moment,” and honestly that’s the main character energy here. πŸ’…

The two matrices involved must have identical storage layout. That’s not optional, bestie. It will be the case if both matrices are of the same type and dimensions, so if you’re matching type and dimensions, you’re slaying. πŸŽ€

🌈 Author 🌈

Doxygen generated this page automatically for MPQC straight from the source code β€” so it’s a robot-authored classic, no cap. 😭


okay bye bestie πŸ’– that’s sc::SCElementOp2(3) β€” Version 2.3.1, dated Sun Oct 4 2020. mwah 😘✨

πŸ“¦ where this page comes from