.TH "sc::PsiWavefunction" 3 "Sun Oct 4 2020" "Version 2.3.1" "MPQC" \" -*- nroff -*- .ad l .nh .SH NAME sc::PsiWavefunction \- \fBPsiWavefunction\fP is an abstract base for all Psi wave functions\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBsc::Wavefunction\fP\&. .PP Inherited by \fBsc::PsiCCSD\fP, \fBsc::PsiCCSD_T\fP, and \fBsc::PsiSCF\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBPsiWavefunction\fP (const \fBRef\fP< \fBKeyVal\fP > &)" .br .RI "The \fBKeyVal\fP constructor\&. " .ti -1c .RI "\fBPsiWavefunction\fP (\fBStateIn\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 "virtual void \fBwrite_basic_input\fP (int conv)" .br .RI "Writes out Psi input file entries specific to this \fBPsiWavefunction\fP\&. " .ti -1c .RI "void \fBcompute\fP ()" .br .RI "Recompute at least the results that have compute true and are not already computed\&. " .ti -1c .RI "void \fBprint\fP (std::ostream &o=\fBExEnv::out0\fP()) const" .br .RI "Print information about the object\&. " .ti -1c .RI "\fBRefSymmSCMatrix\fP \fBdensity\fP ()" .br .RI "Returns the \fBSO\fP density\&. " .ti -1c .RI "int \fBnelectron\fP ()" .br .RI "Returns the number of electrons\&. " .ti -1c .RI "\fBRef\fP< \fBPsiExEnv\fP > \fBget_psi_exenv\fP () const" .br .RI "Return an associated \fBPsiExEnv\fP object\&. " .ti -1c .RI "\fBRef\fP< \fBPsiInput\fP > \fBget_psi_input\fP () const" .br .RI "Return an associated \fBPsiInput\fP object\&. " .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "virtual void \fBwrite_input\fP (int conv)=0" .br .RI "Prepares a complete Psi input file\&. The input file is assumed to have been opened\&. " .in -1c .SS "Protected Attributes" .in +1c .ti -1c .RI "int \fBnirrep_\fP" .br .ti -1c .RI "int * \fBdocc_\fP" .br .ti -1c .RI "int * \fBsocc_\fP" .br .ti -1c .RI "int * \fBfrozen_docc_\fP" .br .ti -1c .RI "int * \fBfrozen_uocc_\fP" .br .ti -1c .RI "int \fBmultp_\fP" .br .ti -1c .RI "int \fBcharge_\fP" .br .ti -1c .RI "char * \fBmemory_\fP" .br .in -1c .SS "Additional Inherited Members" .SH "Detailed Description" .PP \fBPsiWavefunction\fP is an abstract base for all Psi wave functions\&. Its \fBKeyVal\fP constructor is invoked by all \fBKeyVal\fP constructors of concrete implementations of \fBPsiWavefunction\fP\&. .SH "Constructor & Destructor Documentation" .PP .SS "sc::PsiWavefunction::PsiWavefunction (const \fBRef\fP< \fBKeyVal\fP > &)" .PP The \fBKeyVal\fP constructor\&. .IP "\fB\fCpsienv\fP\fP" 1c Specifies a \fBPsiExEnv\fP object\&. There is no default\&. .PP .IP "\fB\fCmemory\fP\fP" 1c This integer specifies the amount of memory (in bytes) for Psi to use\&. The default is 2000000\&. .PP .IP "\fB\fCdebug\fP\fP" 1c This integer can be used to produce output for debugging\&. The default is 0\&. .PP .PP .SH "Member Function Documentation" .PP .SS "void sc::PsiWavefunction::compute ()\fC [virtual]\fP" .PP Recompute at least the results that have compute true and are not already computed\&. This should only be called by \fBResult\fP's members\&. .PP Implements \fBsc::Compute\fP\&. .SS "void sc::PsiWavefunction::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\&. .PP Reimplemented in \fBsc::PsiCCSD_T\fP, \fBsc::PsiCCSD\fP, and \fBsc::PsiSCF\fP\&. .SS "virtual void sc::PsiWavefunction::write_basic_input (int conv)\fC [virtual]\fP" .PP Writes out Psi input file entries specific to this \fBPsiWavefunction\fP\&. The input file is assumed to have been opened\&. .PP Reimplemented in \fBsc::PsiUHF\fP, \fBsc::PsiHSOSHF\fP, and \fBsc::PsiCLHF\fP\&. .SH "Author" .PP Generated automatically by Doxygen for MPQC from the source code\&.