.TH "sc::DIIS" 3 "Sun Oct 4 2020" "Version 2.3.1" "MPQC" \" -*- nroff -*- .ad l .nh .SH NAME sc::DIIS \- The \fBDIIS\fP class provides \fBDIIS\fP extrapolation\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBsc::SelfConsistentExtrapolation\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBDIIS\fP (int strt=1, int ndi=5, double dmp=0, int ngr=1, int ngrdiis=1)" .br .ti -1c .RI "\fBDIIS\fP (\fBStateIn\fP &)" .br .ti -1c .RI "\fBDIIS\fP (const \fBRef\fP< \fBKeyVal\fP > &)" .br .RI "The \fBDIIS\fP \fBKeyVal\fP constructor recognizes the following keywords: " .ti -1c .RI "void \fBsave_data_state\fP (\fBStateOut\fP &)" .br .RI "Save the base classes (with save_data_state) and the members in the same order that the \fBStateIn\fP CTOR initializes them\&. " .ti -1c .RI "int \fBextrapolate\fP (const \fBRef\fP< \fBSCExtrapData\fP > &data, const \fBRef\fP< \fBSCExtrapError\fP > &error)" .br .ti -1c .RI "void \fBstart_extrapolation\fP ()" .br .ti -1c .RI "void \fBreinitialize\fP ()" .br .ti -1c .RI "void \fBprint\fP (std::ostream &=\fBExEnv::out0\fP()) const" .br .RI "Override \fBDescribedClass::print\fP\&. " .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "void \fBinit\fP ()" .br .in -1c .SS "Protected Attributes" .in +1c .ti -1c .RI "int \fBstart\fP" .br .ti -1c .RI "int \fBndiis\fP" .br .ti -1c .RI "int \fBiter\fP" .br .ti -1c .RI "int \fBngroup\fP" .br .ti -1c .RI "int \fBngroupdiis\fP" .br .ti -1c .RI "double \fBdamping_factor\fP" .br .ti -1c .RI "double * \fBbtemp\fP" .br .ti -1c .RI "double ** \fBbold\fP" .br .ti -1c .RI "double ** \fBbmat\fP" .br .ti -1c .RI "\fBRef\fP< \fBSCExtrapData\fP > \fBdtemp_data\fP" .br .ti -1c .RI "\fBRef\fP< \fBSCExtrapError\fP > \fBdtemp_error\fP" .br .ti -1c .RI "\fBRef\fP< \fBSCExtrapData\fP > \fBLdata\fP" .br .ti -1c .RI "\fBRef\fP< \fBSCExtrapData\fP > * \fBdiism_data\fP" .br .ti -1c .RI "\fBRef\fP< \fBSCExtrapError\fP > * \fBdiism_error\fP" .br .in -1c .SS "Additional Inherited Members" .SH "Detailed Description" .PP The \fBDIIS\fP class provides \fBDIIS\fP extrapolation\&. .SH "Constructor & Destructor Documentation" .PP .SS "sc::DIIS::DIIS (const \fBRef\fP< \fBKeyVal\fP > &)" .PP The \fBDIIS\fP \fBKeyVal\fP constructor recognizes the following keywords: .IP "\fB\fCn\fP\fP" 1c This integer maximum number of data sets to retain\&. The default is 5\&. .PP .IP "\fB\fCstart\fP\fP" 1c The \fBDIIS\fP extrapolation will begin on the iteration given by this integer\&. The default is 1\&. .PP .IP "\fB\fCdamping_factor\fP\fP" 1c This nonnegative floating point number is used to dampen the \fBDIIS\fP extrapolation\&. The default is 0\&.0\&. .PP .IP "\fB\fCngroup\fP\fP" 1c The number of iterations in a \fBDIIS\fP group\&. \fBDIIS\fP extrapolation is only used for the first ngroupdiis of these interations\&. The default is 1\&. If ngroup is 1 and ngroupdiis is greater than 0, then \fBDIIS\fP will be used on all iterations after and including the start iteration\&. .PP .IP "\fB\fCngroupdiis\fP\fP" 1c The number of \fBDIIS\fP extrapolations to do at the beginning of an iteration group\&. See the documentation for ngroup\&. .PP .PP .SH "Member Function Documentation" .PP .SS "void sc::DIIS::save_data_state (\fBStateOut\fP &)\fC [virtual]\fP" .PP Save the base classes (with save_data_state) and the members in the same order that the \fBStateIn\fP CTOR initializes them\&. This must be implemented by the derived class if the class has data\&. .PP Reimplemented from \fBsc::SavableState\fP\&. .SH "Author" .PP Generated automatically by Doxygen for MPQC from the source code\&.