SC_SCELEMENTACCUMULATEDIAGSCMATRIX(3)
π 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 aDiagSCMatrixπint has_side_effects ()β by default this returns nonzero, okurrrvoid process (SCMatrixBlockIter &)β this is the fallback routine that processes blocks, and it gets called by theprocess_specmembers 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
- 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