SC_SCELEMENTACCUMULATEDIAGSCMATRIX(3)

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

πŸ’… NAME πŸ’…

ok so bestie, this one is sc::SCElementAccumulateDiagSCMatrix β€” that's the whole name, say it with your chest. it's a little class from the sc:: namespace and it's giving "I accumulate stuff into a diagonal matrix" energy, iykyk.


✨ SYNOPSIS ✨

Inherits sc::SCElementOp.

so yeah, it's a subclass of sc::SCElementOp β€” that's its parent, its main character lineage πŸ‘‘

🌸 Public Member Functions 🌸

  • SCElementAccumulateDiagSCMatrix (DiagSCMatrix *) β€” the constructor, and it takes a pointer to a DiagSCMatrix πŸŽ€
  • int has_side_effects () β€” by default this returns nonzero, okurrr
  • void process (SCMatrixBlockIter &) β€” this is the fallback routine that processes blocks, and it gets called by the process_spec members that aren't overridden πŸ’–

πŸ¦‹ Additional Inherited Members πŸ¦‹

yep, there's more stuff that comes inherited from the parent class β€” it's part of the whole package, no cap.


πŸ”₯ Member Function Documentation πŸ”₯

🌈 int sc::SCElementAccumulateDiagSCMatrix::has_side_effects () [virtual]

ok so real talk: by default this returns nonzero. and here's the important bit β€” if the ElementOp specialization is gonna change any elements of the matrix, then you must override this to return nonzero. like, that's not optional, bestie, that's the rule πŸ’…

it's reimplemented from sc::SCElementOp, so it's a glow-up of the parent's version, not a brand new thing.


πŸ‘‘ Author πŸ‘‘

this was generated automatically by Doxygen for MPQC straight from the source code ✨ like it literally wrote itself, we love an auto-generated icon.


🫢 cute little sign-off: this is Version 2.3.1, dated Sun Oct 4. that's the vibe, that's the page, slay πŸ’–πŸŽ€πŸ¦‹
πŸ“¦ where this page comes from