sc::UHF(3)
π sc::UHF(3) β the MPQC manual, but make it cute π
okay so bestie, we're in the MPQC manual section 3, page sc::UHF, and honestly? she's giving quantum chemistry main character energy. let's get into it π
β¨ NAME β¨
sc::UHF β this one right here provides an unrestricted Hartree-Fock implementation. that's it, that's the whole name section, and she ate. π
π¦ SYNOPSIS π¦
okay so to even look at her you gotta include her header first, no cap:
#include <uhf.h>
and the vibe check: Inherits sc::UnrestrictedSCF. yes queen, she's a derived class, she has lineage, she has a whole family tree. π
π Public Member Functions π
like, the stuff anyone can just walk up and use:
UHF(StateIn &)β a constructor that takes aStateIn &. standard state-restoring behavior, iykyk.UHF(const Ref< KeyVal > &)β the KeyVal constructor. lowkey the easiest one, because the UHF KeyVal constructor reads no keywords. not a single one. she's low maintenance fr fr. β¨void save_data_state(StateOut &)β saves the base classes (withsave_data_state) and the members, and the order matters β it has to match the order that theStateInCTOR initializes them in. so don't go shuffling things around, bestie, that's a whole mess. π«Άvoid print(std::ostream &o=ExEnv::out0()) constβ prints info about the object. and look at that default arg:ExEnv::out0(). she's polite, she'll print to the default stream if you don't hand her one. πvoid two_body_energy(double &ec, double &ex)β two-body energy, passed out through the referencesecandex. πint value_implemented() constβ tells you all about the availability of values, gradients, and hessians. a whole status report, iconic.int gradient_implemented() constβ same energy, gradient edition. β
π Protected Member Functions π
the inner-circle stuff, members only:
void ao_fock(double accuracy)β takes anaccuracy. π₯void two_body_deriv(double *)β takes adouble *. that's the whole description, she's mysterious like that. π
πΈ Additional Inherited Members πΈ
she's got extra stuff she inherited from her base class, it's not listed out here, but it's there. generational wealth, basically. π
π Detailed Description π
okay so here's the whole point, again, because repetition is a love language:
This provides an unrestricted Hartree-Fock implementation.
periodt. that's the tea. π
π Constructor & Destructor Documentation π
sc::UHF::UHF(const Ref< KeyVal > &)
okay so the UHF KeyVal constructor reads no keywords. literally none. all the necessary information is gathered by the base class KeyVal constructors β she lets her parents handle it, and honestly? healthy boundaries. π§β¨
π₯ Member Function Documentation π₯
void sc::UHF::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. this must be implemented by the derived class if the class has data β so like, if you're a derived class with data, you gotta do this, no skipping. π
Reimplemented from sc::SCF. she's carrying on a legacy, we love to see it. π
π«Ά Author π«Ά
generated automatically by Doxygen for MPQC from the source code. not a human, a whole robot wrote this, and she still slayed. πβ¨
okay bye bestie!! this page is from MPQC, version 2.3.1, dated Sun Oct 4 2020 β so she's vintage, she's classic, she's a little retro gem. sc::UHF(3) out. π
ππ¦
π¦ 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