sc::PointChargeData(3)
π sc::PointChargeData(3) π
okay so bestie, welcome to the Library Functions Manual page for sc::PointChargeData β she's a whole vibe, she's giving "I hold your point charges and I hold them correctly", and yes we're gonna read the whole thing together, no skimming, no skipping, we eat the entire page. π
β¨ NAME β¨
sc::PointChargeData β that's her, that's the name, iconic, no notes. π
πΈ SYNOPSIS πΈ
she inherits from sc::RefCount, which is like her rich parent that handles all the reference counting drama so she doesn't have to.
Inherits sc::RefCount.
π Public Member Functions π
PointChargeData (int ncharge, const double *const *positions, const
double *charges, int copy_data=0)
int ncharges () const
const double * charges () const
const double *const * positions () const
so like. the constructor takes your ncharge, your positions (a const double *const *, she's fancy, she's const-const, she's protected), your charges (const double *), and a lil copy_data flag that defaults to 0. then ncharges() tells you how many charges there are, charges() hands you the charges pointer, and positions() hands you the positions pointer. that's it, that's the whole job, and she does it flawlessly. π
π Public Member Functions inherited from sc::RefCount π
these are the heirlooms she got from her RefCount parent. slay.
int lock_ptr () constβ locks this object. like, hands off, she's busy. πint unlock_ptr () constβ unlocks this object. you may approach again. πvoid use_locks (bool inVal)β start and stop using locks on this object. flip theinValswitch, that's the whole thing.refcount_t nreference () constβ return the reference count. just peeking, not touching. πrefcount_t reference ()β increment the reference count and return the new count. she gains a follower, she reports the follower count.refcount_t dereference ()β decrement the reference count and return the new count. someone unfollowed, she tells you the new number. πint managed () constβ no description here bestie, the manpage just... leaves it there. mysterious. we respect the mystery. πvoid unmanage ()β turn off the reference counting mechanism for this object. she's going off-grid, no more counting.int managed () constβ return1if the object is managed. Otherwise return0. yes she appears twice, once with lore and once without, and honestly? main character energy. π
π¦ Public Member Functions inherited from sc::Identity π¦
Identifier identifier ()β Return theIdentifierfor this argument.
one function, one job, no drama. we love a minimal queen.
π Additional Inherited Members π
πΈ Protected Member Functions inherited from sc::RefCount πΈ
these are protected, so like, family only, iykyk.
RefCount (const RefCount &)
RefCount & operator= (const RefCount &)
copy constructor and copy assignment, both locked behind protected. don't try it unless you're in the club. π
β Author β
Generated automatically by Doxygen for MPQC from the source code. she wasn't written by a person, she was manifested by Doxygen. respect the process. β¨
and that's the page bestie!! every flag, every signature, every inherited function, all of it, untouched, no cap. π
MPQC β Version 2.3.1 π«Ά and yeah, this page is literally sc::PointChargeData(3), that's the section, that's the source, that's the date-adjacent energy, we're done here, 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