28#ifndef _chemistry_qc_mbptr12_vxbevalinfo_h
29#define _chemistry_qc_mbptr12_vxbevalinfo_h
32#include <util/misc/string.h>
33#include <util/ref/ref.h>
34#include <math/scmat/abstract.h>
35#include <util/group/memory.h>
36#include <chemistry/molecule/energy.h>
37#include <chemistry/qc/scf/scf.h>
38#include <chemistry/qc/mbptr12/r12technology.h>
39#include <chemistry/qc/wfn/orbitalspace.h>
40#include <chemistry/qc/lcao/transform_factory.h>
41#include <chemistry/qc/nbody/ref.h>
42#include <chemistry/qc/lcao/moints_runtime.h>
43#include <chemistry/qc/lcao/fockbuild_runtime.h>
51 static const int USE_NEW_ORBITALSPACE_KEYS = 1;
96 Wavefunction* wfn()
const {
return world()->wfn(); }
97 Ref<R12Technology> r12tech()
const {
return r12tech_; }
114 double lindep_tol()
const {
return wfn()->
lindep_tol(); }
115 Ref<Integral> integral()
const {
return world()->integral(); }
151 bool ribs_space_given_;
153 double ref_acc_for_cabs_space_;
158 void construct_ri_basis_(
bool safe);
159 void construct_cabs_();
161 void construct_ortho_comp_svd_();
163 bool abs_spans_obs_();
165 void construct_orthog_aux_();
167 void construct_orthog_ri_();
Ref< DescribedClass > ref()
Return this object wrapped up in a Ref smart pointer.
Definition class.h:251
OrthogMethod
An enum for the types of orthogonalization.
Definition orthog.h:42
Class R12WavefunctionWorld describes the environment of a Wavefunction implementing an R12 method.
Definition r12wfnworld.h:48
bool sdref() const
is this a single-determinant reference?
void obsolete()
Every wavefunction that owns a R12WavefunctionWorld should call this method when it obsoletes itself.
bool obs_eq_ribs() const
Returns true if RIBS is equivalent to OBS.
const Ref< GaussianBasisSet > & basis() const
Returns the orbital basis set (OBS) object.
Definition r12wfnworld.h:99
R12WavefunctionWorld(const Ref< KeyVal > &keyval, const Ref< RefWavefunction > &ref, Ref< OrbitalSpace > ri_space=Ref< OrbitalSpace >())
KeyVal constructor uses keywords of R12Technology and the following keywords:
const Ref< OrbitalSpace > & ribs_space() const
Returns the OrbitalSpace object for RI-BS: approximates the identity.
MOIntsTransform::StoreMethod StoreMethod
Describes the method of storing transformed MO integrals.
Definition r12wfnworld.h:56
bool obs_eq_vbs() const
Returns true if VBS is equivalent to OBS.
Definition r12wfnworld.h:107
const Ref< GaussianBasisSet > & basis_aux() const
Returns the auxiliary basis used for computing the RI basis used in R12.
Definition r12wfnworld.h:103
void print(std::ostream &o) const
Print the object.
bool spinadapted() const
Returns true is spin-free algorithm to be used.
Definition r12wfnworld.h:111
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 > & abs_space() const
Returns the OrbitalSpace object for ABS.
Definition r12wfnworld.h:120
const Ref< GaussianBasisSet > & basis_ri() const
Returns the resolution-of-the-identity basis set (RIBS) object.
Definition r12wfnworld.h:101
void initialize()
makes R12WavefunctionWorld ready for use
const Ref< GaussianBasisSet > & basis_vir() const
Returns the virtuals basis set (VBS) object.
Definition r12wfnworld.h:105
const Ref< RefWavefunction > & refwfn() const
Return the RefWavefunction object.
Definition r12wfnworld.h:92
void refwfn(const Ref< RefWavefunction > &r)
Resets the RefWavefunction object.
Definition r12wfnworld.h:94
const Ref< OrbitalSpace > & cabs_space(const SpinCase1 &S) const
Returns subspace of ribs_space that is the complement to OBS. If abs_method = ABS/ABS+,...
A template class that maintains references counts.
Definition ref.h:361
Base class for objects that can save/restore state.
Definition state.h:45
Restores fundamental and user-defined types from images created with StateOut.
Definition statein.h:79
Serializes fundamental and user-defined types.
Definition stateout.h:71
double lindep_tol() const
Returns the tolerance for linear dependencies.
OverlapOrthog::OrthogMethod orthog_method() const
Returns the orthogonalization method.
Contains all MPQC code up to version 3.
Definition mpqcin.h:14