.TH "sc::UnrestrictedSCF" 3 "Sun Oct 4 2020" "Version 2.3.1" "MPQC" \" -*- nroff -*- .ad l .nh .SH NAME sc::UnrestrictedSCF \- A base class for unrestricted self-consistent-field methods\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBsc::SCF\fP\&. .PP Inherited by \fBsc::UHF\fP, and \fBsc::UKS\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBUnrestrictedSCF\fP (\fBStateIn\fP &)" .br .ti -1c .RI "\fBUnrestrictedSCF\fP (const \fBRef\fP< \fBKeyVal\fP > &)" .br .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 "\fBRefSCMatrix\fP \fBeigenvectors\fP ()" .br .ti -1c .RI "\fBRefDiagSCMatrix\fP \fBeigenvalues\fP ()" .br .RI "Returns the MO basis eigenvalues\&. " .ti -1c .RI "\fBRefSCMatrix\fP \fBoso_alpha_eigenvectors\fP ()" .br .ti -1c .RI "\fBRefSCMatrix\fP \fBalpha_eigenvectors\fP ()" .br .ti -1c .RI "\fBRefDiagSCMatrix\fP \fBalpha_eigenvalues\fP ()" .br .ti -1c .RI "\fBRefSCMatrix\fP \fBoso_beta_eigenvectors\fP ()" .br .ti -1c .RI "\fBRefSCMatrix\fP \fBbeta_eigenvectors\fP ()" .br .ti -1c .RI "\fBRefDiagSCMatrix\fP \fBbeta_eigenvalues\fP ()" .br .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\&. " .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 "double \fBoccupation\fP (int, int)" .br .RI "Returns the occupation\&. " .ti -1c .RI "double \fBalpha_occupation\fP (int, int)" .br .RI "Returns the alpha occupation\&. " .ti -1c .RI "double \fBbeta_occupation\fP (int, int)" .br .RI "Returns the beta occupation\&. " .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 "int \fBspin_unrestricted\fP ()" .br .RI "Return 1 if the alpha orbitals are not equal to the beta orbitals\&. " .ti -1c .RI "void \fBprint\fP (std::ostream &o=\fBExEnv::out0\fP()) const" .br .RI "Print information about the object\&. " .ti -1c .RI "int \fBn_fock_matrices\fP () const" .br .ti -1c .RI "\fBRefSymmSCMatrix\fP \fBfock\fP (int i)" .br .RI "Returns alpha (i==0) or beta (i==1) Fock matrix in AO basis (including XC contribution in KS DFT -- compare this to \fBCLSCF\fP and HSOSSCF!)\&. " .ti -1c .RI "\fBRefSymmSCMatrix\fP \fBeffective_fock\fP ()" .br .RI "Spin-unrestricted \fBSCF\fP methods do not define effective Fock matrix, thus this function should never be called\&. " .ti -1c .RI "void \fBset_desired_value_accuracy\fP (double eps)" .br .RI "Overload of \fBFunction::set_desired_value_accuracy()\fP\&. " .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "\fBRef\fP< \fBSCExtrapError\fP > \fBextrap_error\fP ()" .br .ti -1c .RI "double \fBcompute_vector\fP (double &, double enuclear)" .br .ti -1c .RI "void \fBinitial_vector\fP (int needv=1)" .br .ti -1c .RI "void \fBset_occupations\fP (const \fBRefDiagSCMatrix\fP &)" .br .ti -1c .RI "void \fBset_occupations\fP (const \fBRefDiagSCMatrix\fP &, const \fBRefDiagSCMatrix\fP &)" .br .ti -1c .RI "void \fBinit_vector\fP ()" .br .ti -1c .RI "void \fBdone_vector\fP ()" .br .ti -1c .RI "double \fBnew_density\fP ()" .br .ti -1c .RI "void \fBreset_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 \fBtnalpha_\fP" .br .ti -1c .RI "int \fBtnbeta_\fP" .br .ti -1c .RI "int \fBnirrep_\fP" .br .ti -1c .RI "int * \fBnalpha_\fP" .br .ti -1c .RI "int * \fBnbeta_\fP" .br .ti -1c .RI "int * \fBinitial_nalpha_\fP" .br .ti -1c .RI "int * \fBinitial_nbeta_\fP" .br .ti -1c .RI "\fBAccResultRefSCMatrix\fP \fBoso_eigenvectors_beta_\fP" .br .ti -1c .RI "\fBAccResultRefDiagSCMatrix\fP \fBeigenvalues_beta_\fP" .br .ti -1c .RI "\fBResultRefSymmSCMatrix\fP \fBfocka_\fP" .br .ti -1c .RI "\fBResultRefSymmSCMatrix\fP \fBfockb_\fP" .br .ti -1c .RI "\fBRef\fP< \fBTwoBodyInt\fP > \fBtbi_\fP" .br .ti -1c .RI "\fBRefSymmSCMatrix\fP \fBdensa_\fP" .br .ti -1c .RI "\fBRefSymmSCMatrix\fP \fBdensb_\fP" .br .ti -1c .RI "\fBRefSymmSCMatrix\fP \fBgmata_\fP" .br .ti -1c .RI "\fBRefSymmSCMatrix\fP \fBgmatb_\fP" .br .ti -1c .RI "\fBRefSymmSCMatrix\fP \fBdiff_densa_\fP" .br .ti -1c .RI "\fBRefSymmSCMatrix\fP \fBdiff_densb_\fP" .br .in -1c .SS "Additional Inherited Members" .SH "Detailed Description" .PP A base class for unrestricted self-consistent-field methods\&. .SH "Member Function Documentation" .PP .SS "double sc::UnrestrictedSCF::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::UnrestrictedSCF::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::UnrestrictedSCF::fock (int i)\fC [virtual]\fP" .PP Returns alpha (i==0) or beta (i==1) Fock matrix in AO basis (including XC contribution in KS DFT -- compare this to \fBCLSCF\fP and HSOSSCF!)\&. Argument i must be 0\&. .PP Implements \fBsc::SCF\fP\&. .SS "double sc::UnrestrictedSCF::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::UnrestrictedSCF::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::SCF\fP\&. .SS "void sc::UnrestrictedSCF::set_desired_value_accuracy (double eps)\fC [virtual]\fP" .PP Overload of \fBFunction::set_desired_value_accuracy()\fP\&. Must update accuracy of the eigenvalues and eigenvectors\&. .PP Reimplemented from \fBsc::Function\fP\&. .SH "Author" .PP Generated automatically by Doxygen for MPQC from the source code\&.