sc::BlockedSCElementOp(3)
π sc::BlockedSCElementOp π
okay bestie, welcome to sc::BlockedSCElementOp β this is the sc library, manual section 3 (library functions, the good stuff), and yes this page is lowkey just a class reference but we're gonna make it cute. π¦
It inherits sc::SCElementOp. And plot twist: it's inherited by sc::LevelShift. So it's giving middle-of-the-family-tree energy. π
β¨ SYNOPSIS β¨
Inherits sc::SCElementOp.
Inherited by sc::LevelShift.
πΈ Public Member Functions πΈ
void working_on (int)int current_block () const
π Public Member Functions inherited from sc::SCElementOp π
SCElementOp (StateIn &s)virtual int has_collect ()β okay so if duplicates of theSCElementOpexist (meaning there's more than one node, no biggie), then ifhas_collectreturns nonzero,collectgets called with aMessageGrpreference after all the blocks have been processed. slay.virtual void defer_collect (int)virtual void collect (const Ref< MessageGrp > &)virtual void collect (const Ref< SCElementOp > &)β when you're using cloneableSCElementOpobjects multithreaded, you gotta have the data from the cloned objects collected. it's giving housekeeping, it's giving necessary.virtual int has_side_effects ()β by default this returns nonzero. periodt.virtual bool threadsafe ()β returns true if thisSCElementOpis threadsafe. π₯virtual bool cloneable ()β returns true if thisSCElementOpsupports the cloneable member.virtual Ref< SCElementOp > clone ()β returns a clone of this object. twin behavior, literally.virtual void process (SCMatrixBlockIter &)=0β this is the fallback routine for processing blocks, and it gets called by theprocess_specmembers that aren't overridden. the safety net bestie.void process_base (SCMatrixBlock *block)β lazy matrix implementors (affectionate) can call this member when the type of block specialization is unknown.virtual void process_spec_rect (SCMatrixRectBlock *)virtual void process_spec_ltri (SCMatrixLTriBlock *)virtual void process_spec_diag (SCMatrixDiagBlock *)virtual void process_spec_vsimp (SCVectorSimpleBlock *)virtual void process_spec_rectsub (SCMatrixRectSubBlock *)virtual void process_spec_ltrisub (SCMatrixLTriSubBlock *)virtual void process_spec_diagsub (SCMatrixDiagSubBlock *)virtual void process_spec_vsimpsub (SCVectorSimpleSubBlock *)β matrices should call these members when the type of block is known. iykyk. π
π Public Member Functions inherited from sc::SavableState π
SavableState & operator= (const SavableState &)void save_state (StateOut &)β save the state of the object, exactly as specified by theStateOutobject.void save_object_state (StateOut &)β use this for saving state when you know the exact type of the object for both the save and the restore. no guessing, we love that for us.virtual void save_vbase_state (StateOut &)β save the virtual bases for the object.virtual void save_data_state (StateOut &)β save the base classes (withsave_data_state) and the members in the same order that theStateInCTOR initializes them. order matters bestie, don't play. π
π Public Member Functions inherited from sc::DescribedClass π
DescribedClass (const DescribedClass &)DescribedClass & operator= (const DescribedClass &)ClassDesc * class_desc () const throw ()β returns the unique pointer to theClassDesccorresponding to the giventype_infoobject.const char * class_name () constβ return the name of the object's exact type.int class_version () constβ return the version of the class.virtual void print (std::ostream &=ExEnv::out0()) constβ print the object.
π Public Member Functions inherited from sc::RefCount π
int lock_ptr () constβ lock this object.int unlock_ptr () constβ unlock this object.void use_locks (bool inVal)β start and stop using locks on this object.refcount_t nreference () constβ return the reference count.refcount_t reference ()β increment the reference count and return the new count.refcount_t dereference ()β decrement the reference count and return the new count.int managed () constvoid unmanage ()β turn off the reference counting mechanism for this object.int managed () constβ return 1 if the object is managed. otherwise return 0.
π¦ Public Member Functions inherited from sc::Identity π¦
Identifier identifier ()β return theIdentifierfor this argument.
π Additional Inherited Members π
β Static Public Member Functions inherited from sc::SavableState β
static void save_state (SavableState *s, StateOut &)static SavableState * restore_state (StateIn &si)β restores objects that were saved withsave_state.static SavableState * key_restore_state (StateIn &si, const char *keyword)β likerestore_state, butkeywordis used to override values while restoring.static SavableState * dir_restore_state (StateIn &si, const char *objectname, const char *keyword=0)
π Protected Member Functions inherited from sc::SavableState π
SavableState (const SavableState &)SavableState (StateIn &)β each derived classStateInCTOR handles the restore corresponding to callingsave_object_state,save_vbase_state, andsave_data_statelisted above.
π Protected Member Functions inherited from sc::RefCount π
RefCount (const RefCount &)RefCount & operator= (const RefCount &)
π Author π
Generated automatically by Doxygen for MPQC from the source code. (not a human, just a lil robot doing its thing, and honestly? it ate. π)
and that's the whole page bestie, no cap. go forth and block those SCElementOps. π
β¨
later, legend β this was MPQC, Version 2.3.1, manual page sc::BlockedSCElementOp(3). mwah π«Άπ
π¦ where this page comes from
- fedora 43: mpqc-devel 2.3.1-65.fc43 Β· GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+
- fedora 43: mpqc-devel 2.3.1-65.fc43 Β· GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+
- ubuntu noble: libsc-doc 2.3.1-22build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms