sc::NewP86CFunctional(3)
π sc::NewP86CFunctional(3) β from the MPQC manual, bestie
okay so this is a page straight out of the MPQC manual (that's sc::NewP86CFunctional(3) if you're being formal π) and it's literally all about one little class. it's a density functional thingy. let's get into it β¨
πΈ NAME πΈ
sc::NewP86CFunctional β that's it, that's the name, no cap π
π¦ SYNOPSIS π¦
so first thing u need to know: this class inherits sc::DenFunctional. it's giving "part of the family" energy π
β¨ Public Member Functions β¨
NewP86CFunctional (const Ref< KeyVal > &)β constructor #1, takes aRef< KeyVal >πNewP86CFunctional (StateIn &)β constructor #2, takes aStateIn &π«Άvoid save_data_state (StateOut &)β saves stuff. like, the whole state. we'll get into the details down below β¬οΈint need_density_gradient ()β returns anint, tells u whether a density gradient is needed πvoid point (const PointInputData &, PointOutputData &)β thepointfunction, takes aconst PointInputData &and aPointOutputData &πΈ
π Protected Member Functions π
void init_constants ()β sets up those constants, obviously β¨double rho_deriv (double rho_a, double rho_b, double mdr)β derivative w.r.t. rho, takesrho_a,rho_b, andmdr, returns adoubleπdouble gab_deriv (double rho_a, double rho_b, double mdr)β same arguments (rho_a,rho_b,mdr), returns adoubletoo π¦
π Protected Attributes π
a whole lil squad of doubles, all protected, all iconic:
double a_double C1_double C2_double C3_double C4_double C5_double C6_double C7_
like. C1 through C7. seven of them. main character constants fr fr π₯
β Additional Inherited Members β
there's also some additional inherited members β they come with the inheritance, iykyk π«
π Member Function Documentation π
π· void sc::NewP86CFunctional::save_data_state (StateOut &) [virtual] π·
okay so here's the deal, bestie: this one saves the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them. order matters, don't play with it π«Ά
and the tea: this must be implemented by the derived class if the class has data. no data? ur off the hook. has data? u gotta implement it. periodt π
it's reimplemented from sc::DenFunctional β so the base class had a version, and this one is the glow-up β¨
π Author π
Generated automatically by Doxygen for MPQC from the source code.
so like, a robot wrote this. and honestly? it ate. π€π
π friendly reminder bestie: everything above came straight from the source β thesave_data_stateordering rule is real, not a vibe, so don't go messing with that member order or theStateInCTOR will be very upset with u π
and that's the whole page!! mwah π this was Version 2.3.1, dated Sun Oct 4 2020 β so yeah, she's a lil vintage, but she still slays πΈπ π¦
π¦ 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