sc::UHF(3)

πŸ“¦
version 2.3.1 Β· 5 versions
, in ubuntu jammy

🌈 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 a StateIn &. 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 (with save_data_state) and the members, and the order matters β€” it has to match the order that the StateIn CTOR 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 references ec and ex. πŸ‘€
  • 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 an accuracy. πŸ”₯
  • void two_body_deriv(double *) β€” takes a double *. 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