.TH "sc::CLSCF" 3 "Sun Oct 4 2020" "Version 2.3.1" "MPQC" \" -*- nroff -*- .ad l .nh .SH NAME sc::CLSCF \- The \fBCLSCF\fP class is a base for classes implementing a self-consistent procedure for closed-shell molecules\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBsc::SCF\fP\&. .PP Inherited by \fBsc::CLHF\fP, and \fBsc::CLKS\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBCLSCF\fP (\fBStateIn\fP &)" .br .ti -1c .RI "\fBCLSCF\fP (const \fBRef\fP< \fBKeyVal\fP > &)" .br .RI "The \fBKeyVal\fP constructor: " .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 "void \fBprint\fP (std::ostream &o=\fBExEnv::out0\fP()) const" .br .RI "Print information about the object\&. " .ti -1c .RI "double \fBoccupation\fP (int irrep, int vectornum)" .br .RI "Returns the occupation\&. " .ti -1c .RI "int \fBn_fock_matrices\fP () const" .br .ti -1c .RI "\fBRefSymmSCMatrix\fP \fBfock\fP (int i)" .br .RI "Returns closed-shell Fock matrix in AO basis (excluding XC contribution in KS DFT)\&. " .ti -1c .RI "\fBRefSymmSCMatrix\fP \fBeffective_fock\fP ()" .br .RI "Returns closed-shell Fock matrix in MO basis (including XC contribution for KS DFT)\&. " .ti -1c .RI "\fBRefSymmSCMatrix\fP \fBdensity\fP ()" .br .RI "Returns the \fBSO\fP density\&. " .ti -1c .RI "void \fBsymmetry_changed\fP ()" .br .RI "Call this if you have changed the molecular symmetry of the molecule contained by this \fBMolecularEnergy\fP\&. " .ti -1c .RI "int \fBspin_polarized\fP ()" .br .RI "Return 1 if the alpha density is not equal to the beta density\&. " .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "void \fBset_occupations\fP (const \fBRefDiagSCMatrix\fP &evals)" .br .ti -1c .RI "void \fBinit_vector\fP ()" .br .ti -1c .RI "void \fBdone_vector\fP ()" .br .ti -1c .RI "void \fBreset_density\fP ()" .br .ti -1c .RI "double \fBnew_density\fP ()" .br .ti -1c .RI "double \fBscf_energy\fP ()" .br .ti -1c .RI "\fBRef\fP< \fBSCExtrapData\fP > \fBextrap_data\fP ()" .br .ti -1c .RI "void \fBinit_gradient\fP ()" .br .ti -1c .RI "void \fBdone_gradient\fP ()" .br .ti -1c .RI "\fBRefSymmSCMatrix\fP \fBlagrangian\fP ()" .br .ti -1c .RI "\fBRefSymmSCMatrix\fP \fBgradient_density\fP ()" .br .ti -1c .RI "void \fBinit_hessian\fP ()" .br .ti -1c .RI "void \fBdone_hessian\fP ()" .br .ti -1c .RI "void \fBtwo_body_deriv_hf\fP (double *grad, double exchange_fraction)" .br .in -1c .SS "Protected Attributes" .in +1c .ti -1c .RI "\fBRef\fP< \fBPointGroup\fP > \fBmost_recent_pg_\fP" .br .ti -1c .RI "int \fBuser_occupations_\fP" .br .ti -1c .RI "int \fBtndocc_\fP" .br .ti -1c .RI "int \fBnirrep_\fP" .br .ti -1c .RI "int * \fBinitial_ndocc_\fP" .br .ti -1c .RI "int * \fBndocc_\fP" .br .ti -1c .RI "\fBResultRefSymmSCMatrix\fP \fBcl_fock_\fP" .br .ti -1c .RI "\fBRefSymmSCMatrix\fP \fBcl_dens_\fP" .br .ti -1c .RI "\fBRefSymmSCMatrix\fP \fBcl_dens_diff_\fP" .br .ti -1c .RI "\fBRefSymmSCMatrix\fP \fBcl_gmat_\fP" .br .in -1c .SS "Additional Inherited Members" .SH "Detailed Description" .PP The \fBCLSCF\fP class is a base for classes implementing a self-consistent procedure for closed-shell molecules\&. .SH "Constructor & Destructor Documentation" .PP .SS "sc::CLSCF::CLSCF (const \fBRef\fP< \fBKeyVal\fP > &)" .PP The \fBKeyVal\fP constructor: .IP "\fB\fCtotal_charge\fP\fP" 1c This floating point number gives the total charge of the molecule\&. The default is 0\&. .PP .IP "\fB\fCdocc\fP\fP" 1c This vector of integers gives the total number of doubly occupied orbitals of each irreducible representation\&. By default, this will be chosen to make the molecule uncharged and the electrons will be distributed among the irreducible representations according to the orbital energies\&. .PP .PP .SH "Member Function Documentation" .PP .SS "\fBRefSymmSCMatrix\fP sc::CLSCF::fock (int i)\fC [virtual]\fP" .PP Returns closed-shell Fock matrix in AO basis (excluding XC contribution in KS DFT)\&. Use \fBeffective_fock()\fP if you want the full KS Fock matrix\&. Argument i must be 0\&. .PP Implements \fBsc::SCF\fP\&. .SS "double sc::CLSCF::occupation (int irrep, int vectornum)\fC [virtual]\fP" .PP Returns the occupation\&. The irreducible representation and the vector number within that representation are given as arguments\&. .PP Implements \fBsc::OneBodyWavefunction\fP\&. .SS "void sc::CLSCF::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::MolecularEnergy\fP\&. .SH "Author" .PP Generated automatically by Doxygen for MPQC from the source code\&.