28#ifndef _mpqc_src_lib_chemistry_qc_lcao_wfnworld_h
29#define _mpqc_src_lib_chemistry_qc_lcao_wfnworld_h
31#include <chemistry/qc/wfn/wfn.h>
32#include <chemistry/qc/lcao/moints_runtime.h>
33#include <chemistry/qc/lcao/fockbuild_runtime.h>
41#ifdef MPQC_NEW_FEATURES
47 static const int USE_NEW_ORBITALSPACE_KEYS = 1;
138#ifdef MPQC_NEW_FEATURES
139 virtual boost::property_tree::ptree& write_xml(boost::property_tree::ptree& parent,
const XMLWriter& writer);
155 void ints_method(
const StoreMethod::type method) { ints_method_ = method; };
158 void ints_file(
const std::string& filename) { ints_file_ = filename; };
161 void set_wfn(Wavefunction* w);
163 bool df()
const {
return df_; }
164 const Ref<GaussianBasisSet>& basis_df()
const {
return bs_df_; };
166 const Ref<MemoryGrp>& mem()
const {
return mem_;};
167 const Ref<MessageGrp>& msg()
const {
return msg_;};
168 const Ref<ThreadGrp>& thr()
const {
return thr_;};
169 Ref<Integral> integral()
const {
return wfn()->
integral(); }
171 bool dynamic()
const {
return dynamic_; };
174 StoreMethod::type
ints_method()
const {
return ints_method_; };
176 double ints_precision()
const {
return ints_precision_; }
191 void initialize_ao_spaces();
195#ifdef MPQC_NEW_FEATURES
196 void xml_data_local(
bool do_integrals, boost::property_tree::ptree& pt,
const XMLWriter& writer);
197 void xml_data_nonlocal(
bool do_integrals, boost::property_tree::ptree& pt,
const XMLWriter& writer);
204 std::string df_kernel_;
207 std::string df_solver_;
211#ifdef MPQC_NEW_FEATURES
218 std::vector<_XMLOutputData> out_data_;
222 double print_percent_;
224 StoreMethod::type ints_method_;
225 std::string ints_file_;
226 double ints_precision_;
228 bool df_local_coulomb_;
229 bool df_local_exchange_;
243 static std::pair<TwoBodyOperSet::type, Ref<IntParams> > init_df_kernel(std::string kernel_key);
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
Class WavefunctionWorld describes the environment of a Wavefunction.
Definition wfnworld.h:44
void debug_level(int debug)
Set debug level. Default is 0.
Definition wfnworld.h:152
void ints_file(const std::string &filename)
Sets name of the file used to store transformed integrals.
Definition wfnworld.h:158
const Ref< MOIntsTransformFactory > & tfactory() const
Returns the MOIntsTransformFactory object.
Definition wfnworld.h:179
const Ref< FockBuildRuntime > & fockbuild_runtime() const
Returns the FockBuildRuntime object that can build Fock matrices.
Definition wfnworld.h:185
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 print_percent(double print_percent)
Sets how frequently updates of progress are printed out. Default is 10%.
Definition wfnworld.h:150
void print(std::ostream &o) const
Print the object.
MOIntsTransform::StoreMethod StoreMethod
Describes the method of storing transformed MO integrals.
Definition wfnworld.h:52
void ints_method(const StoreMethod::type method)
Sets the method of storing transformed MO integrals.
Definition wfnworld.h:155
WavefunctionWorld(const Ref< KeyVal > &keyval)
KeyVal constructor uses the following keywords.
const Ref< MOIntsRuntime > & moints_runtime() const
Returns the MOIntsRuntime object.
Definition wfnworld.h:181
void obsolete()
obsoletes this object every wavefunction that owns a WavefunctionWorld must call this method when it'...
void dynamic(bool dynamic)
Sets whether to use dynamic load balancing in parallel MO transformations.
Definition wfnworld.h:148
A Wavefunction is a MolecularEnergy that utilizies a GaussianBasisSet.
Definition wfn.h:52
Ref< Integral > integral()
Returns the integral evaluator.
Definition xmlwriter.h:223
Contains all MPQC code up to version 3.
Definition mpqcin.h:14
type
Definition operator.h:344