.TH "sc::MP2R12Energy" 3 "Sun Oct 4 2020" "Version 2.3.1" "MPQC" \" -*- nroff -*- .ad l .nh .SH NAME sc::MP2R12Energy \- Class \fBMP2R12Energy\fP is the object that computes and maintains MP2-R12 energies\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBsc::SavableState\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBMP2R12Energy\fP (\fBStateIn\fP &)" .br .ti -1c .RI "\fBMP2R12Energy\fP (\fBRef\fP< \fBR12IntEval\fP > &r12eval, LinearR12::StandardApproximation stdapp, int debug)" .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 "void \fBobsolete\fP ()" .br .ti -1c .RI "void \fBprint\fP (std::ostream &o=\fBExEnv::out0\fP()) const" .br .RI "Print the object\&. " .ti -1c .RI "void \fBprint_pair_energies\fP (bool spinadapted, std::ostream &so=\fBExEnv::out0\fP())" .br .ti -1c .RI "\fBRef\fP< \fBR12IntEval\fP > \fBr12eval\fP () const" .br .ti -1c .RI "LinearR12::StandardApproximation \fBstdapp\fP () const" .br .ti -1c .RI "bool \fBgbc\fP () const" .br .RI "Returns whether Generalized Brillouin Condition (GBC) was used in evaluation of the MP2-R12 intermediates\&. " .ti -1c .RI "bool \fBebc\fP () const" .br .RI "Returns whether Extended Brillouin Condition (EBC) was used in evaluation of the MP2-R12 intermediates and the MP2-R12 energy\&. " .ti -1c .RI "void \fBset_debug\fP (int debug)" .br .ti -1c .RI "int \fBget_debug\fP () const" .br .ti -1c .RI "\fBRefSCDimension\fP \fBdim_aa\fP () const" .br .ti -1c .RI "\fBRefSCDimension\fP \fBdim_ab\fP () const" .br .ti -1c .RI "\fBRefSCDimension\fP \fBdim_s\fP () const" .br .ti -1c .RI "\fBRefSCDimension\fP \fBdim_t\fP () const" .br .ti -1c .RI "void \fBcompute\fP ()" .br .RI "Computes the first-order R12 wave function and MP2-R12 energy\&. " .ti -1c .RI "double \fBcompute_pair_function_aa\fP (int ij, const \fBSCVector3\fP &r1, const \fBSCVector3\fP &r2)" .br .RI "Computes the value of the alpha-alpha pair function ij when electrons 1 and 2 reside at r1 and r2\&. " .ti -1c .RI "double \fBcompute_pair_function_ab\fP (int ij, const \fBSCVector3\fP &r1, const \fBSCVector3\fP &r2)" .br .RI "Computes the value of the alpha-beta pair function ij when electrons 1 and 2 reside at r1 and r2\&. " .ti -1c .RI "void \fBcompute_pair_function_aa\fP (int ij, const \fBRef\fP< \fBTwoBodyGrid\fP > &tbgrid)" .br .RI "Computes values of the alpha-alpha pair function ij on tbgrid\&. " .ti -1c .RI "void \fBcompute_pair_function_ab\fP (int ij, const \fBRef\fP< \fBTwoBodyGrid\fP > &tbgrid)" .br .RI "Computes values of the alpha-beta pair function ij on tbgrid\&. " .ti -1c .RI "\fBRefSCVector\fP \fBemp2_aa\fP () const" .br .RI "Returns the vector of MP2 alpha-alpha pair energies\&. " .ti -1c .RI "\fBRefSCVector\fP \fBemp2_ab\fP () const" .br .RI "Returns the vector of MP2 alpha-beta pair energies\&. " .ti -1c .RI "\fBRefSCVector\fP \fBer12_aa\fP () const" .br .RI "Returns the vector of R12 corrections to MP2-R12 alpha-alpha pair energies\&. " .ti -1c .RI "\fBRefSCVector\fP \fBer12_ab\fP () const" .br .RI "Returns the vector of R12 correction to MP2-R12 alpha-beta pair energies\&. " .ti -1c .RI "\fBRefSCVector\fP \fBemp2r12_aa\fP () const" .br .RI "Returns the vector of MP2-R12 alpha-alpha pair energies\&. " .ti -1c .RI "\fBRefSCVector\fP \fBemp2r12_ab\fP () const" .br .RI "Returns the vector of MP2-R12 alpha-beta pair energies\&. " .ti -1c .RI "double \fBenergy\fP ()" .br .RI "Returns total MP2-R12 correlation energy\&. " .ti -1c .RI "\fBRefSCMatrix\fP \fBC_aa\fP ()" .br .RI "Returns the matrix of amplitudes of alpha-alpha r12-multiplied occupied orbital pairs in the first-order pair function\&. " .ti -1c .RI "\fBRefSCMatrix\fP \fBC_ab\fP ()" .br .RI "Returns the matrix of amplitudes of alpha-beta r12-multiplied occupied orbital pairs in the first-order pair function\&. " .ti -1c .RI "\fBRefSCMatrix\fP \fBT2_aa\fP ()" .br .RI "Returns the matrix of amplitudes of alpha-alpha virtuals orbital pairs in the first-order pair function\&. " .ti -1c .RI "\fBRefSCMatrix\fP \fBT2_ab\fP ()" .br .RI "Returns the matrix of amplitudes of alpha-beta virtuals orbital pairs in the first-order pair function\&. " .in -1c .SS "Additional Inherited Members" .SH "Detailed Description" .PP Class \fBMP2R12Energy\fP is the object that computes and maintains MP2-R12 energies\&. .SH "Member Function Documentation" .PP .SS "void sc::MP2R12Energy::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\&.