.TH "sc::HSOSSCF" 3 "Sun Oct 4 2020" "Version 2.3.1" "MPQC" \" -*- nroff -*- .ad l .nh .SH NAME sc::HSOSSCF \- The \fBHSOSSCF\fP class is a base for classes implementing a self-consistent procedure for high-spin open-shell molecules\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBsc::SCF\fP\&. .PP Inherited by \fBsc::HSOSHF\fP, and \fBsc::HSOSKS\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBHSOSSCF\fP (\fBStateIn\fP &)" .br .ti -1c .RI "\fBHSOSSCF\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 "double \fBalpha_occupation\fP (int irrep, int vectornum)" .br .RI "Returns the alpha occupation\&. " .ti -1c .RI "double \fBbeta_occupation\fP (int irrep, int vectornum)" .br .RI "Returns the beta 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 (i==0) or open-shell (i==1) Fock matrix in AO basis (excluding XC contribution in KS DFT)\&. " .ti -1c .RI "\fBRefSymmSCMatrix\fP \fBeffective_fock\fP ()" .br .RI "Returns effective Fock matrix in MO basis (including XC contribution for KS DFT)\&. " .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\&. " .ti -1c .RI "\fBRefSymmSCMatrix\fP \fBdensity\fP ()" .br .RI "Returns the \fBSO\fP density\&. " .ti -1c .RI "\fBRefSymmSCMatrix\fP \fBalpha_density\fP ()" .br .RI "Return alpha electron densities in the \fBSO\fP basis\&. " .ti -1c .RI "\fBRefSymmSCMatrix\fP \fBbeta_density\fP ()" .br .RI "Return beta electron densities in the \fBSO\fP basis\&. " .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 \fBtnsocc_\fP" .br .ti -1c .RI "int \fBnirrep_\fP" .br .ti -1c .RI "int * \fBinitial_ndocc_\fP" .br .ti -1c .RI "int * \fBinitial_nsocc_\fP" .br .ti -1c .RI "int * \fBndocc_\fP" .br .ti -1c .RI "int * \fBnsocc_\fP" .br .ti -1c .RI "\fBResultRefSymmSCMatrix\fP \fBcl_fock_\fP" .br .ti -1c .RI "\fBResultRefSymmSCMatrix\fP \fBop_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 .ti -1c .RI "\fBRefSymmSCMatrix\fP \fBop_dens_\fP" .br .ti -1c .RI "\fBRefSymmSCMatrix\fP \fBop_dens_diff_\fP" .br .ti -1c .RI "\fBRefSymmSCMatrix\fP \fBop_gmat_\fP" .br .ti -1c .RI "\fBRefSymmSCMatrix\fP \fBcl_hcore_\fP" .br .in -1c .SS "Additional Inherited Members" .SH "Detailed Description" .PP The \fBHSOSSCF\fP class is a base for classes implementing a self-consistent procedure for high-spin open-shell molecules\&. .SH "Constructor & Destructor Documentation" .PP .SS "sc::HSOSSCF::HSOSSCF (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, $c$, of the molecule\&. The default is 0\&. .PP .IP "\fB\fCnsocc\fP\fP" 1c This integer gives the total number of singly occupied orbitals, $n_\mathrm{socc}$\&. If this is not given, then multiplicity will be read\&. .PP .IP "\fB\fCmultiplicity\fP\fP" 1c This integer gives the multiplicity, $m$, of the molecule\&. The number of singly occupied orbitals is then $n_\mathrm{socc} = m - 1$\&. If neither nsocc nor multiplicity is given, then if, in consideration of total_charge, the number of electrons is even, the default $n_\mathrm{socc}$ is 2\&. Otherwise, it is 1\&. .PP .IP "\fB\fCndocc\fP\fP" 1c This integer gives the total number of doubly occupied orbitals $n_\mathrm{docc}$\&. The default $n_\mathrm{docc} = (c - n_\mathrm{socc})/2$\&. .PP .IP "\fB\fCsocc\fP\fP" 1c This vector of integers gives the total number of singly occupied orbitals of each irreducible representation\&. By default, the $n_\mathrm{socc}$ singly occupied orbitals will be distributed according to orbital eigenvalues\&. If socc is given, then docc must be given and they override nsocc, multiplicity, ndocc, and total_charge\&. .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, the $n_\mathrm{docc}$ singly occupied orbitals will be distributed according to orbital eigenvalues\&. If docc is given, then socc must be given and they override nsocc, multiplicity, ndocc, and total_charge\&. .PP .IP "\fB\fCmaxiter\fP\fP" 1c This has the same meaning as in the parent class, \fBSCF\fP; however, the default value is 100\&. .PP .IP "\fB\fClevel_shift\fP\fP" 1c This has the same meaning as in the parent class, \fBSCF\fP; however, the default value is 1\&.0\&. .PP .PP .SH "Member Function Documentation" .PP .SS "double sc::HSOSSCF::alpha_occupation (int irrep, int vectornum)\fC [virtual]\fP" .PP Returns the alpha occupation\&. The irreducible representation and the vector number within that representation are given as arguments\&. .PP Reimplemented from \fBsc::OneBodyWavefunction\fP\&. .SS "double sc::HSOSSCF::beta_occupation (int irrep, int vectornum)\fC [virtual]\fP" .PP Returns the beta occupation\&. The irreducible representation and the vector number within that representation are given as arguments\&. .PP Reimplemented from \fBsc::OneBodyWavefunction\fP\&. .SS "\fBRefSymmSCMatrix\fP sc::HSOSSCF::fock (int i)\fC [virtual]\fP" .PP Returns closed-shell (i==0) or open-shell (i==1) Fock matrix in AO basis (excluding XC contribution in KS DFT)\&. Use \fBeffective_fock()\fP if you want the full KS Fock matrix\&. .PP Implements \fBsc::SCF\fP\&. .SS "double sc::HSOSSCF::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::HSOSSCF::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\&.