sc::VWNLCFunctional(3)
π sc::VWNLCFunctional β like, the manual, bestie
okay so this is a page from MPQC (yes, the whole manual, we're doing this) and it's all about sc::VWNLCFunctional. buckle up π
β¨ NAME β¨
sc::VWNLCFunctional β an abstract base class, and the way it works is that all the different VWN (that's Vosko, Wilk and Nusair, say it with me π
) local correlation functional classes (1, 2, 3, 4, 5) are derived from it. she's the mother, basically. main character energy fr.
πΈ SYNOPSIS πΈ
#include <functional.h>
Inherits sc::LSDACFunctional. so she's got a whole family tree already, iconic.
Inherited by sc::VWN1LCFunctional, sc::VWN2LCFunctional, sc::VWN3LCFunctional, sc::VWN4LCFunctional, and sc::VWN5LCFunctional. yes bestie, five whole children. she's that mom π«Ά
π Public Member Functions
VWNLCFunctional(const Ref< KeyVal > &)β constructor, the one that takes a KeyVal ref.VWNLCFunctional(StateIn &)β constructor that reads her back in from aStateIn.void save_data_state(StateOut &)β saves the base classes (withsave_data_state) plus the members, in exactly the same order that theStateInCTOR initializes them. order matters, do not play with her π₯virtual void point_lc(const PointInputData &, PointOutputData &, double &, double &, double &)β the virtual point_lc situation.
π¦ Protected Member Functions
void init_constants()β sets up the constants.double F(double x, double A, double x0, double b, double c)β theFfunction, takingx,A,x0,b,c.double dFdr_s(double x, double A, double x0, double b, double c)β and this one's the same args, it's giving derivative vibes.
β Protected Attributes
literally all of these are double, no cap:
Ap_Af_A_alpha_x0p_mc_bp_mc_cp_mc_x0f_mc_bf_mc_cf_mc_x0p_rpa_bp_rpa_cp_rpa_x0f_rpa_bf_rpa_cf_rpa_x0_alpha_mc_b_alpha_mc_c_alpha_mc_x0_alpha_rpa_b_alpha_rpa_c_alpha_rpa_
twenty-one doubles. she's thorough π
π Additional Inherited Members
yep, there's more stuff inherited from the parent classes β go look at those pages, iykyk.
π Detailed Description π
okay so real talk: sc::VWNLCFunctional is an abstract base class, and all the various VWN (Vosko, Wilk and Nusair) local correlation functional classes (1, 2, 3, 4, 5) are derived from it. that's the whole vibe. she doesn't do the work herself, she just sets the standard π
and here's the citation, keep it safe:
S. H. Vosko, L. Wilk, and M. Nusair, Can. J. Phys., 58, pp. 1200-1211, 1980.
like, actual physics literature. we love a scholarly icon πβ¨
π§ Member Function Documentation π§
π void sc::VWNLCFunctional::save_data_state (StateOut &) [virtual]
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them. and bestie, listen: this must be implemented by the derived class if the class has data. no data, no problem β but if there's data, you have to implement it, fr fr.
Reimplemented from sc::LSDACFunctional.
Reimplemented in sc::VWN5LCFunctional, sc::VWN4LCFunctional, sc::VWN3LCFunctional, sc::VWN2LCFunctional, and sc::VWN1LCFunctional.
the whole girl gang reimplemented it. obsessed ππ
π Author π
Generated automatically by Doxygen for MPQC from the source code. so nobody wrote this page by hand, the robot did it. still ate tho π
and that's the tea, bestie π¦ this was Version 2.3.1, dated Sun Oct 4 2020, brought to you by the MPQC source β mwah, go read the other pages now πβ¨πΈ
π¦ 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