sc::SCExtrapData(3)
π sc::SCExtrapData β a vibe check from the MPQC fam
Okay bestie, so this one's straight out of the MPQC manual and it's lowkey iconic: sc::SCExtrapData is the class that literally holds the data to be extrapolated β the stuff SelfConsistentExtrapolation needs to do its thing. That's the whole personality, no cap. π«Ά
β¨ NAME β¨
sc::SCExtrapData β holds the data to be extrapolated, the way SelfConsistentExtrapolation needs it. Periodt. π
πΈ SYNOPSIS πΈ
#include <scextrap.h>
So it inherits from sc::SavableState (yes, it's part of the savable-state family tree π³), and these cuties inherit from it:
sc::SymmSCMatrix2SCExtrapDatasc::SymmSCMatrix4SCExtrapDatasc::SymmSCMatrixNSCExtrapDatasc::SymmSCMatrixSCExtrapData
π Public Member Functions π
SCExtrapData()β constructs a brand newSCExtrapData. Fresh out the box, main character energy. β¨SCExtrapData(StateIn &)β the constructor that restores anSCExtrapDatafrom aStateInobject. It's giving "save file but make it classy". πvoid save_data_state(StateOut &)β saves the base classes (withsave_data_state) and the members in the same order that theStateInCTOR initializes them. Order matters, bestie, don't play with it. π₯virtual SCExtrapData * copy()=0β returns a copy of this. Pure virtual, so the derived girlies have to bring their own implementation. πvirtual void zero()=0β sets this to zero. Pure virtual too. Zero thoughts, head empty. π«§virtual void accumulate_scaled(double scale, const Ref< SCExtrapData > &)=0β the passedSCExtrapDatagets accumulated into this after the scaling factor is applied. Pure virtual, so again β derived classes, y'all are on your own. π
π¦ Additional Inherited Members π¦
(Yes, there's more that comes from the parent class β it's inherited, it's free, we love that for us. π)
π Detailed Description π
SCExtrapData holds the data to be extrapolated that SelfConsistentExtrapolation needs. That's it, that's the job, and it does it flawlessly. π
β Member Function Documentation β
π§ void sc::SCExtrapData::save_data_state(StateOut &) [virtual]
Okay so this one saves the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them. Like, this is not a suggestion, this is the assignment. π
Heads up bestie: this must be implemented by the derived class if the class has data. No data, no problem β but data? Implement it. Non-negotiable. π€
- Reimplemented from
sc::SavableState. - Reimplemented in
sc::SymmSCMatrixNSCExtrapData,sc::SymmSCMatrix4SCExtrapData,sc::SymmSCMatrix2SCExtrapData, andsc::SymmSCMatrixSCExtrapData. Slay, the whole squad showed up. π
π Author π
Generated automatically by Doxygen for MPQC from the source code. So like, not a human author, but honestly? Still ate. πβ¨
And that's the whole page, bestie β Version 2.3.1, dated Sun Oct 4 2020, straight from the MPQC source. Go forth and extrapolate responsibly. π¦ππ
π¦ 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