sc::DIIS(3)
π
sc::DIIS(3) π
okay bestie, you're in the MPQC manual β yes, the whole manual β and this page is all about sc::DIIS. It's giving "the DIIS class provides DIIS extrapolation" and we are gonna cover every member, keyword, type, and vibe. no cap. π«Ά
β¨ NAME β¨
sc::DIIS β the DIIS class provides DIIS extrapolation. periodt. π
πΈ SYNOPSIS πΈ
#include <diis.h>
Inherits sc::SelfConsistentExtrapolation. π«
π Public Member Functions π
DIIS (int strt=1, int ndi=5, double dmp=0, int ngr=1, int ngrdiis=1)DIIS (StateIn &)DIIS (const Ref< KeyVal > &)β the DIIS KeyVal constructor recognizes these keywords:n,start,damping_factor,ngroup, andngroupdiis. Full descriptions are down in Constructor & Destructor Documentation, bestie. πvoid save_data_state (StateOut &)β save the base classes (withsave_data_state) and the members in the same order that theStateInCTOR initializes them.int extrapolate (const Ref< SCExtrapData > &data, const Ref< SCExtrapError > &error)void start_extrapolation ()void reinitialize ()void print (std::ostream &=ExEnv::out0()) constβ overrideDescribedClass::print.
π§ Protected Member Functions π§
void init ()
π Protected Attributes π
int startint ndiisint iterint ngroupint ngroupdiisdouble damping_factordouble * btempdouble ** bolddouble ** bmatRef< SCExtrapData > dtemp_dataRef< SCExtrapError > dtemp_errorRef< SCExtrapData > LdataRef< SCExtrapData > * diism_dataRef< SCExtrapError > * diism_error
π Additional Inherited Members π
This heading is here, but this page doesn't list the inherited extras under it. That's the whole vibe of an "additional inherited members" section, iykyk. π¦
π¦ Detailed Description π¦
sc::DIIS is the class that provides DIIS extrapolation. π
π Constructor & Destructor Documentation π
π sc::DIIS::DIIS (const Ref< KeyVal > &) π
The DIIS KeyVal constructor recognizes the following keywords:
nβ this integer maximum number of data sets to retain. The default is5.startβ the DIIS extrapolation will begin on the iteration given by this integer. The default is1.damping_factorβ this nonnegative floating point number is used to dampen the DIIS extrapolation. The default is0.0.ngroupβ the number of iterations in a DIIS group. DIIS extrapolation is only used for the firstngroupdiisof these iterations. The default is1. Ifngroupis1andngroupdiisis greater than0, then DIIS will be used on all iterations after and including thestartiteration.ngroupdiisβ the number of DIIS extrapolations to do at the beginning of an iteration group. See the documentation forngroup.
π Member Function Documentation π
β void sc::DIIS::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.
Reimplemented from sc::SavableState. π₯
π§ Author π§
Generated automatically by Doxygen for MPQC from the source code. (yes, that's the author section, bestie π )
and that's the whole page! Cute sign-off time: this is MPQC, Version 2.3.1, dated Sun Oct 4 2020 β slay, bye. πβ¨
π¦ 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