28 #ifndef _chemistry_qc_psi_psicc_h
29 #define _chemistry_qc_psi_psicc_h
31 #include <chemistry/qc/psi/psiwfn.h>
32 #include <chemistry/qc/wfn/spin.h>
33 #include <math/distarray4/distarray4.h>
56 static const bool use_sparsemap_only_ =
false;
67 RefSCMatrix T1_fzc(SpinCase1 spin,
const std::string& dpdlabel);
71 const std::string& dpdlabel);
86 const SparseMOIndexMap& occ_act_map,
87 const SparseMOIndexMap& vir_act_map,
93 const SparseMOIndexMap& occ1_act_map,
94 const SparseMOIndexMap& occ2_act_map,
95 const SparseMOIndexMap& vir1_act_map,
96 const SparseMOIndexMap& vir2_act_map,
118 unsigned int no1,
unsigned int no2,
unsigned int nv1,
119 unsigned int nv2,
double zero = 1e-8)
const;
135 static const int default_maxiter = 50;
PsiCCSD is a concrete implementation of Psi CCSD wave function.
Definition: psicc.h:168
RefSCMatrix T1(SpinCase1 spin, const std::string &L)
read in T1-like quantity of spincase spin using DPD label L
The RefSCMatrix class is a smart pointer to an SCMatrix specialization.
Definition: matrix.h:135
A template class that maintains references counts.
Definition: ref.h:361
virtual Ref< DistArray4 > Lambda2_da4(SpinCase2 spin2)
return T amplitudes of rank 2. The amplitudes are expressed in terms of Psi3 orbitals (symmetry-block...
virtual const RefSCMatrix & Lambda2(SpinCase2 spin2)
return Lambda amplitudes of rank 2
virtual const RefSCMatrix & Lambda1(SpinCase1 spin1)
return Lambda amplitudes of rank 1
void dpd_stop()
stop Psi3 DPD library
RefSCMatrix T2(SpinCase2 spin, const std::string &L)
read in T2-like quantity of spincase spin using DPD label L
void save_data_state(StateOut &)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR ...
void write_input(int conv)
Prepares a complete Psi input file. The input file is assumed to have been opened.
void save_data_state(StateOut &)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR ...
const Ref< OrbitalSpace > & vir_act_sb(SpinCase1 spin)
return active virtual orbital space (symmetry-blocked)
void save_data_state(StateOut &)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR ...
void dpd_start()
initialize Psi3 DPD library
void save_data_state(StateOut &)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR ...
PsiCCSD_T is a concrete implementation of Psi CCSD(T) wave function.
Definition: psicc.h:185
void write_input(int conv)
Prepares a complete Psi input file. The input file is assumed to have been opened.
PsiCC2 is a concrete implementation of Psi ground-state CC2 wave function.
Definition: psicc.h:198
static SCMatrixKit * default_matrixkit()
This returns the default matrix kit.
void write_input(int conv)
Prepares a complete Psi input file. The input file is assumed to have been opened.
void obsolete()
Marks all results as being out of date.
Definition: stateout.h:71
void compare_T2(const RefSCMatrix &T2, const RefSCMatrix &T2_ref, SpinCase2 spin12, unsigned int no1, unsigned int no2, unsigned int nv1, unsigned int nv2, double zero=1e-8) const
compare T2 and T2_ref (check that elements < zero are in the same place and elements > soft_zero have...
bool analytic_gradient_implemented() const
must overload this in a derived class if analytic gradient can be computed
const Ref< OrbitalSpace > & occ_act_sb(SpinCase1 spin)
return active occupied orbital space (symmetry-blocked)
Ref< DistArray4 > T2_distarray4(SpinCase2 spin, const std::string &L)
read in T2-like quantity of spincase spin using DPD label L
void write_input(int conv)
Prepares a complete Psi input file. The input file is assumed to have been opened.
PsiCC3 is a concrete implementation of Psi ground-state CC3 wave function.
Definition: psicc.h:212
PsiCorrWavefunction is a Psi correlated wave function.
Definition: psiwfn.h:140
PsiCC is a Psi coupled cluster wave function.
Definition: psicc.h:40
void save_data_state(StateOut &)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR ...
const Ref< OrbitalSpace > & occ_sb(SpinCase1 spin)
return occupied orbital space (symmetry-blocked)
virtual Ref< DistArray4 > T2_da4(SpinCase2 spin2, std::string dpdkey="t")
return T amplitudes of rank 2.
Contains all MPQC code up to version 3.
Definition: mpqcin.h:14
virtual const RefSCMatrix & Tau2(SpinCase2 spin2)
return Tau2 amplitudes. The amplitudes are expressed in terms of Psi3 orbitals (symmetry-blocked).
Generated at Sun Jan 26 2020 23:23:59 for MPQC
3.0.0-alpha using the documentation package Doxygen
1.8.16.